Skip to content

fix(mla): refresh qh16 fp8 persistent decode HSACO for large page_id - #4341

Merged
valarLip merged 12 commits into
mainfrom
mla_global_qh16
Jul 30, 2026
Merged

valarLip merged 12 commits into
mainfrom
mla_global_qh16

Conversation

@fangche123

Copy link
Copy Markdown
Contributor

Rebuild gfx950 mla_a8w8_qh16_qseqlen1_gqaratio16_ps and _lse_ps kernels after fixing CKV page byte offset (use v_mul_lo_u32 with v_mul_hi_u32) so kv_indices with page_id >= 2^24 and byte offsets beyond 4GiB address correctly.

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

Rebuild gfx950 mla_a8w8_qh16_qseqlen1_gqaratio16_ps and _lse_ps kernels
after fixing CKV page byte offset (use v_mul_lo_u32 with v_mul_hi_u32) so
kv_indices with page_id >= 2^24 and byte offsets beyond 4GiB address correctly.
Rename loop variable l to label in pytest boundary fixture listcomp.
@fangche123
fangche123 requested review from a team and Copilot July 23, 2026 02:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter op tests (gfx942 + gfx950)
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:triton-300x Run an additional Triton test job on MI300X in PRs; main branch always runs both MI35X and MI300X
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: GPT-OSS-120B, DeepSeek-R1-0528, Kimi-K2.5
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 4341 --add-label <label>

Use qh16_fp8 preset and persistent kernels by default so local runs match
PR #4341 HSACO coverage, skip mega golden OOM, and avoid nps page_id_2p24
failures on unrebuilt legacy .co files.
@zufayu
zufayu requested a review from yzhou103 July 24, 2026 01:32
Comment thread op_tests/test_mla_ltx.py Resolved
@valarLip
valarLip merged commit ceccccd into main Jul 30, 2026
65 of 67 checks passed
@valarLip
valarLip deleted the mla_global_qh16 branch July 30, 2026 01:34
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.

5 participants