I am a beginner, why do I encounter an error when loading the SG161222/RealVisXL_V5.0 model

#4
by michaelj - opened

pipeline = StableDiffusionXLPipeline.from_pretrained(
"SG161222/RealVisXL_V5.0",
torch_dtype=torch.float16,
variant="fp16",
use_safetensors=True,
cache_dir=cache_dir,
).to(self.device)
The reason for the error is
OSError: Error no file named scheduler_config.json found in directory
Is there an example about loading ControlNet and IP Adapter in Safetensors
!
Will you upload code similar to this architecture
局部ζˆͺ取_20240903_234040.png

Hi! I'll upload it soon.

Sign up or log in to comment