How to run Stable Diffusion 1.5 on Lichee Pi Console 4A
- clone repository OnnxStream
- clone repository XNNPACK
- Select revision as per OnnxStream build instructions:
git checkout 579de32260742a24166ecd13213d2e60af862675
- build XNNPACK
- edit OnnxStream/src/CMakeLists.txt and change "-march=native" to "-march=rv64gcv0p7_zfh"
- build OnnxStream as outlined in the build instructions
- Download the weights and decompress in the models directory from: OnnxStream github and unpack
- Get merge.txt and copy to /SD/tokenizer/
- Delete sd.exe and replace with "sd" from step 6
- Enjoy
I need to stop adding more examples :)