Skip to content

Commit a083ca9

Browse files
piallaiStéphane du Hamel
authored andcommitted
fix: fix typo for skip layers parameters (leejet#492)
1 parent ec3912b commit a083ca9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ arguments:
240240
-p, --prompt [PROMPT] the prompt to render
241241
-n, --negative-prompt PROMPT the negative prompt (default: "")
242242
--cfg-scale SCALE unconditional guidance scale: (default: 7.0)
243+
--skip-layers LAYERS Layers to skip for SLG steps: (default: [7,8,9])
244+
--skip-layer-start START SLG enabling point: (default: 0.01)
245+
--skip-layer-end END SLG disabling point: (default: 0.2)
246+
SLG will be enabled at step int([STEPS]*[START]) and disabled at int([STEPS]*[END])
243247
--strength STRENGTH strength for noising/unnoising (default: 0.75)
244248
--style-ratio STYLE-RATIO strength for keeping input identity (default: 20%)
245249
--control-strength STRENGTH strength to apply Control Net (default: 0.9)

examples/cli/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ void print_usage(int argc, const char* argv[]) {
224224
printf(" --cfg-scale SCALE unconditional guidance scale: (default: 7.0)\n");
225225
printf(" --slg-scale SCALE skip layer guidance (SLG) scale, only for DiT models: (default: 0)\n");
226226
printf(" 0 means disabled, a value of 2.5 is nice for sd3.5 medium\n");
227-
printf(" --skip_layers LAYERS Layers to skip for SLG steps: (default: [7,8,9])\n");
228-
printf(" --skip_layer_start START SLG enabling point: (default: 0.01)\n");
229-
printf(" --skip_layer_end END SLG disabling point: (default: 0.2)\n");
227+
printf(" --skip-layers LAYERS Layers to skip for SLG steps: (default: [7,8,9])\n");
228+
printf(" --skip-layer-start START SLG enabling point: (default: 0.01)\n");
229+
printf(" --skip-layer-end END SLG disabling point: (default: 0.2)\n");
230230
printf(" SLG will be enabled at step int([STEPS]*[START]) and disabled at int([STEPS]*[END])\n");
231231
printf(" --strength STRENGTH strength for noising/unnoising (default: 0.75)\n");
232232
printf(" --style-ratio STYLE-RATIO strength for keeping input identity (default: 20%%)\n");

0 commit comments

Comments
 (0)