ONNX Runtime Error
#77
by
vivekvivian
- opened
While following the instructions provided here https://huggingface.co/docs/diffusers/optimization/onnx to run the Stable diffusion SDXL ONNX model, the following error pops up during inference.
RuntimeError: mat1 and mat2 shapes cannot be multiplied (2x2304 and 2816x1280)
All the instructions to setup and run Stable Diffusion v1.5 works perfectly.
same eror as you.
fixed.@vivekvivian
change from optimum.onnxruntime import ORTStableDiffusionPipeline
to from optimum.onnxruntime import ORTStableDiffusionXLPipeline
It's rellay weird.