vitoplantamura / OnnxStream

Lightweight inference library for ONNX files, written in C++. It can run Stable Diffusion XL 1.0 on a RPI Zero 2 (or in 298MB of RAM) but also Mistral 7B on desktops and servers. ARM, x86, WASM, RISC-V supported. Accelerated by XNNPACK.
https://yolo.vitoplantamura.com/
Other
1.86k stars 84 forks source link

failed to create multiply operation #39

Open TheGib123 opened 1 year ago

TheGib123 commented 1 year ago

----------------[start]------------------ positive_prompt: An astronaut riding a horse on Mars negative_prompt: ugly, blurry output_png_path: ./result.png steps: 5 ----------------[prompt]------------------ ----------------[diffusion]--------------- step:0 === ERROR === failed to create multiply operation

This is the error I receive when running the command ./sd --models-path /home/chace/Desktop/onnxstream/SD --prompt "An astronaut riding a horse on Mars" on Ubuntu 22.04.3 in a proxmox vm

UPDATE I am able to get it to run on a clean install of Ubuntu 22.04.3 on physical hardware. Still not able to get it to work in proxmox.

vitoplantamura commented 1 year ago

hi,

for some reason, XNNPACK is unable to create the FP16 multiply operator in a proxmox vm.

Can you try adding the "--rpi" option?

Thanks, Vito

kroryan commented 4 months ago

did u solve this?