Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 586 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 586 Bytes

stable-diffusion-java

how it works

this repo uses DeepJavaLibrary to run torchscript models on java. the tokenizer and klms sampler were ported from stable-diffusion-pytorch with minimal changes.

how to use

  1. Install python
  2. Install torch (see here)
  3. Update pom.xml (see here)
  4. Convert model to torchscript (see here)
  5. Run the code