DeepSpeed
8950dc33 - feat(rollout): add continuous batching profiling (#8494)

Commit
70 days ago
feat(rollout): add continuous batching profiling (#8494) ## Summary Thanks @delock for the continuous batching prototype and profiling follow-up. Continuous batching currently bypasses `HybridEngineRollout` profiling, so no useful profile is recorded. This PR adds opt-in profiling for continuous batching, covering: - prefill and decode forward time/counts - scheduler and cache-management overhead - generated tokens and throughput - active batch size and configured capacity Profiling remains disabled by default and does not change generation outputs or scheduling behavior. ## Validation - Focused rollout tests: `38 passed` - `py_compile`: passed - `git diff --check`: passed - YAPF and flake8 checks: passed Related to #8459 --------- Signed-off-by: nathon-lee <leejianwoo@gmail.com> Co-authored-by: Ma, Guokai <guokai.ma@gmail.com>
Author
Parents
Loading