Replies: 1 comment 2 replies
-
So basically you're getting the error with this code? import torch
from diffusers import StableDiffusionImg2ImgPipeline
diffusion_pipe = StableDiffusionImg2ImgPipeline.from_pretrained(
"nitrosocke/Ghibli-Diffusion",
torch_dtype=torch.float32,
use_safetensors=True,
safety_checker=None,
local_files_only=False,
from_tf=False,
).to("cuda") I tried it with the latest diffusers version and it works, do you have a specific reason you have to use such old libraries in your environment? The best solution here is to use the new version of all the libraries, also python 3.8 has reached EOL. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is my log
Python=3.8.16
torch=1.9.1+cu111
safetensors=0.4.0
transformers=4.25.1
diffusers=0.11.1
Dear colleagues, how can I resolve the issue?
Thanks & Regards!
Momo
Beta Was this translation helpful? Give feedback.
All reactions