Skip to content

[None][chore] Add per-phase timing logs to ModelEngine warmup - #19304

Draft
QiJune wants to merge 1 commit into
NVIDIA:mainfrom
QiJune:more_logs
Draft

QiJune wants to merge 1 commit into
NVIDIA:mainfrom
QiJune:more_logs

Conversation

@QiJune

@QiJune QiJune commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Every warmup phase now logs start/end with wall-clock seconds via _warmup_phase, the attention/general/autotuner loops log per-shape forward time, and a per-rank summary line (plus a WARNING for phases over 60s) is emitted even if a phase raises. Startup timeouts can be attributed to a phase from the log alone.

Also downgrade the all-ranks 'Skipping warmup shape' message to INFO; it is the ordinary outcome for shapes that do not fit the config.

@coderabbitai summary

Description

Test Coverage

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

Every warmup phase now logs start/end with wall-clock seconds via
_warmup_phase, the attention/general/autotuner loops log per-shape
forward time, and a per-rank summary line (plus a WARNING for phases
over 60s) is emitted even if a phase raises. Startup timeouts can be
attributed to a phase from the log alone.

Also downgrade the all-ranks 'Skipping warmup shape' message to INFO;
it is the ordinary outcome for shapes that do not fit the config.

Signed-off-by: junq <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant