Repository navigation
Conversation
…tion Standalone repro for two bugs in _gluon_deepgemm_fp8_paged_mqa_logits (Preshuffle=False) on 64-token-block page tables: * issue 1: HIP error 700 (illegal memory access) -- kv_indices are read per token position, running off block-level page tables. * issue 2: 5968/6000 polluted scores vs an fp32 reference -- the same out-of-contract reads land in valid-but-wrong memory, and KV addresses are formed without the in-block offset (only token 0 of each 64-token block is reachable). Root cause: the Preshuffle=False kernel is built for per-token paging (KVBlockSize=1, 132B/token interleaved) and was never exercised with KVBlockSize=64 + block-level page tables. Run: PYTHONPATH=. python tests/repro_paged_mqa_logits_preshuffle_false.py
Contributor
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
PR title tags & labels: |
Contributor
|
No activity for 15 days, so this is now labelled |
Contributor
|
test need add in aiter/op_tests/ |
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.
Summary
Root cause
Repro
Observed on MI350X (gfx950), ROCm 7.2, triton 3.7, on current main:
• Issue 2 reproduces first (no crash, wrong scores — the micro form of the
"long-prompt gibberish" symptom seen in production).
• Issue 1 then aborts with the illegal access.