Instructions to use SG161222/RealVisXL_V5.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SG161222/RealVisXL_V5.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SG161222/RealVisXL_V5.0", 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
Error with download
#5
by gedasv - opened
Hi, for some reason I get the error OSError: Error no file named diffusion_pytorch_model.bin found in directory diffusers-cache/models--SG161222--RealVisXL_V5.0/snapshots/17f70fbda0897972c4637aa3a30ea924b8ed8c69/unet. when trying to download with
DiffusionPipeline.from_pretrained(
"SG161222/RealVisXL_V5.0",
cache_dir=MODEL_CACHE,
use_auth_token=HF_TOKEN,
use_safetensors=True,
variant="fp32"
)
What could be the issue?
I got the same issue !