Text-to-Image
Sana
Diffusers
Safetensors
English
Chinese
Sana
1024px_based_image_size
Multi-language
Run this model with HF Jobs
Run Efficient-Large-Model/Sana_1600M_1024px_diffusers on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Efficient-Large-Model/Sana_1600M_1024px_diffusers. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Efficient-Large-Model/Sana_1600M_1024px_diffusers on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Efficient-Large-Model/Sana_1600M_1024px_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use Efficient-Large-Model/Sana_1600M_1024px_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_1600M_1024px_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
Upload files with `sana-upload`.
Browse filesUpload transformer/diffusion_pytorch_model-00001-of-00002.safetensors
Upload transformer/diffusion_pytorch_model-00002-of-00002.safetensors
Files changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:ed9a7b95dc53b9ee4adf58513bd7ae312d7c1610128d0578943dfa1e1d708f14size 4999769624123version https://git-lfs.github.com/spec/v1oid sha256:6776aada02b84638b2ae44e5f5656458feb9ee6ad0781e492dfe424f390ace48size 4999769624
123version https://git-lfs.github.com/spec/v1oid sha256:3369a57d76d00d6cfb0d1591640c3fed4c1b60fb1d7ed611fd0cfc79d76874e4size 1418127024123version https://git-lfs.github.com/spec/v1oid sha256:ad1ba9832e9d73ffe5349178152ec56f5b7cb579294ce70195d1834d2960ab85size 1418127024
transformer/diffusion_pytorch_model-00001-of-00002.safetensors+1-1
transformer/diffusion_pytorch_model-00002-of-00002.safetensors+1-1