Instructions to use Efficient-Large-Model/Sana_600M_512px_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use Efficient-Large-Model/Sana_600M_512px_diffusers with Sana:
# Load the model and infer image from text import torch from app.sana_pipeline import SanaPipeline from torchvision.utils import save_image sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml") sana.from_pretrained("hf://Efficient-Large-Model/Sana_600M_512px_diffusers") image = sana( prompt='a cyberpunk cat with a neon sign that says "Sana"', height=1024, width=1024, guidance_scale=5.0, pag_guidance_scale=2.0, num_inference_steps=18, ) - Notebooks
- Google Colab
- Kaggle
Download vae/diffusion_pytorch_model.safetensors from Efficient-Large-Model/Sana_600M_512px_diffusers: direct link, hf CLI and curl.
- Browser
- Download file 1.25 GB
-
https://huggingface.co/Efficient-Large-Model/Sana_600M_512px_diffusers/resolve/main/vae/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://Efficient-Large-Model/Sana_600M_512px_diffusers/vae/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/Efficient-Large-Model/Sana_600M_512px_diffusers/resolve/main/vae/diffusion_pytorch_model.safetensors
1.25 GB
- Xet hash:
- 3d2db5fb21fb6e1b1f47f488f0057ec54ed79efd1cd2937d35aaea8785f9411c
- Size of remote file:
- 1.25 GB
- SHA256:
- 15a4b09e56d95b768a0ec9da50b702e21d920333fc9b3480d66bb5c7fad9d87f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.