Skip to content

perf(musa): select AOT and JIT tiles by active MP - #202

Draft
yeahdongcn wants to merge 1 commit into
v0.28.0-devfrom
codex/musa100006-opbench-v028
Draft

yeahdongcn wants to merge 1 commit into
v0.28.0-devfrom
codex/musa100006-opbench-v028

Conversation

@yeahdongcn

@yeahdongcn yeahdongcn commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Select vLLM-MUSA AOT/JIT tiling and dispatch tactics from the runtime MUSA
multi-processor count and validated shape/graph fences. Unsupported shapes keep
the established fallback implementation.

This pull request contains the implementation and reproducible benchmark
harness. Device-specific qualification receipts are kept in the ticket-linked
private evidence bundle and are intentionally not published here.

Production changes

  • Qwen folded-BF16 MoE dispatch has exact runtime hardware/shape/graph policy
    keys with fail-closed fallback behavior.
  • DeepSeek-V4 GEMV/O-proj uses an exact runtime MP/shape policy where the
    production ABI exposes a safe selector.
  • Top-k, RMSNorm, and provider-owned attention paths remain on their existing
    fallback unless a production-safe selector seam exists.
  • Benchmark-only controls stay in the benchmark harness; the serving path does
    not read benchmark override variables.
  • GDN, FlashAttention, and FlashMLA remain MATE-provided and outside this PR.

Publication boundary

  • benchmarks/kernel_tactics/full_kernel_sweep.json is a source-only callable
    and physical-kernel inventory. It has no timing, result, host, UUID, driver,
    lease, image, or archive metadata.
  • benchmarks/kernel_tactics/mp_tactic_campaign.json is a portable benchmark
    recipe. Device and fleet qualification parameters are supplied at runtime.
  • Model shape JSON files contain only public workload-shape inputs.
  • generated/ is ignored and is not part of the source distribution. Do not
    commit result JSON, device fences, hostnames, package receipts, or timing
    samples.

Validation

  • Static source, catalog, campaign, and benchmark-contract tests pass in the
    clean checkout.
  • MUSA model/operator validation was run separately; the exact hardware and
    runtime receipts remain ticket-local and are not reproduced in this public
    description.
  • CI and independent reviewer/QA sign-off remain pending.

Review limits

  • Coverage is limited to the declared workload recipes and exact runtime policy
    keys; unknown hardware/shape combinations fail closed.
  • A benchmark win is not treated as an end-to-end claim without a production
    path and model-level gate.

History

The branch was rebuilt as a single commit on the current v0.28.0-dev base so
machine-specific qualification receipts are no longer part of the branch
history. Please review the current head after the history rewrite.

@yeahdongcn
yeahdongcn marked this pull request as ready for review August 30, 2026 17:18
Comment thread vllm_musa/deepseek_v4_mhc.py Resolved
Comment thread vllm_musa/tuning.py Resolved
@yeahdongcn
yeahdongcn force-pushed the codex/musa100006-opbench-v028 branch from 282c981 to 2da5f4b Compare August 31, 2026 09:03
@yeahdongcn
yeahdongcn marked this pull request as draft September 24, 2026 06:20

This branch has not been deployed

No deployments
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