robolamp commited on
Commit
9154005
·
verified ·
1 Parent(s): e3729bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -3
README.md CHANGED
@@ -16,7 +16,22 @@ Tools used for quantization: modded [stable-diffusion.cpp](https://github.com/le
16
 
17
  **Work in progress, use at your own risk**
18
 
19
- ## Examples:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  <table style="border-collapse: collapse; width: 100%;">
22
  <tr>
@@ -131,5 +146,3 @@ Tools used for quantization: modded [stable-diffusion.cpp](https://github.com/le
131
 
132
  </table>
133
 
134
- **TODO**: commands, how-to's
135
-
 
16
 
17
  **Work in progress, use at your own risk**
18
 
19
+ ## How to:
20
+ [WIP]
21
+
22
+ 1. Dowload and build [stable-diffusion.cpp](https://github.com/leejet/stable-diffusion.cpp), `flux` branch
23
+ 2. Download one of the models from this repo and
24
+ * Autoencoder https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.safetensors
25
+ * CLIP_L https://huggingface.co/comfyanonymous/flux_text_encoders/blob/main/clip_l.safetensors
26
+ * T5XXL https://huggingface.co/comfyanonymous/flux_text_encoders/blob/main/t5xxl_fp16.safetensors
27
+ 3. Enter your `stable-diffusion.cpp` dir
28
+ 4. Run the following command:
29
+ ```
30
+ ./build/bin/sd --diffusion-model [path to gguf] --vae [path to ae.safetensors] --clip_l [path to clip_l.safetensors] --t5xxl [path to t5xxl_fp16.safetensors] -p "a frog holding a sign saying 'hi' " -o ../frog.png -v --cfg-scale 1.0 --sampling-method euler -v --seed 42 --steps 4
31
+ ```
32
+
33
+
34
+ ## Results:
35
 
36
  <table style="border-collapse: collapse; width: 100%;">
37
  <tr>
 
146
 
147
  </table>
148