Instructions to use samwell/sam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use samwell/sam with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("samwell/sam", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
- Xet hash:
- 93fc4a1afe830b56ff70fc8f5375b7aa73752fb37a77d14f2128246e41d1aca3
- Size of remote file:
- 2.13 GB
- SHA256:
- 596c433a99330892b3cb949c667f91ddbeee2d9fbad83f8576ff8d9a25943994
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.