Repository navigation
EXL3 Flash Next on CUDA: one rank, offloaded experts, sm_120 gate (1/8) - #1441
BlivionIaG wants to merge 25 commits into
Conversation
7790cd9 to
dc22001
Compare
|
Thank you for splitting #1113 into a chain and for the clear write-up. A pilot gated to sm_120 with a named refusal is
Once those are done, what remains is the pending repo-client receipts and a concurrent-equals-solo run on this slice. |
c0b2466 to
286f86d
Compare
68ddf3c to
f556fd6
Compare
f556fd6 to
8ab0b51
Compare
c999115 to
725041a
Compare
|
Thanks @BlivionIaG for the update. This slice is much tighter now. As far as we can see, the int8 KV cache, the shared EXL3 changes, the out-of-family comment edits and the local paths are gone, and the mapped-host embedding table is limited to EXL3 packs. A few things remain:
After that, we still need the repo-client receipts and a concurrent-equals-solo run on this slice. |
6889227 to
d33a985
Compare
d33a985 to
1e61c49
Compare
cbf7fda to
965606f
Compare
Admit window, MTP head and decode captures only when their pass has no host-planned expert pool; keep resident and rollback graphs available.
Recompute the actual merged-file pins for the 19 intentional ashhart#1441 serving source changes; no source or approved-list change.
…t cases Main now names a TF_FLASHNEXT_CHUNK the table refuses at startup, so 0, 16385 and 4k end in error.InvalidEnvironment before the reader's BadChunk. The test moved to cuda_lanes_admission_test.zig keeps that expectation and its comment.
runPiece and runGroup now ask window_graph.admits(p.m.layers), so the fake Scratch in cuda_mtp_graphs_test.zig gets an m with no layers: no pooled EXL3 experts, so the graphs it checks still run as before.
Main's ashhart#3308 rows (scope flashnext) stay; the series' second .cuda rows for the same names go, since rule() returns the first row and the SOLO one refused 0 that main accepts and the reader refuses. SOLO's forms and its doc row say an EXL3 pack refuses it; the duplicate doc rows and the SOLO 0 refusal case go.
The EXL3 serving line and the startup refusal line stay under Unreleased; the test, register-count, read-ahead, rank-scratch, negative-zero, graph-capture, reduction-detail and CPU-only server lines describe internals and go. # Conflicts: # CHANGELOG.md -- 2.54.0 (Apple Git-157) -- 2.43.0
Its bytes changed with main's InvalidEnvironment cases for the moved test.
|
I checked the first EXL3 patch zig build test-environment-host test-flashnext-exl3-host test-gradient-serving check-native-cuda-host -Dcpu=apple_m1 -Doptimize=ReleaseSafe -j3 --summary all
zig build compile-cuda-tests -Dtarget=aarch64-linux-gnu -Dcpu=baseline -Doptimize=ReleaseSafe -j2 --summary allBoth exited 0 with Zig 0.17.0 on M5 Max. The first passed 126/126 tests and built the Linux ARM64 CUDA native runner. The second compiled the Linux ARM64 CUDA test executable. The GPU run and final train CI remain open. Igor Lessio - AIFLOW LABS |
Current head:
ffe81a4bfb, merged with mainbaed910096and moving the EXL3 release notes back to Unreleased. On earlier headd4da1bacab,test-environment-host,test-gradient-servingandtest-flashnext-exl3-hostexited 0 on Darwin arm64. Device measurements below were not repeated on this head. An earlier Linux Zig CI job was canceled duringzig build test-hostafter about an hour, matching its then-60-minute job limit; it was not a passing result.Current-head
tools/pr_check.py --base upstream/main --pr 1441: 0 errors, 0 warnings, 0 new lean findings.What this changes
EXL3 single-rank Flash Next loading, offloaded experts and the sm_120 kernel contracts. Expert leaves are float64 with fixed-tree merges, rounded once to float32 at the root.
6c5cef8941, merged throughbaed910096.atc overlap --jsonagainst four known peers (Flash Next TP=2 on CUDA: head and rollback graphs replay, and one-row split lanes skip the interleave copies #2837, flashnext cuda: the opt-in --tp 2 decode graph (TF_FLASHNEXT_DECODE_GRAPH=1) serves again instead of failing its first plain round #2980, flashnext cuda: the opt-in --tp 2 decode graph takes the dense split and keeps its graph across drafted verifies #2982, flashnext: the MTP head's streams by row through the lease's pages, no per-lane block outside the pool (#2444 P3, F2 part c) #2992) only, run on the integrated stack before the latest merges of main; not a global clearance. Conflicting files: Flash Next TP=2 on CUDA: head and rollback graphs replay, and one-row split lanes skip the interleave copies #2837 2, flashnext cuda: the opt-in --tp 2 decode graph (TF_FLASHNEXT_DECODE_GRAPH=1) serves again instead of failing its first plain round #2980 6, flashnext cuda: the opt-in --tp 2 decode graph takes the dense split and keeps its graph across drafted verifies #2982 8, flashnext: the MTP head's streams by row through the lease's pages, no per-lane block outside the pool (#2444 P3, F2 part c) #2992 6. Owner composition agreements exist for flashnext cuda: the opt-in --tp 2 decode graph (TF_FLASHNEXT_DECODE_GRAPH=1) serves again instead of failing its first plain round #2980, flashnext cuda: the opt-in --tp 2 decode graph takes the dense split and keeps its graph across drafted verifies #2982, flashnext: the MTP head's streams by row through the lease's pages, no per-lane block outside the pool (#2444 P3, F2 part c) #2992; my notice on Flash Next TP=2 on CUDA: head and rollback graphs replay, and one-row split lanes skip the interleave copies #2837 is unanswered.Checks before the release merge
d954f1232d. The device results below ran on7cd3e412c41a; this head differs from it by the merges of main at0591c4e85d,c34ff562ca,a3aecd8d0fand484437b6ac(conflicts resolved incuda_batch_moe.zig,cuda_batch_state.zig, the CUDA runner help,CHANGELOG.md, the fixture and one upstream test that callspassRules) and the pin fixturegradient-serving.tsv. The device cells were not repeated on this head.python3 tools/pr_check.py --base <main> --pr 1441: exit 0, 0 errors, 0 warnings; lean 339 vs 341 on main, 0 new.zig fmt --check zig: clean.test-cuda-host,test-exl3-cuda-host,test-flashnext-exl3-host,test-exl3-prompt-host,compile-flashnext-host,test-flashnext-memory-host,test-qwen-serving-host,test-lane-api-hostandtest-lanes-seepassed on an earlier integrated EXL3 Flash Next: draft lane guard for offloaded experts (8/8) #1446 head on Darwin arm64; the full list was not rerun on this head.Device results on
7cd3e412c41aTwo 16 GB sm_120 GPUs, Linux x86_64, checkpoint above. One run per cell unless stated.
kernel-contract exl3 flashnext(filtered)1441-serve-tp11441-tf,-pack,-layer,-pool1441-tfc,1441-genUnsupportedCheckpoint.Not run or open
--jobs 4unfiltered run on test(cuda): opt-in --jobs and --shard for kernel-contract #3093's head (main plus the runner change) gave 625 kernels pass, 410/410 controls red, 546 limit problems.Receipt
turboderp/Qwen3.8-Flash-Next-exl3at69e33439ae950f17bcbe95c98f117d80f759ab6d.Review requests implemented in source
environment: video refusal describes the token budget without advertising a storage maximumis back byte for byte beside the unsigned-budget test.moe_f32branch as production does.Checklist
"draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. Drafted: n/a, no drafts before EXL3 Flash Next: expert-parallel TP=2 (same tokens as TP=1) and MTP drafts (2/8) #1442. Resumed equals cold: a chat turn resumed at 3072 and 4096 rows gives the same 48 token ids. Concurrent equals solo: 12/12 rows.--drafter, no slower than without it. n/a against main (main refuses this checkpoint). Measured: decode about 15 tok/s greedy at one stream, 41 aggregate at four.