From 2088e1b7aa6419dec58800bc1d0cb24f5808affe Mon Sep 17 00:00:00 2001 From: Ferenc Szontágh <szf@fsociety.hu> Date: Sat, 03 Feb 2024 21:19:43 +0000 Subject: [PATCH] added queue handler against simple start --- README.md | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index a3be9d0..79b8006 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,29 @@ in the external forlder, you can find the precompuled stable-diffusion.cpp and ggml as submodulde to it. The default libs are configured with only CUDA, the release is Debug and Release. To use with another version (for example cpu only), you need to compile and overwrite +#### Build stable-diffusion.cpp +```Bash +git clone --recursive https://github.com/leejet/stable-diffusion.cpp +cd stable-diffusion.cpp +git pull origin master +git submodule init +git submodule update + +mkdir build +cd build +#with CUDA +cmake .. -DSD_CUBLAS=ON -DBUILD_SHARED_LIBS=ON + +#build +cmake --build . --config Release +#or Debug +cmake --build . --config Debug + +#test +./bin/sd -m ../models/sd-v1-4.ckpt -p "a lovely cat" +``` + + ## - TO-DOs See @git.spamming.hu ticketing system -- Gitblit v1.9.3