Text-to-Image
Diffusers
English
StableDiffusionXLPipeline
stable-diffusion
stable-diffusion-xl
sdxl
photorealistic
photography
cinematic
portrait
juggernaut
rundiffusion
kandooai
Instructions to use RunDiffusion/Juggernaut-XL-v9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use RunDiffusion/Juggernaut-XL-v9 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("RunDiffusion/Juggernaut-XL-v9", 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
- Draw Things
- DiffusionBee
Fix Future Warning
Browse filesFutureWarning: The configuration file of this scheduler is outdated. `steps_offset` should be set to 1 instead of 0. Please make sure to update the config accordingly as leaving `steps_offset` might led to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the `scheduler/scheduler_config.json` file
scheduler/scheduler_config.json
CHANGED
|
@@ -13,6 +13,7 @@
|
|
| 13 |
"rescale_betas_zero_snr": false,
|
| 14 |
"sample_max_value": 1.0,
|
| 15 |
"set_alpha_to_one": false,
|
|
|
|
| 16 |
"skip_prk_steps": true,
|
| 17 |
"timestep_spacing": "trailing"
|
| 18 |
}
|
|
|
|
| 13 |
"rescale_betas_zero_snr": false,
|
| 14 |
"sample_max_value": 1.0,
|
| 15 |
"set_alpha_to_one": false,
|
| 16 |
+
"steps_offset": 1,
|
| 17 |
"skip_prk_steps": true,
|
| 18 |
"timestep_spacing": "trailing"
|
| 19 |
}
|