vitoplantamura / OnnxStream

Lightweight inference library for ONNX files, written in C++. It can run SDXL on a RPI Zero 2 but also Mistral 7B on desktops and servers.
Other
1.82k stars 79 forks source link

=== ERROR === failed to create multiply operation #78

Open kroryan opened 1 month ago

kroryan commented 1 month ago

im getting this error:

----------------[start]------------------ positive_prompt: a photo of an astronaut riding a horse on mars SDXL turbo doesn't support negative_prompts output_png_path: astronaut.png steps: 7 seed: 798720 ----------------[prompt]------------------ Token: "a" Token: "photo" Token: "of" Token: "an" Token: "astronaut" Token: "riding" Token: "a" Token: "horse" Token: "on" Token: "mars" ^[[C----------------[diffusion]--------------- step:0 === ERROR === failed to create multiply operation

does somebody know how i can solve it?

kroryan commented 1 month ago

i tried to use --rpi and im getting this:

----------------[diffusion]--------------- step:0 === ERROR === DiskPrefetchWeightsProvider::provide: fatal error in worker thread: "read_file: unable to open file (/home/pi/OnnxStream/src/build/dreamshaper-7-lcm-text2img-onnxstream/stable-diffusion-xl-turbo-1.0-onnxstream/sdxl_unet_fp16/unet_2E_time_5F_embedding_2E_linear_5F_1_2E_weight_transposed.bin).".

vitoplantamura commented 1 month ago

hi,

Try redownloading the weights by specifying the "--download" option. You only need to download them once, so the "--download" option should only be added on the first run.

Vito

kroryan commented 1 month ago

okey after that is working, thanks¡