[None][fix] always sync sampler_event in update_requests#12585
Conversation
- Always synchronize the sampler_event at the beginning of update_requests, regardless of whether there are sampling requests or not. - This fixes performance metrics, as the GPU events need to be completed for the performance measurements to work. - This may introduce a small overhead when there are no sampling requests, but it ensures that the performance metrics are accurate and consistent. Signed-off-by: Robin Kobus <[email protected]>
|
/bot run |
|
PR_Github #40695 [ ] completed with state |
|
/bot run |
|
PR_Github #40719 [ run ] triggered by Bot. Commit: |
ixlmar
left a comment
There was a problem hiding this comment.
Might be good to also add a test case to prevent regression.
|
PR_Github #40719 [ run ] completed with state
|
|
/bot run |
|
PR_Github #40773 [ run ] triggered by Bot. Commit: |
|
PR_Github #40773 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #40912 [ run ] triggered by Bot. Commit: |
|
PR_Github #40912 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #40969 [ run ] triggered by Bot. Commit: |
|
PR_Github #40969 [ run ] completed with state |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe early-exit condition for empty request lists in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Signed-off-by: Robin Kobus <[email protected]>
Summary by CodeRabbit
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)
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.