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

vocab.txt #17

Closed anhu closed 1 year ago

anhu commented 1 year ago

Not sure how I should execute sd. Just tried below. Couldn't find vocab.txt in anything that I brought down via git. Not sure what I did wrong.

Warm regards, Anthony

./sd --rpi 
----------------[start]------------------
positive_prompt: a photo of an astronaut riding a horse on mars
negative_prompt: ugly, blurry
output_png_path: ./result.png
steps: 10
----------------[prompt]------------------
=== ERROR === unable to open file: ./tokenizer/vocab.txt
vitoplantamura commented 1 year ago

hi,

the weights can be downloaded here: https://github.com/vitoplantamura/OnnxStream/releases/tag/v0.1

Vito

anhu commented 1 year ago

Thank you so much. It runs, but oddly, just gives snow. :) no worries. I will keep experimenting. Thank you so much!!