[https://nvbugs/6035425][fix] Fix host memory usage regression with spec dec#13130
[https://nvbugs/6035425][fix] Fix host memory usage regression with spec dec#13130mikeiovine merged 9 commits intoNVIDIA:mainfrom
Conversation
Signed-off-by: Mike Iovine <6158008+mikeiovine@users.noreply.github.com>
|
/bot run |
📝 WalkthroughWalkthroughRefactored Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
PR_Github #43814 [ run ] triggered by Bot. Commit: |
|
PR_Github #43814 [ run ] completed with state
|
|
/bot run |
|
/bot run |
|
PR_Github #44488 [ run ] triggered by Bot. Commit: |
|
PR_Github #44488 [ run ] completed with state
|
|
/bot run |
|
PR_Github #44513 [ run ] triggered by Bot. Commit: |
|
PR_Github #44513 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #44743 [ run ] triggered by Bot. Commit: |
|
PR_Github #44743 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #44981 [ run ] triggered by Bot. Commit: |
|
PR_Github #44981 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #45200 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #45230 [ run ] triggered by Bot. Commit: |
|
PR_Github #45230 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #45742 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #45786 [ run ] triggered by Bot. Commit: |
|
PR_Github #45786 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #46157 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #46200 [ run ] triggered by Bot. Commit: |
|
PR_Github #46200 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #46399 [ run ] triggered by Bot. Commit: |
|
PR_Github #46399 [ run ] completed with state |
Description
A regression was introduced that doubled KV cache GPU memory usage when spec dec was enabled. This was fixed on the GPU side by #12188. This PR applies the same fix to the host side memory budget when KV cache offloading is enabled.
Test Coverage
Added new test.
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.Summary by CodeRabbit
Tests
Improvements