Add: test alternating matmul-add on host build graph - #1785
Conversation
Port all three cases with the same parameters, signatures, and golden as the tensormap-and-ringbuffer test. Reuse the existing orchestration and incore kernel sources so both runtimes exercise the same graph.
|
Warning Review limit reached
Next review available in: 59 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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 (2)
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
host_build_graphcounterpart of all threealternating_matmul_addcases.This is one workload-sized part of #1727.
Performance
Measured on one locked a2a3 NPU through
task-submit: eight adjacent TMR/HBG pairs, alternating order, ten rounds per process and case, with each case's first round excluded (72 steady samples per runtime/case).The production-sized cases improve on device. The one-matmul/one-add
defaultcase is too small to amortize HBG's fixed graph-build cost and regresses as expected. Case1's paired device change is-6.07%(95% CI-9.61%to-2.39%); Case2 is-4.25%(-10.19%to+2.09%).These measurements used simpler base
7b3a9754and PTO-ISA pin0cefc9a5a1c24c62655cc345d408559595a8af32. Main later merged #1763, which removes redundant HBG arena initialization and explicitly leaves device time unchanged; the device comparison remains representative, while the host/bind values above are conservative pre-#1763 measurements.Performance job:
task_20260811_004737_99227219015(NPU 3, exit 0).Testing
task_20260811_004643_94395715733