Run this model with HF Jobs
Run RISHIKAMASHETTY/diffusion-models 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/RISHIKAMASHETTY/diffusion-models. 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/RISHIKAMASHETTY/diffusion-models 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 RISHIKAMASHETTY/diffusion-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use RISHIKAMASHETTY/diffusion-models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("RISHIKAMASHETTY/diffusion-models", 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
Download sdxl/config.json from RISHIKAMASHETTY/diffusion-models: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/RISHIKAMASHETTY/diffusion-models/resolve/main/sdxl/config.json
- Command line
-
hf download hf://RISHIKAMASHETTY/diffusion-models/sdxl/config.json
-
curl -L -o config.json https://huggingface.co/RISHIKAMASHETTY/diffusion-models/resolve/main/sdxl/config.json
575 Bytes
| { | |
| "SMOKE": false, | |
| "SD_ID": "diffusers/stable-diffusion-xl-1.0-inpainting-0.1", | |
| "VAE_ID": "madebyollin/sdxl-vae-fp16-fix", | |
| "RES": 768, | |
| "EVAL_RES": 512, | |
| "LORA_RANK": 16, | |
| "LR": 0.0001, | |
| "BS": 2, | |
| "ACCUM": 4, | |
| "MAX_STEPS": 2000, | |
| "P_GT_MASK": 0.3, | |
| "MASK_W": 2.0, | |
| "INF_STEPS": 30, | |
| "GUIDANCE": 5.0, | |
| "SEED": 42, | |
| "VAL_FRAC": 0.1, | |
| "N_EVAL": 60, | |
| "compute_dtype": "torch.bfloat16", | |
| "torch": "2.14.1+cu130", | |
| "diffusers": "0.42.1", | |
| "peft": "0.21.2", | |
| "gpu": "NVIDIA A100-SXM4-40GB", | |
| "python": "3.13.16 (main, Oct 1 2026, 15:40:24) [GCC 13.3.0]" | |
| } |