fix command line usage of profiling (#11793)

This commit is contained in:
Qiaolin Yu
2025-10-17 21:54:36 -07:00
committed by GitHub
parent f7ab955455
commit 547003bdd0

View File

@@ -152,7 +152,8 @@ curl -X POST <BASE_URL>/start_profile \
# Start profiling with merge enabled
python -m sglang.profiler \
--num-steps 10 \
--activities CPU GPU \
--cpu \
--gpu \
--output-dir /tmp/profiles \
--merge-profiles # optional argument to merge profile traces (default=False)
```