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 Settings
- Draw Things
- DiffusionBee
OSError in using DiffusionPipeline to load the model
#9
by xuruipeng8641 - opened
I meet the error when using
pipeline = DiffusionPipeline.from_pretrained("local_dir/RunDiffusion/Juggernaut-XL-v9")
OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /mnt/bn/bytenn-yg2/pretrained_models/RunDiffusion/Juggernaut-XL-v9/text_encoder. I wonder how to fix the loading problem ~~ many thanks
Many many diffusers pipelines use this daily. You'll have to keep troubleshooting. This error isn't the fault of the model.
RunDiffusion changed discussion status to closed
I got the same problem.