Repository navigation
EXL3 Flash Next: host-resident K/V on the tier (6/8) - #1522
BlivionIaG wants to merge 247 commits into
Conversation
f6ec41c to
2af002f
Compare
a0583b1 to
5809006
Compare
05f8933 to
41de356
Compare
41de356 to
86f499c
Compare
86f499c to
d7d6a59
Compare
d7d6a59 to
f402526
Compare
|
Thanks @BlivionIaG. We reviewed this PR's own commit on #1501 independently. Off, it's main exactly: the same arena bytes and layout, and the one-plane kernels get
With those, it lands together with #1501. |
f402526 to
8e51ea9
Compare
|
TP2 sampled-drafted restore diagnostic on the explicitly non-public composite Both clients exited 0. Both initial tier-on lanes and all cache-disabled references reported 0 cached tokens. All eight cold/warm/branch/rewind full token hashes matched their same-build cacheless drafted reference; for this fixture they also matched the separate unmodified-head cacheless plain sampled reference (not a general sampled-draft identity claim). Both ranks logged seven tier streams each, 40 pages / 39 flushed and nonzero fetches. Server receipts show nonzero draft proposals and acceptance in every request. Full logs, reference/verification JSON, adapted client and build provenance retained. Not an integrated-head, four-stream-drafted or paged-all qualification. |
|
Matching TP1 sampled-drafted restore diagnostic passed on the explicitly non-public composite Both clients exited 0. Both initial tier-on lanes and all cacheless references reported 0 cached tokens. All eight cold/warm/branch/rewind full token hashes matched the corresponding same-build cacheless drafted reference and the separate TP2 drafted reference; in this fixture they also matched the separately run unmodified-head cacheless plain sampled reference, not a general sampled-draft identity claim. The tier logged four streams, each 40 pages / 39 flushed and nonzero fetches; every request recorded nonzero draft proposals and acceptance. Raw logs, JSON, client and build provenance retained. This is not integrated-head, four-stream-drafted or paged-all qualification. |
|
Four-request TP2 drafted greedy restore diagnostic passed on the explicitly non-public composite Both clients exited 0. Every initial tier-on lane and all cacheless references reported 0 cached tokens. All 16 cold/warm/branch/rewind full token hashes matched both their same-build cacheless drafted references and the separate unmodified-head cacheless plain references. Both ranks logged 15 tier streams each, all 40 pages / 39 flushed with nonzero fetches. Server receipts show nonzero draft proposals and acceptances in all 16 requests. Submitting four together is not an independent measurement of their exact execution overlap. Raw logs, JSON, adapted client and build provenance retained. Not integrated-head, sampled-four-drafted or paged-all qualification. |
|
Four-request TP2 sampled-drafted restore diagnostic also passed on the explicitly non-public composite Both clients exited 0. Every initial tier-on lane and all cacheless references reported 0 cached tokens. All 16 cold/warm/branch/rewind full token hashes matched their same-build cacheless drafted references; for this fixture they also matched the separate unmodified-head cacheless plain sampled references, not a general sampled-draft identity claim. Both ranks logged 15 tier streams each, all 40 pages / 39 flushed and nonzero fetches. Server receipts show nonzero draft proposals and acceptances in all 16 requests. Four simultaneous submissions are not an independent measurement of exact execution overlap. Raw logs, JSON, adapted client and build provenance retained. Not integrated-head or paged-all qualification. |
|
Public head One check to carry into the stack integration with #1501 is whether That fixture models the retired-slot state expected from the parent change. Please carry the sentinel check into the resolved stack and keep the sampled TP2 restore rerun tied to the integrated SHA. My results cover the host path. Igor Lessio - AIFLOW LABS |
|
I checked the missing #1501 guard on published The exact parent fix zig build test-kv-pool -Dcpu=apple_m1 -Doptimize=ReleaseSafe -j2 --summary all
zig build test-flashnext-exl3-host test-kv-safety-host \
-Dcpu=apple_m1 -Doptimize=ReleaseSafe -j2 --summary allThe published child still has 23 conflict paths against main Igor Lessio - AIFLOW LABS |
Avoid indexing tier state with the pool sentinel left by a retired page.
Keep main's nemotron chunked-prefill shape and the strict environment rows: the chunk-solo row takes 0 (off) and a real keeps main's untrimmed text. The EXL3 receipts cover the pending launches only, and the prompt rows keep 13.3's numbers, so the tests assert that. resumeKept keeps anytype; the host-tier test takes the lane type as a parameter.
…p graphs Main's 630eeda removed the eager guard and tests the graphs with a collective attached; the merge kept the older guard. Adopt main's runPiece and runGroup conditions.
The merge kept both the branch's reuse() call and main's resumeKept() calls, so a rank restore ran twice and the second ack timed out into poison(). Keep main's ordering and fold the branch's refusal warnings into resumeKept.
ArrayList.toOwnedSlice remaps in place when it can, so the pack reader's allocation count varied with allocator state and checkAllAllocationFailures reported NondeterministicMemoryUsage. Duplicate the slice so the count is fixed.
|
Thanks @AIFlowML for the #1501 guard check; it is carried here too (
Head |
|
Thanks @BlivionIaG. Two smaller fixes are needed before this can land. The lockstep digest of the host KV tier covers the mapping, generations, LRU order, pins, holders and promises, but not which pages are dirty. Two ranks with different unflushed writes can report equal digests. Please include the dirty state. Also, if a later lane's index-table allocation or lane-selection setup fails while the host-tier lanes are created, the current lane's index table and the earlier lanes' index tables and lane-selection buffers are not released. Please free all three on that error path, as normal teardown does.
|
- a rank holding an unflushed page it cannot evict no longer matches one that flushed, so the open check sees it
|
Both fixes are in on
While merging current main I moved the EXL3 rows out of the central settings table into
|
|
Thanks @BlivionIaG. Both are fixed on
That's everything from our last note. The stack still lands in order, and the next step there is ours.
|
|
Thanks @BlivionIaG. Both requests from our last review are fixed: the digest includes which pages are dirty, and lane setup releases the failing lane and earlier lanes through the shared teardown. The new tests cover dirty-page differences and device allocation failures across three lanes. The stack remains held for ordered integration and the integrated-head tier-on/off, eviction and restore checks, including paged-all. The older composite diagnostics remain separate evidence. Integration stays on our side; there is no further change requested for those two fixes.
|
|
Merged |
This branch adds f64 to the contract's Accum. The Inkling 2 glue and SenseNova mHC Metal fixtures and the Inkling 2 modelopt CUDA fixture came from main with exhaustive switches over it; f64 maps to their unrounded none, as rows.zig and rounding_bound.zig map it.
A merge of main took main's info(gpu) call, while this branch keeps info in runtime_tests.zig, so tf-cuda-test did not compile (zig build compile-cuda-tests).
|
CI on |
Summary
Attach the shared host K/V tier to EXL3 Flash Next with separate indexer-plane views. The tier is off by default.
a8126820454c8dfe3e3c1af4608d8d2ab98259cc. The maintainer is handling restacking, including the later EXL3 Flash Next: KV pages from the core pool (4/8) #1444 paging fix and EXL3 Flash Next: CUDA graphs and the device planner (7/8) #1445 bounded-scratch fix.Current-head evidence
Two RTX 5060 Ti 16 GiB GPUs, CUDA 13.4.92, Zig 0.17.0;
turboderp/Qwen3.8-Flash-Next-exl3revision69e33439ae950f17bcbe95c98f117d80f759ab6d.flashnext-pagespassed with a retained exit status of 0. The host tier/pool suite passed 74/74. Page rerun, host suite.Diagnostic composite, not the PR head
a812682plus an isolated copy of #1445's bounded head-scratch calculation passed TP1/TP2 two-lane drafted greedy and sampled restore, and TP2 four-request drafted greedy and sampled restore, with cache-disabled reference hashes and logged flush/fetch. This is not the integrated head or paged-all qualification. Four-request greedy, sampled.Open
Repeat tier parity, cacheless-reference restore, contracts and one/four-stream TP1/TP2 cost on the integrated head, including paged-all and actual eviction/restore evidence. Maintain the distinction between shared-prefix cache reuse and independently cold lanes. The maintainer owns the main-versus-tier-off comparison, stack integration and CI. Main refuses this checkpoint, so it is not a runnable checkpoint-performance baseline on this box.
Earlier model-fidelity testing found 70/72 top-token matches against an independent reference; no tie waiver or perfect-equivalence claim. No checkpoint weights are distributed; the checkpoint uses Qwen Community License 1.0.