Closed benoegen closed 1 year ago
Thanks,
It's related to an issue with the upstream of diffusers, it will work only when this PR gets merged.
You can fix this by just downgrading numpy to version 1.23 (pip install numpy==1.23)
Downgrading worked, also the mentioned PR was merged recently, so it works as described. Thank you!
I followed the instructions, but the generation fails with:
File "D:\StableDiffusion\21_gui\venv\lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_onnx_stable_diffusion.py", line 250, in __call__ latents = latents * np.float(self.scheduler.init_noise_sigma) File "D:\StableDiffusion\21_gui\venv\lib\site-packages\numpy\__init__.py", line 284, in __getattr__ raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'float'
Any idea how to fix this? Thank you!