Skip to content

[https://nvbugs/6248648][fix] Fix H2D copy - #17515

Closed
2ez4bz wants to merge 1 commit into
NVIDIA:mainfrom
2ez4bz:dev-cc-fix
Closed

[https://nvbugs/6248648][fix] Fix H2D copy#17515
2ez4bz wants to merge 1 commit into
NVIDIA:mainfrom
2ez4bz:dev-cc-fix

Conversation

@2ez4bz

@2ez4bz 2ez4bz commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

@coderabbitai summary

Description

  • Why?

Under confidential compute, we usually intentionally do not use pageable host memory for H2D transfers for performance reasons. Prior to this commit, the KV cache manager V2 would launch copy kernels that access unmapped pageable host memory.

  • What?

This commit fixes that issue.

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.

* Why?

Under confidential compute, we usually intentionally do not
use pageable host memory for H2D transfers for performance
reasons. Prior to this commit, the KV cache manager V2 would
launch copy kernels that access unmapped pageable host memory.

* What?

This commit fixes that issue.

Signed-off-by: William Zhang <williamz@nvidia.com>
@2ez4bz

2ez4bz commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author

Closing in favor of #17658

@2ez4bz 2ez4bz closed this Aug 19, 2026
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