-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion.py
Numpy latest has been deprecated float for cfloat I think?
Reproduction
OnnxStableDiffusionPipeline on CPU
Logs
Traceback (most recent call last):
File "/usr/local/bin/docker-entrypoint.py", line 252, in <module>
main()
File "/usr/local/bin/docker-entrypoint.py", line 248, in main
stable_diffusion_inference(pipeline)
File "/usr/local/bin/docker-entrypoint.py", line 113, in stable_diffusion_inference
result = p.pipeline(**remove_unused_args(p))
File "/usr/local/lib/python3.10/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 "/usr/local/lib/python3.10/site-packages/numpy/__init__.py", line 284, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'float'. Did you mean: 'cfloat'?System Info
docker python:3.10-slim-bullseye
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working