From 51bd9c8004964e744b85fb3be42fe972ecb2ea6e Mon Sep 17 00:00:00 2001 From: leejet Date: Sun, 28 Dec 2025 22:53:07 +0800 Subject: [PATCH] chore: reformat named cache params description into single line --- examples/cli/README.md | 10 +++------- examples/common/common.hpp | 2 +- examples/server/README.md | 10 +++------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/examples/cli/README.md b/examples/cli/README.md index 75e1703..84dd5c7 100644 --- a/examples/cli/README.md +++ b/examples/cli/README.md @@ -134,13 +134,9 @@ Generation Options: --high-noise-skip-layers (high noise) layers to skip for SLG steps (default: [7,8,9]) -r, --ref-image reference image for Flux Kontext models (can be used multiple times) --cache-mode caching method: 'easycache' (DiT), 'ucache' (UNET), 'dbcache'/'taylorseer'/'cache-dit' (DiT block-level) - --cache-option named cache params (key=value format, comma-separated): - - easycache/ucache: - threshold=,start=,end=,decay=,relative=,reset= - - dbcache/taylorseer/cache-dit: - Fn=,Bn=,threshold=,warmup= - Examples: "threshold=0.25" or - "threshold=1.5,reset=0" + --cache-option named cache params (key=value format, comma-separated). easycache/ucache: + threshold=,start=,end=,decay=,relative=,reset=; dbcache/taylorseer/cache-dit: Fn=,Bn=,threshold=,warmup=. Examples: + "threshold=0.25" or "threshold=1.5,reset=0" --cache-preset cache-dit preset: 'slow'/'s', 'medium'/'m', 'fast'/'f', 'ultra'/'u' --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 --scm-policy SCM policy: 'dynamic' (default) or 'static' diff --git a/examples/common/common.hpp b/examples/common/common.hpp index 3d4963a..7ea95ed 100644 --- a/examples/common/common.hpp +++ b/examples/common/common.hpp @@ -1512,7 +1512,7 @@ struct SDGenerationParams { on_cache_mode_arg}, {"", "--cache-option", - "named cache params (key=value format, comma-separated):\n - easycache/ucache: threshold=,start=,end=,decay=,relative=,reset=\n - dbcache/taylorseer/cache-dit: Fn=,Bn=,threshold=,warmup=\n Examples: \"threshold=0.25\" or \"threshold=1.5,reset=0\"", + "named cache params (key=value format, comma-separated). easycache/ucache: threshold=,start=,end=,decay=,relative=,reset=; dbcache/taylorseer/cache-dit: Fn=,Bn=,threshold=,warmup=. Examples: \"threshold=0.25\" or \"threshold=1.5,reset=0\"", on_cache_option_arg}, {"", "--cache-preset", diff --git a/examples/server/README.md b/examples/server/README.md index 7fb9425..7e66815 100644 --- a/examples/server/README.md +++ b/examples/server/README.md @@ -126,13 +126,9 @@ Default Generation Options: --high-noise-skip-layers (high noise) layers to skip for SLG steps (default: [7,8,9]) -r, --ref-image reference image for Flux Kontext models (can be used multiple times) --cache-mode caching method: 'easycache' (DiT), 'ucache' (UNET), 'dbcache'/'taylorseer'/'cache-dit' (DiT block-level) - --cache-option named cache params (key=value format, comma-separated): - - easycache/ucache: - threshold=,start=,end=,decay=,relative=,reset= - - dbcache/taylorseer/cache-dit: - Fn=,Bn=,threshold=,warmup= - Examples: "threshold=0.25" or - "threshold=1.5,reset=0" + --cache-option named cache params (key=value format, comma-separated). easycache/ucache: + threshold=,start=,end=,decay=,relative=,reset=; dbcache/taylorseer/cache-dit: Fn=,Bn=,threshold=,warmup=. Examples: + "threshold=0.25" or "threshold=1.5,reset=0" --cache-preset cache-dit preset: 'slow'/'s', 'medium'/'m', 'fast'/'f', 'ultra'/'u' --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 --scm-policy SCM policy: 'dynamic' (default) or 'static'