Run this model with HF Jobs
Run nitrosocke/Nitro-Diffusion 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/nitrosocke/Nitro-Diffusion. 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/nitrosocke/Nitro-Diffusion 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 nitrosocke/Nitro-Diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nitrosocke/Nitro-Diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nitrosocke/Nitro-Diffusion", 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
Commit History
-
Add `scale_factor` to vae config. (#13)
- Add `scale_factor` to vae config. (c7ccbb5e9f038bbd0bc1069c1fc9c21aaa2fc739) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>f522dd7 -
Adding `safetensors` variant of this model (#15)
- Adding `safetensors` variant of this model (09a02da71f0eb8e2027e7a98bb25759577c61de9) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>184c194
-
Add a diffusers checkpoint (#4)
- Add a diffusers checkpoint (0ea24749bb659700f97e8a99639ba5dab3a74c61) Co-authored-by: Anton Lozhkov <anton-l@users.noreply.huggingface.co>516c17f