Skip to content

Commit f4c937c

Browse files
authored
fix: add some missing cli args to usage (leejet#363)
1 parent 0362cc4 commit f4c937c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,10 @@ arguments:
192192
-M, --mode [MODEL] run mode (txt2img or img2img or convert, default: txt2img)
193193
-t, --threads N number of threads to use during computation (default: -1).
194194
If threads <= 0, then threads will be set to the number of CPU physical cores
195-
-m, --model [MODEL] path to model
195+
-m, --model [MODEL] path to full model
196+
--diffusion-model path to the standalone diffusion model
197+
--clip_l path to the clip-l text encoder
198+
--t5xxl path to the the t5xxl text encoder.
196199
--vae [VAE] path to vae
197200
--taesd [TAESD_PATH] path to taesd. Using Tiny AutoEncoder for fast decoding (low quality)
198201
--control-net [CONTROL_PATH] path to control net model
@@ -227,6 +230,8 @@ arguments:
227230
--clip-skip N ignore last layers of CLIP network; 1 ignores none, 2 ignores one layer (default: -1)
228231
<= 0 represents unspecified, will be 1 for SD1.x, 2 for SD2.x
229232
--vae-tiling process vae in tiles to reduce memory usage
233+
--vae-on-cpu keep vae in cpu (for low vram)
234+
--clip-on-cpu keep clip in cpu (for low vram).
230235
--control-net-cpu keep controlnet in cpu (for low vram)
231236
--canny apply canny preprocessor (edge detection)
232237
--color Colors the logging tags according to level

examples/cli/main.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ void print_usage(int argc, const char* argv[]) {
173173
printf(" -M, --mode [MODEL] run mode (txt2img or img2img or convert, default: txt2img)\n");
174174
printf(" -t, --threads N number of threads to use during computation (default: -1).\n");
175175
printf(" If threads <= 0, then threads will be set to the number of CPU physical cores\n");
176-
printf(" -m, --model [MODEL] path to model\n");
176+
printf(" -m, --model [MODEL] path to full model\n");
177+
printf(" --diffusion-model path to the standalone diffusion model\n");
178+
printf(" --clip_l path to the clip-l text encoder\n");
179+
printf(" --t5xxl path to the the t5xxl text encoder.\n");
177180
printf(" --vae [VAE] path to vae\n");
178181
printf(" --taesd [TAESD_PATH] path to taesd. Using Tiny AutoEncoder for fast decoding (low quality)\n");
179182
printf(" --control-net [CONTROL_PATH] path to control net model\n");
@@ -208,6 +211,8 @@ void print_usage(int argc, const char* argv[]) {
208211
printf(" --clip-skip N ignore last layers of CLIP network; 1 ignores none, 2 ignores one layer (default: -1)\n");
209212
printf(" <= 0 represents unspecified, will be 1 for SD1.x, 2 for SD2.x\n");
210213
printf(" --vae-tiling process vae in tiles to reduce memory usage\n");
214+
printf(" --vae-on-cpu keep vae in cpu (for low vram)\n");
215+
printf(" --clip-on-cpu keep clip in cpu (for low vram).\n");
211216
printf(" --control-net-cpu keep controlnet in cpu (for low vram)\n");
212217
printf(" --canny apply canny preprocessor (edge detection)\n");
213218
printf(" --color Colors the logging tags according to level\n");

0 commit comments

Comments
 (0)