Run this model with HF Jobs
Run DiffusersVersionsOfModels/sana-1.6b-1024px 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/DiffusersVersionsOfModels/sana-1.6b-1024px. 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/DiffusersVersionsOfModels/sana-1.6b-1024px 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 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
Download tokenizer/tokenizer.model from DiffusersVersionsOfModels/sana-1.6b-1024px: direct link, hf CLI and curl.
- Browser
- Download file 4.24 MB
-
https://huggingface.co/DiffusersVersionsOfModels/sana-1.6b-1024px/resolve/main/tokenizer/tokenizer.model
- Command line
-
hf download hf://DiffusersVersionsOfModels/sana-1.6b-1024px/tokenizer/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/DiffusersVersionsOfModels/sana-1.6b-1024px/resolve/main/tokenizer/tokenizer.model
4.24 MB
- Xet hash:
- fde8653f2f656fb4ab30c2a5db64ba86a916a86134355b76c3bf26a5b022b323
- Size of remote file:
- 4.24 MB
- SHA256:
- 61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.