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
Upload diffusion_pytorch_model.safetensors
Browse filesfrom https://huggingface.co/Efficient-Large-Model/Sana_1600M_1024px_BF16 converted using https://github.com/huggingface/diffusers/blob/f0aa9b9dc333e7d943f24b37dee5a34b2977e0da/scripts/convert_sana_to_diffusers.py
transformer/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:521e092127954d695f55d89ad57177fd621f7cf878334fd5b5bedaadd3cfe2c2
|
| 3 |
+
size 3208971552
|