Add: benchmark batch paged attention on host build graph - #1787
Conversation
Port the seven golden-valid cases with the same parameters, signatures, and shared golden as the tensormap-and-ringbuffer scene. Reuse its orchestration and incore sources so both runtimes execute the same graph. Give the two production-scale graphs a 512 MiB heap. Case3 remains excluded because the shared head_dim=256 kernels fail golden on both runtimes.
|
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 (1)
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 the seven golden-validbatch_paged_attentioncases.head_dim=256kernels fail golden on both runtimes.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).Paired device-wall changes (95% CI): Case1
-17.56%(-21.68%to-13.45%); Case2-28.09%(-29.09%to-27.09%). HBG device wall and runner time are consistently faster; the host increase comes from bind and validation.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_005329_223032522760(NPU 5, exit 0).Testing
task_20260811_005217_201289318187task_20260811_005052_157499517775(reproduces the existing golden failure)