Instructions to use deAPI-ai/sana16b1024 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use deAPI-ai/sana16b1024 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("deAPI-ai/sana16b1024", 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
File size: 133 Bytes
be9b2d4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:92a4cfae35c3ce9489bbf9e7a7863334db333e7b3008bf74265617178b93abdd
size 34363138
|