moe: harden W4A16 planning, tails, and capture resolution - #110
moe: harden W4A16 planning, tails, and capture resolution#110voipmonitor wants to merge 22 commits into
Conversation
|
Warning Review limit reached
Next review available in: 43 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (16)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Combine two compatible W4A16 hardening series on current
master:This supersedes #108 and #109. Those PRs were independently mergeable against
master, but either merge order conflicted in their shared E2E test file. This PR preserves both commit series, resolves the single mechanical import conflict by retaining both imports, and adds one final repo-version Ruff formatting commit. Runtime changes merged without manual conflict resolution.Planner and tail correctness
max_tokens.fused_moe.required_nbytes(Caps)without compiling a launch.For the documented 64-token planning case, the non-full W4A16 arena falls from 94.94 MiB to 30.03 MiB per rank. Aligned production shapes retain their established launch geometry.
Capture contract
Verification
Combined focused suite on the r16 dependency image:
The suite covers compiler cache behavior, fused/EP planning, Trellis, route packing, replay, non-aligned native shapes, and W4A16 E2E cases. Ruff 0.15.12 lint and format, plus
git diff --check, pass across all 16 changed Python files.No merge is performed by this PR creation.