Repository navigation
load prefetch: the allocation-failure test refuses resizes, so it passes at any checkout path length - #5772
Conversation
|
Thanks @Bizuayeu. This is a clear find with a clean fix that only touches the test. The table makes the case: from a 24-character checkout, main fails every run and this head passes every run. What I checked at
One optional question, not blocking: do you know which reader's count moved with the path length? If it's another growing path join, like the one This is ready. It needs no device run, so we'll land it after our local CI passes.
|
|
READY to land on this head. Reviewed at this head: only the load-prefetch test changes (resizes refused, as main's other allocation-failure tests do); no served file or switch moves, and this head's CI passed. Thank you!
|
MiniMax's, and this time it isn't a path join. On the GB10 at main I've left the commit as it is, so the head you marked ready stands. If you'd like |
|
Thanks, @Bizuayeu, that's a clear trace: MiniMax's
|
Opened as #5828: |
…ses at any checkout path length "every family balances allocation failures while readers may be live" passed or failed by the checkout's absolute path length, with NondeterministicMemoryUsage from checkAllAllocationFailures: the fixture's directory is a real path under the checkout's .zig-cache/tmp, and the readers allocate from it inside the check. It now hands the check a FailingAllocator that refuses resizes, as exl3_load's test has since ashhart#2377. Only the test changes.
83612d3 to
c71449f
Compare
|
Thank you @Bizuayeu. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
On a GB10 (aarch64),
test-load-prefetch-hostfrom worktrees of the same commit at different absolute path lengths, a fresh--cache-direach run so the test runs:20ddd967cfNondeterministicMemoryUsage)What this changes
load_prefetch_host's "every family balances allocation failures while readers may be live" passes or fails by the length of the checkout's absolute path, withNondeterministicMemoryUsagefromcheckAllAllocationFailures. The fixture's directory is a real path under the checkout's.zig-cache/tmp, and the readers allocate from it inside the check. The test now hands that check aFailingAllocatorthat refuses resizes, asexl3_load's test has since #2377 (#2413 was the same failure there). Only the test changes.af2d9b2ce0: the test failed from a 25-character worktree and passed from longer ones. On main20ddd967cf, from one worktree moved to each length, two runs each: 24 characters failed both times; 32, 40, 48, 56, 64 and 72 passed both times; pinned to 6 cores, 24 still failed and 72 still passed, so it follows the path, not the thread count.20ddd967cf); one commit: 1 file changed, 3 insertions(+), 1 deletion(-). It merges with main (eb89ebb451) cleanly;zig/load_prefetch_host.zighas not changed on main since.atc overlap --json: atc 0.9.4 withATC_READ_ONLY=1, run in this tree on 2026-11-30 at 23:54 UTC with--base 20ddd967cf:complete: false(otherPullRequestsLimit,pullFilesUnavailable,pullRequestsLimit,timeLimit), no pull request in its working tree's rows. Bygit merge-treeagainst each of the 355 open pull requests' heads, this head adds a conflict to none.Checks on this head
83612d38c6load prefetch: the allocation-failure test refuses resizes, so it passes at any checkout path length.tools/zig/lean_check.pyon the base and on this head (throughtools/pr_check.py --base 20ddd967cf): 88 problems on both, 0 new; import cycle edges 25 against 25, 0 new; cross-family edges 11 against 11 (1 allowed); 0 errors. No CHANGELOG line, as on other recent pull requests.zig build --cache-dir ... -Dfixed-cpu test-load-prefetch-host --summary all, base and head alternating);zig build -Dfixed-cpu test-cuda-hoston this head, 588 of 588 steps, 10,982 of 11,034 tests passed, 52 skipped, 0 failed.test-load-prefetch-host3 of 3 pass on both (the failure doesn't show on x86-64 at this length);git diff --checkclean;zig build -Dfixed-cpu test-cuda-hoston this head, 588 of 588 steps, 10,982 of 11,034 tests passed, 52 skipped, 0 failed.zig fmt --checkandzig ast-checkon the changed file,git diff --check, clean;test-load-prefetch-host3 of 3 steps, 12 of 12 tests passed (a 74-character path).fmt,zig,pytest,benchmark-clientsandcomfyui-moss-installerpass (runs 46548394725, No GPU, and 46548394736, Zig format); the rest are skipped.Receipt
83612d38c6on main20ddd967cf; Zig 0.17.0; a GB10 (aarch64, 4 KiB pages), WSL 2 (x86-64) and Windows; no GPU and no checkpoint (the test writes its own small safetensors file).tools/bench_concurrent.py --alone --serialortoken_shaagainst"draft": false: n/a (no served path).tools/bench_openai.py: n/a (no served path).SUMMARYline and exit status: n/a (no kernel contract run; host tests only).Checklist
"draft": false, a resumed prompt equals a fresh one, and concurrent equals solo (no served path changes).--drafter, no slower than without it, greedy and sampled (no served path changes).