Instructions to use DiffusersVersionsOfModels/sana-1.6b-1024px with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DiffusersVersionsOfModels/sana-1.6b-1024px with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DiffusersVersionsOfModels/sana-1.6b-1024px", 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
Commit History
-
Upload diffusion_pytorch_model.safetensors
Verified signaturefrom https://huggingface.co/Efficient-Large-Model/Sana_1600M_1024px_BF16 converted using https://github.com/huggingface/diffusers/blob/f0aa9b9dc333e7d943f24b37dee5a34b2977e0da/scripts/convert_sana_to_diffusers.py19ab6e7
-
Upload folder using huggingface_hub
Verified signatureb3a84ea -
initial commit
Verified signaturef7b7b95