[None][feat] Reduce sampler overhead with min_tokens#13480
[None][feat] Reduce sampler overhead with min_tokens#13480galagam wants to merge 2 commits intoNVIDIA:mainfrom
Conversation
- move allocation outside of loop - set dtype to match logits and avoid implicit cast in each iteration Signed-off-by: Gal Hubara Agam <96368689+galagam@users.noreply.github.com>
…-batch copy per-request D2D copies (in loop) => 2 per-batch H2D copies (for the indices) + 1 per-batch GPU kernel (index_put_) Signed-off-by: Gal Hubara Agam <96368689+galagam@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/bot run |
|
PR_Github #45748 [ run ] triggered by Bot. Commit: |
Summary by CodeRabbit
Release Notes
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.