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",