Skip to content

Setting up Stable Diffusion 1.5 on Lichee Pi Console 4A (RISC-V)

License

Notifications You must be signed in to change notification settings

alexshendi/SD_LicheePiConsole4A

Repository files navigation

How to run Stable Diffusion 1.5 on Lichee Pi Console 4A

Build instructions

  1. clone repository OnnxStream
  2. clone repository XNNPACK
  3. Select revision as per OnnxStream build instructions: git checkout 579de32260742a24166ecd13213d2e60af862675
  4. build XNNPACK
  5. edit OnnxStream/src/CMakeLists.txt and change "-march=native" to "-march=rv64gcv0p7_zfh"
  6. build OnnxStream as outlined in the build instructions
  7. Download the weights and decompress in the models directory from: OnnxStream github and unpack
  8. Get merge.txt and copy to /SD/tokenizer/
  9. Delete sd.exe and replace with "sd" from step 6
  10. Enjoy

Some sample results

Prompt Result
An astronaut riding a horse oon Mars Result #2
A grey sky over a futuristic port city Result #3
A wizard with olive skin holding a grimoire with a mechanical pig familiar Result #4
A wizard with olive skin holding a book with a small pig companion Result #5
A dwarf engineer with a copper helmet assembling a cyberpunk neon display Result #6
A street in Innsmouth during Christmas time. A few vaguely fish-looking people are walking by. Result #7
A remote street in a small New England town during Christmas time. A few people are walking by, avoiding to look at each other. Result #8
A futuristic cyberpunk hacker with his cyberdeck eating a bowl of spaghetti Result #9

I need to stop adding more examples :)

About

Setting up Stable Diffusion 1.5 on Lichee Pi Console 4A (RISC-V)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published