Skip to content

fix(pa): select the arch-native fp8 dtype in the metadata grid tuner - #984

Open
zjin-lcf wants to merge 1 commit into
ROCm:refactor/pa-metadata-tile-programmingfrom
zjin-lcf:fix/pa-metadata-tuner-gfx950-fp8
Open

fix(pa): select the arch-native fp8 dtype in the metadata grid tuner#984
zjin-lcf wants to merge 1 commit into
ROCm:refactor/pa-metadata-tile-programmingfrom
zjin-lcf:fix/pa-metadata-tuner-gfx950-fp8

Conversation

@zjin-lcf

@zjin-lcf zjin-lcf commented Aug 7, 2026

Copy link
Copy Markdown

The tuner built its K/V tensors as e4m3fnuz unconditionally. gfx950 consumes OCP e4m3, and the exponent-bias difference scales the decode output by 2x, so the tuner benchmarked correctly but then failed its own correctness gate and could not produce grid entries on gfx950. Pick the dtype from the runtime arch, matching the existing convention in qk_norm_rope_quant.py.

The tuner built its K/V tensors as e4m3fnuz unconditionally. gfx950
consumes OCP e4m3, and the exponent-bias difference scales the decode
output by 2x, so the tuner benchmarked correctly but then failed its own
correctness gate and could not produce grid entries on gfx950.

Pick the dtype from the runtime arch, matching the existing convention in
qk_norm_rope_quant.py.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant