Repository navigation
Conversation
…d_archs in aiter_meta Signed-off-by: Chris <[email protected]>
Contributor
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
|
zufayu
requested review from
amd-ruitang3,
valarLip and
zufayu
and removed request for
amd-ruitang3,
valarLip and
zufayu
August 26, 2026 01:14
Contributor
|
No activity for 15 days, so this is now labelled |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Fixes an engine initialization crash (
AssertionError: One of GPU archs of ['gfx1201'] is invalid or not supported) during sampling setup when running vLLM with AITER enabled on AMD RDNA4 GPUs (gfx1201, e.g., Radeon AI PRO R9700).Root Cause
When vLLM executes AITER sampling kernels (
top_k_top_p_sampling_from_probs),aiter_metainvokesvalidate_and_update_archs()to validateGPU_ARCHSagainst anallowed_archswhitelist.In
csrc/cpp_itfs/utils.py,allowed_archslistedgfx90a,gfx940-950,gfx1151, but missedgfx1201. As a result, running sampling ongfx1201threw an unhandled assertion failure and failed vLLM'sEngineCorestartup.Fix
"gfx1201"architecture toallowed_archsincsrc/cpp_itfs/utils.py.Test Plan
Unit Verification:
Tested
validate_and_update_archs()under Python withGPU_ARCHS="gfx1201":python -c "import aiter_meta.csrc.cpp_itfs.utils as u; print(u.validate_and_update_archs())"Output:
['gfx1201']Integration / E2E Test on AMD GPU (
gfx1201):Launched
louismuk/gemma-4-26B-A4B-heretic-AWQwith AITER sampling enabled:Test Result
EngineCoreinitialized and started serving HTTP requests.AI Assistance Disclosure
This pull request includes code modifications refined with assistance from an AI assistant (Gemini). All changes have been manually reviewed, validated, and verified end-to-end on hardware (
gfx1201).Co-authored-by: Gemini
Signed-off-by: Christopher Lange [email protected]