Skip to content

[WIP][Perf][ROCm] Route gfx942 fp8_mqa_logits to AITER's Gluon kernel#48581

Draft
haosdent wants to merge 1 commit into
vllm-project:mainfrom
haosdent:fix-48576
Draft

[WIP][Perf][ROCm] Route gfx942 fp8_mqa_logits to AITER's Gluon kernel#48581
haosdent wants to merge 1 commit into
vllm-project:mainfrom
haosdent:fix-48576

Conversation

@haosdent

@haosdent haosdent commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Purpose

Follow-up to ROCm/aiter#4232, which adds a native-fp8-MFMA Gluon fp8_mqa_logits scoring kernel for gfx942 (MI300X). Once vLLM's pinned AITER carries that kernel, gfx942 no longer needs vLLM's vendored stopgap, so this removes it:

  • Pin AITER to a commit (git clone + git checkout instead of --branch) so it can be bumped to the aiter#4232 merge SHA and pull the gfx942 Gluon kernel into the ROCm image.
  • Drop the _ON_GFX942 short-circuit in rocm_fp8_mqa_logits so gfx942 falls through to the AITER fp8_mqa_logits path, which now dispatches the Gluon kernel on gfx942.
  • Delete the vendored vllm/v1/attention/ops/triton_fp8_mqa_logits.py.

Net effect on gfx942: the DSA lightning-indexer scoring kernel runs AITER's native-fp8-MFMA Gluon kernel (1.84x the generic Triton fallback at the GLM-5.2 indexer shape) instead of the input_precision="ieee" f16-upcast fallback.

WIP: AITER_COMMIT in docker/Dockerfile.rocm_base is a placeholder. It must be set to the aiter#4232 merge SHA on ROCm/aiter:main before this leaves draft. Blocked on that merge.

Test Plan

Test Result

@mergify mergify Bot added rocm Related to AMD ROCm v1 labels Jul 14, 2026
@github-project-automation github-project-automation Bot moved this to Todo in AMD Jul 14, 2026
Follow-up to ROCm/aiter#4232, which adds a native-fp8-MFMA Gluon
fp8_mqa_logits kernel for gfx942 (MI300X). Once vLLM's pinned AITER carries
it, gfx942 no longer needs the vendored stopgap:

- Pin AITER to a commit (git clone + checkout instead of --branch) so we can
  bump it to the aiter#4232 merge SHA and pull in the gfx942 Gluon kernel.
- Drop the _ON_GFX942 short-circuit in rocm_fp8_mqa_logits so gfx942 falls
  through to the AITER fp8_mqa_logits path, which now dispatches the Gluon
  kernel on gfx942.
- Delete the vendored vllm/v1/attention/ops/triton_fp8_mqa_logits.py.

WIP: AITER_COMMIT is a placeholder until aiter#4232 merges; set it to the
merge SHA on ROCm/aiter:main before this leaves draft.

Signed-off-by: haosdent <haosdent@gmail.com>
@haosdent haosdent changed the title [WIP][Perf][ROCm] Add native-fp8-MFMA Gluon fp8_mqa_logits kernel for gfx942 (MI300X) [WIP][Perf][ROCm] Route gfx942 fp8_mqa_logits to AITER's Gluon kernel Jul 14, 2026
@mergify mergify Bot added the ci/build label Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build rocm Related to AMD ROCm v1

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant