Conversation
Signed-off-by: Andy Friedrich <afriedri@amd.com>
Signed-off-by: Andy Friedrich <afriedri@amd.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe change replaces pandas and hardcoded ROCm GEMM tuning data with aiter configuration lookups. Tuned-shape checks are cached and handle lookup errors. The ROCm FP4 test updates a preshuffled shape and passes packed-byte width. ChangesAiter GEMM tuning checks
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized refactor replaces stale GEMM tuning data with the existing aiter configuration lookup and corrects packed FP4 shape handling; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This pull request has merge conflicts that must be resolved before it can be |
Signed-off-by: afriedri <afriedri@amd.com>
|
✅ @afriedri, CI is now available for this PR.
|
|
/ci run |
|
✅ Triggered Buildkite CI #87968 for commit |
|
/amd-ci retry |
|
✅ Queued 3 failed job(s) for retry in Buildkite AMD CI #12781. |
|
This pull request has merge conflicts that must be resolved before it can be |
Signed-off-by: afriedri <afriedri@amd.com>
|
need to fix various things because of conflicting #51692 ; wait for next commit |
|
Hi @afriedri, the pre-commit checks have failed. Please run: uv pip install pre-commit>=4.5.1
pre-commit install
pre-commit run --all-filesThen, commit the changes and push to your branch. For future commits, |
Signed-off-by: Andy Friedrich <afriedri@amd.com>
|
/ci run |
|
✅ Triggered Buildkite CI #88851 for commit |
|
/amd-ci retry |
|
✅ Queued 1 failed job(s) for retry in Buildkite AMD CI #12849. |
| (8192, 1024), | ||
| (8192, 32768), | ||
| } | ||
| rdna4_tuned = gfx950_tuned | { |
There was a problem hiding this comment.
Are the RDNA4 configs now live in AITER?
Purpose
vllm/_aiter_ops.pyhad hardcoded GEMM shapes and pandas scraping of aiter config CSVs. All of it had to be hand-maintained as aiter retunes. aiter already answers this directly, so this PR deletes the hardcoded data and callsget_gemm_config(returnsis_tuned) andget_GEMM_config_with_quant_type(returnsNonewhen untuned) instead.Also fixes three latent bugs found while verifying:
K_file = 4 × packed bytes) while the caller passesweight.shape[1]= packed bytes, producing false positivesgfxandcu_numcolumns, so on gfx950 it claimed 3 gfx1250-only shapes were tuned.Testing
Ensure that all hardcoded tuned shapes are recognized by new code.
Triton — old hardcoded lists (gfx950):
is_triton_gemm_w8a8_tunedgfx950 setis_triton_gemm_afp4wfp4_presh_ws_tuned(20 entries)CK — every shape the old code accepted, on its own arch:
Serving benchmark —
amd/Llama-3.3-70B-Instruct-MXFP4-Preview, gfx950, TP=1,VLLM_ROCM_USE_AITER=1, random 1024→128, 200 prompts, concurrency 16:AI assistance (Claude) was used for this change. Changes reviewed by Andy.
Summary by CodeRabbit
Bug Fixes
Performance
Tests