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.
@vivekvivian Hi, have you encountered this onnx error?
@lumos123 Yes I do get the same error as well. No idea on how to solve it though :)
fixed.@vivekvivian
change from optimum.onnxruntime import ORTStableDiffusionPipeline
to from optimum.onnxruntime import ORTStableDiffusionXLPipeline
It's rellay weird.