[ROCm] Add env to enable/disable aiter triton gemm #28321
+8
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
#26969 added usage of AITER gemm_a16w16 for GEMM ops on AMD for valid shapes. However, it passes a bias term to
gemm_a16w16that was only added to AITER in ROCm/aiter#1148 (merged Oct 28).Some are still using an older version of AITER. For backward compatibility, we should have an option to disable using this AITER triton gemm kernels.
Test Plan
Test Result
Checked that
VLLM_ROCM_USE_AITER_TRITON_GEMM=0disables it and by default on.Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.