mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #845] [CLOSED] verify: batch windows honor the all-resident stage (no host doorbells) #2865
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2865
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/845
Author: @Yoshiki-Matsuda
Created: 10/4/2026
Status: ❌ Closed
Base:
main← Head:fix/batch-all-resident-split📝 Commits (1)
922ac04verify: batch windows honor the all-resident stage (no host doorbells)📊 Changes
1 file changed (+32 additions, -1 deletions)
View changed files
📝
src/core/verify.cpp(+32 -1)📄 Description
Combining
--layer-splitwith--batch(parallel >= 2) killed the engine: "verify batch: layer 36 never rang (graph finished)", exit code 1.Cause: #646's all-resident optimization plans on the device and raises no host doorbells, and the solo path (
run) branches around its per-layer host service for such a stage.run_slot_rowsdid not: it spun on the doorbell ring for every layer of the resident stage (the 36-47 stage on the second GPU), waiting on a ring nothing rings, until the 20 s timeout ended the engine. Solo-only sessions never hit it; the batch window is the first path throughrun_slot_rows.Fix:
run_slot_rows: the same all-resident branchrun()makes - raise the PLE flag the graph's first wait reads, sync the stream, chain to the next stage or sample the rows.batch_poll: skip the per-layer service loop for an all-resident stage, and raise the PLE flag there too (the mirror case: stage 0 resident, stage 1 not).collect_profile()on the fast path so profiling keeps its numbers.Measured on RTX 5090 + RTX 3090, split 36, batch 2-3: 3 concurrent requests all complete, zero "never rang", batch windows run at ~1.9 rows avg.
python -m serve.test_parallel: 11 tests pass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.