cannot run stable_diffusion

#197
by ducknificient - opened

i can't run stable diffusion as inference . Did i miss something ? thanks

diffuser_path = "/home/user/stabilityai/diffusion-xl"
tokenizer_path = "/home/user/stabilityai/diffusion-xl/tokenizer"
text_encoder_path = "/home/user/stabilityai/diffusion-xl/text_encoder"

pipe = DiffusionPipeline.from_pretrained(diffuser_path, 
                                         use_safetensors=True, ).to("cuda")

Sign up or log in to comment