[TRTLLM-12982][feat] improve attention backend selection#14635
Conversation
f333ab4 to
9de5296
Compare
|
/bot run |
|
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)
📝 WalkthroughWalkthrough
ChangesAttention backend selection
🎯 2 (Simple) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
PR_Github #50559 [ run ] triggered by Bot. Commit: |
|
PR_Github #50559 [ run ] completed with state
|
Signed-off-by: ixlmar <206748156+ixlmar@users.noreply.github.com>
9de5296 to
ea5245a
Compare
|
/bot run |
|
PR_Github #50710 [ run ] triggered by Bot. Commit: |
|
PR_Github #50710 [ run ] completed with state
|
|
/bot run --disable-fail-fast |
|
PR_Github #50754 [ run ] triggered by Bot. Commit: |
|
/bot run --disable-fail-fast |
|
PR_Github #50805 [ run ] triggered by Bot. Commit: |
|
PR_Github #50754 [ run ] completed with state |
|
PR_Github #50805 [ run ] completed with state |
Description
Currently, attention backend selection is case-sensitive and features a silent fallback to the "TRTLLM" backend. With this change, passing e.g.
attn_backend="flashinfer"selects the correct backend and invalid option values result in a warning.Test Coverage
n/a
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-compatibleorapi-breaking. Forapi-breaking, includeBREAKINGin 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.Summary by CodeRabbit