From 6bb18af119c797fae31e843748fd14fd1e6b2efb Mon Sep 17 00:00:00 2001 From: Yuanheng Zhao <54058983+yuanheng-zhao@users.noreply.github.com> Date: Sun, 3 May 2026 22:32:59 +0800 Subject: [PATCH] [Chore][Doc] Fix example arg values in Profiler doc (#3309) Signed-off-by: yuanheng --- docs/contributing/profiling.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/contributing/profiling.md b/docs/contributing/profiling.md index e1dbc8234..400d2a3c0 100644 --- a/docs/contributing/profiling.md +++ b/docs/contributing/profiling.md @@ -37,6 +37,8 @@ Supported fields: | `warmup_iterations` | Torch-profiler warmup iterations. | | `active_iterations` | Torch-profiler active iterations. | +For detailed explanations of the fields, please refer to upstream vLLM implementation [vllm/config/profiler.py](https://github.com/vllm-project/vllm/blob/v0.20.1/vllm/config/profiler.py) + ### Minimal configurations by output Only collect trace output: @@ -124,7 +126,7 @@ profiler_config = { "max_iterations": 0, "wait_iterations": 0, "warmup_iterations": 0, - "active_iterations": 0, + "active_iterations": 1, } ``` @@ -220,7 +222,7 @@ vllm serve Wan-AI/Wan2.2-I2V-A14B-Diffusers \ "max_iterations": 0, "wait_iterations": 0, "warmup_iterations": 0, - "active_iterations": 0 + "active_iterations": 1 }' ```