frost(sdpa): fix sm120 split_kv test after #720 combine_rows change - #758
Conversation
choose_split_kv gained a required combine_rows keyword-only argument for the combine-pass cost term (NVIDIA#720), but the sm120 expected-split helper wasn't updated to match, unlike its sm100 sibling in test_sdpa_fwd_split_kv_sm100.py which already passes it. The squash-merge of NVIDIA#720 dropped the follow-up fix (yanzhuo607#1), so develop's sm120 CI (frost:rel:sdpa:sm120) is broken again: TypeError: choose_split_kv() missing 1 required keyword-only argument: 'combine_rows' Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.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)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe SDPA forward split-KV test now passes the calculated combine-grid row count to ChangesSDPA split-KV validation
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized test-only change updates the sm120 helper to provide the required combine_rows value, with no actionable merge-blocking risk remaining after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description explains the problem, the fix, and testing status. It does not include the required Affected area, Why, Related issues, or API and compatibility impact sections, and it does not document the required repository checklist items. Resolution Add the missing template sections. Select the affected area, explain why the approach is appropriate, state related issues using the required format, document API and compatibility impact or write None, and complete the repository checklist items. Keep the exact test commands and results, including the pending CI status.
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
|
@cudnn-ci-bot run frost |
|
🏁 Pipeline finished SHA: |
Summary
frost(sdpa): run the KV split the heuristic chose, on the true cluste… #720 added a required
combine_rowskeyword-only argument tochoose_split_kv(combine-pass cost term) but the squash-merge dropped the follow-up fix to the sm120 test (Rebase on develop + fix sm120 choose_split_kv test yanzhuo607/cudnn-frontend#1), sodevelopcurrently failsfrost:rel:sdpa:sm120CI with:Passes
combine_rowsintest_sdpa_fwd_split_kv_sm120.py's_expected_splithelper, matching the pattern already used by its sm100 sibling intest_sdpa_fwd_split_kv_sm100.py(combine_rows=b * h_q * s_q).Test plan
py_compileon the changed fileblack -l 160cleanfrost:rel:sdpa:sm120green🤖 Generated with Claude Code
Summary by CodeRabbit