Run this model with HF Jobs
Run ishan24/Sana_1600M_1024px_BF16_ControlNet_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/ishan24/Sana_1600M_1024px_BF16_ControlNet_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/ishan24/Sana_1600M_1024px_BF16_ControlNet_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 ishan24/Sana_1600M_1024px_BF16_ControlNet_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ishan24/Sana_1600M_1024px_BF16_ControlNet_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ishan24/Sana_1600M_1024px_BF16_ControlNet_diffusers", 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 2 files
Browse filesFiles changed (2)
- config.jsonAdded+21
- diffusion_pytorch_model.safetensorsAdded+3
123456789101112131415161718192021{ "_class_name": "SanaControlNetModel", "_diffusers_version": "0.33.0.dev0", "attention_bias": false, "attention_head_dim": 32, "caption_channels": 2304, "cross_attention_dim": 2240, "cross_attention_head_dim": 112, "dropout": 0.0, "in_channels": 32, "interpolation_scale": null, "mlp_ratio": 2.5, "norm_elementwise_affine": false, "norm_eps": 1e-06, "num_attention_heads": 70, "num_cross_attention_heads": 20, "num_layers": 7, "out_channels": 32, "patch_size": 1, "sample_size": 32}123version https://git-lfs.github.com/spec/v1oid sha256:bcb7795ef71771e2ada0067a7801c26a84e9fb8a1e4210a8439431c4333b3c07size 1263172056config.jsonAdded+21
diffusion_pytorch_model.safetensorsAdded+3