Skip to content

Commit 98916e8

Browse files
committed
docs: update README.md
1 parent 298b110 commit 98916e8

File tree

3 files changed

+30
-9
lines changed

3 files changed

+30
-9
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ If you want to improve performance or reduce VRAM/RAM usage, please refer to [pe
143143
- [Using TAESD to faster decoding](./docs/taesd.md)
144144
- [Docker](./docs/docker.md)
145145
- [Quantization and GGUF](./docs/quantization_and_gguf.md)
146+
- [Inference acceleration via caching](./docs/caching.md)
146147

147148
## Bindings
148149

examples/cli/README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ Context Options:
5353
--diffusion-fa use flash attention in the diffusion model
5454
--diffusion-conv-direct use ggml_conv2d_direct in the diffusion model
5555
--vae-conv-direct use ggml_conv2d_direct in the vae model
56+
--circular enable circular padding for convolutions
57+
--circularx enable circular RoPE wrapping on x-axis (width) only
58+
--circulary enable circular RoPE wrapping on y-axis (height) only
5659
--chroma-disable-dit-mask disable dit mask for chroma
5760
--chroma-enable-t5-mask enable t5 mask for chroma
5861
--type weight type (examples: f32, f16, q4_0, q4_1, q5_0, q5_1, q8_0, q2_K, q3_K, q4_K). If not specified, the default is the
@@ -94,6 +97,7 @@ Generation Options:
9497
--timestep-shift <int> shift timestep for NitroFusion models (default: 0). recommended N for NitroSD-Realism around 250 and 500 for
9598
NitroSD-Vibrant
9699
--upscale-repeats <int> Run the ESRGAN upscaler this many times (default: 1)
100+
--upscale-tile-size <int> tile size for ESRGAN upscaling (default: 128)
97101
--cfg-scale <float> unconditional guidance scale: (default: 7.0)
98102
--img-cfg-scale <float> image guidance scale for inpaint or instruct-pix2pix models: (default: same as --cfg-scale)
99103
--guidance <float> distilled guidance scale for models with guidance input (default: 3.5)
@@ -121,18 +125,21 @@ Generation Options:
121125
tcd] (default: euler for Flux/SD3/Wan, euler_a otherwise)
122126
--high-noise-sampling-method (high noise) sampling method, one of [euler, euler_a, heun, dpm2, dpm++2s_a, dpm++2m, dpm++2mv2, ipndm, ipndm_v, lcm,
123127
ddim_trailing, tcd] default: euler for Flux/SD3/Wan, euler_a otherwise
124-
--scheduler denoiser sigma scheduler, one of [discrete, karras, exponential, ays, gits, smoothstep, sgm_uniform, simple, kl_optimal, lcm],
125-
default: discrete
128+
--scheduler denoiser sigma scheduler, one of [discrete, karras, exponential, ays, gits, smoothstep, sgm_uniform, simple,
129+
kl_optimal, lcm], default: discrete
126130
--sigmas custom sigma values for the sampler, comma-separated (e.g., "14.61,7.8,3.5,0.0").
127131
--skip-layers layers to skip for SLG steps (default: [7,8,9])
128132
--high-noise-skip-layers (high noise) layers to skip for SLG steps (default: [7,8,9])
129133
-r, --ref-image reference image for Flux Kontext models (can be used multiple times)
130134
--cache-mode caching method: 'easycache' (DiT), 'ucache' (UNET), 'dbcache'/'taylorseer'/'cache-dit' (DiT block-level)
131135
--cache-option named cache params (key=value format, comma-separated):
132-
- easycache/ucache: threshold=,start=,end=,decay=,relative=,reset=
133-
- dbcache/taylorseer/cache-dit: Fn=,Bn=,threshold=,warmup=
134-
Examples: "threshold=0.25" or "threshold=1.5,reset=0"
136+
- easycache/ucache:
137+
threshold=,start=,end=,decay=,relative=,reset=
138+
- dbcache/taylorseer/cache-dit:
139+
Fn=,Bn=,threshold=,warmup=
140+
Examples: "threshold=0.25" or
141+
"threshold=1.5,reset=0"
135142
--cache-preset cache-dit preset: 'slow'/'s', 'medium'/'m', 'fast'/'f', 'ultra'/'u'
136-
--scm-mask SCM steps mask: comma-separated 0/1 (1=compute, 0=can cache)
143+
--scm-mask SCM steps mask for cache-dit: comma-separated 0/1 (e.g., "1,1,1,0,0,1,0,0,1,0") - 1=compute, 0=can cache
137144
--scm-policy SCM policy: 'dynamic' (default) or 'static'
138145
```

examples/server/README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ Context Options:
4545
--diffusion-fa use flash attention in the diffusion model
4646
--diffusion-conv-direct use ggml_conv2d_direct in the diffusion model
4747
--vae-conv-direct use ggml_conv2d_direct in the vae model
48+
--circular enable circular padding for convolutions
49+
--circularx enable circular RoPE wrapping on x-axis (width) only
50+
--circulary enable circular RoPE wrapping on y-axis (height) only
4851
--chroma-disable-dit-mask disable dit mask for chroma
4952
--chroma-enable-t5-mask enable t5 mask for chroma
5053
--type weight type (examples: f32, f16, q4_0, q4_1, q5_0, q5_1, q8_0, q2_K, q3_K, q4_K). If not specified, the default is the
@@ -114,11 +117,21 @@ Default Generation Options:
114117
tcd] (default: euler for Flux/SD3/Wan, euler_a otherwise)
115118
--high-noise-sampling-method (high noise) sampling method, one of [euler, euler_a, heun, dpm2, dpm++2s_a, dpm++2m, dpm++2mv2, ipndm, ipndm_v, lcm,
116119
ddim_trailing, tcd] default: euler for Flux/SD3/Wan, euler_a otherwise
117-
--scheduler denoiser sigma scheduler, one of [discrete, karras, exponential, ays, gits, smoothstep, sgm_uniform, simple, kl_optimal, lcm],
118-
default: discrete
120+
--scheduler denoiser sigma scheduler, one of [discrete, karras, exponential, ays, gits, smoothstep, sgm_uniform, simple,
121+
kl_optimal, lcm], default: discrete
119122
--sigmas custom sigma values for the sampler, comma-separated (e.g., "14.61,7.8,3.5,0.0").
120123
--skip-layers layers to skip for SLG steps (default: [7,8,9])
121124
--high-noise-skip-layers (high noise) layers to skip for SLG steps (default: [7,8,9])
122125
-r, --ref-image reference image for Flux Kontext models (can be used multiple times)
123-
--easycache enable EasyCache for DiT models with optional "threshold,start_percent,end_percent" (default: 0.2,0.15,0.95)
126+
--cache-mode caching method: 'easycache' (DiT), 'ucache' (UNET), 'dbcache'/'taylorseer'/'cache-dit' (DiT block-level)
127+
--cache-option named cache params (key=value format, comma-separated):
128+
- easycache/ucache:
129+
threshold=,start=,end=,decay=,relative=,reset=
130+
- dbcache/taylorseer/cache-dit:
131+
Fn=,Bn=,threshold=,warmup=
132+
Examples: "threshold=0.25" or
133+
"threshold=1.5,reset=0"
134+
--cache-preset cache-dit preset: 'slow'/'s', 'medium'/'m', 'fast'/'f', 'ultra'/'u'
135+
--scm-mask SCM steps mask for cache-dit: comma-separated 0/1 (e.g., "1,1,1,0,0,1,0,0,1,0") - 1=compute, 0=can cache
136+
--scm-policy SCM policy: 'dynamic' (default) or 'static'
124137
```

0 commit comments

Comments
 (0)