From 48641435d6bb94447e6f28af16e79276d24fe66b Mon Sep 17 00:00:00 2001 From: ai-easy-cpu Date: Wed, 5 Nov 2025 12:15:13 +0800 Subject: [PATCH] fix typo of args description in sglang.profiler (#12486) Co-authored-by: AI-bot-easy Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- python/sglang/README.md | 1 + python/sglang/profiler.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python/sglang/README.md b/python/sglang/README.md index 3d16d84f8..4d9cf8c2d 100644 --- a/python/sglang/README.md +++ b/python/sglang/README.md @@ -12,5 +12,6 @@ - `check_env.py`: Check the environment variables and dependencies. - `global_config.py`: The global configs and constants. - `launch_server.py`: The entry point for launching a local server. +- `profiler.py`: The profiling entry point to send profile requests. - `utils.py`: Common utilities. - `version.py`: Version info. diff --git a/python/sglang/profiler.py b/python/sglang/profiler.py index cd6917cbd..9606f72ac 100644 --- a/python/sglang/profiler.py +++ b/python/sglang/profiler.py @@ -124,7 +124,7 @@ if __name__ == "__main__": action=argparse.BooleanOptionalAction, type=bool, default=False, - help="The number of forward steps to profile.", + help="Whether to profile prefill and decode separately", ) parser.add_argument( "--cpu",