Run this model with HF Jobs
Run Efficient-Large-Model/Sana_600M_512px_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_600M_512px_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_600M_512px_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_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
Upload files with `sana-upload`.
Browse filesUpload text_encoder/config.json
Upload transformer/diffusion_pytorch_model.fp16.safetensors
Files changed (2)
29 unmodified lines3031323334353629 unmodified lines"rope_theta": 10000.0,"sliding_window": 4096,"torch_dtype": "bfloat16","transformers_version": "4.46.0","use_cache": true,"vocab_size": 256000}29 unmodified lines3031323334353629 unmodified lines"rope_theta": 10000.0,"sliding_window": 4096,"torch_dtype": "bfloat16","transformers_version": "4.45.2","use_cache": true,"vocab_size": 256000}
123version https://git-lfs.github.com/spec/v1oid sha256:0f231afdce5e754d62529c2c63a94a3aa22ce1ca431b857602942b9a53d9e399size 1183558264123version https://git-lfs.github.com/spec/v1oid sha256:4616f5f26161c4f072083edcd9b771b8a840057602e928dca00c8a05175b22a3size 1183558264
text_encoder/config.json+1-1
transformer/diffusion_pytorch_model.fp16.safetensors+1-1