Repository navigation
Conversation
|
Thanks @jschmied. We've read it against
One ask before our run:
A nit, take it or leave it: Once the ledger is in, we'll run Gemma 4 on a GB10, |
…es (ashhart#1554 option C) A Gemma 4 prompt pass takes TF_GEMMA4_CHUNK_SOLO rows (a multiple of the 512-row grid, up to 4096) while no other stream decodes, and the 512-row grid chunk once one does. The sliding rings, the prompt scratch and the stream byte count size on the larger value. Unset, nothing changes. Not beside a drafter's taps, or past 8 images in a prompt. The rule (the limits, the parse, "does another stream decode", the pass's rows) moves to core/lanes/solo_chunk.zig, backend-free; Flash Next's TF_FLASHNEXT_CHUNK_SOLO and GLM's TF_GLM_CHUNK_SOLO call it in place of their own copies. GB10, gemma-4-31b-it-4bit, --parallel 3, cold prompts, medians of 6 (A-B-B-A): 3.9k 4.225 -> 4.041 s, 15.6k 19.079 -> 18.081 s, 29.2k 40.844 -> 38.751 s (-4..-5 %). Decode gaps beside a filling 15.6k prompt: 0.6817 -> 0.6824 s mean. 4096 gains no more and takes 1.6 GiB more a stream than 2048. Replies byte-equal to main on every arm.
|
Thanks @ashhart. Done on
Lean checker, |
54c94ba to
5d5290d
Compare
What this changes
A Gemma 4 prompt pass takes
TF_GEMMA4_CHUNK_SOLOrows (a multiple of the 512-row grid, up to 4096) while no other stream decodes, and the 512-row grid chunk once one does. Rings, prompt scratch and the stream byte count size on the larger value. Unset, nothing changes. Not beside a drafter's taps, or past 8 images in a prompt.The rule moves to
core/lanes/solo_chunk.zig, backend-free. Flash Next'sTF_FLASHNEXT_CHUNK_SOLO(with its one-stream default of 8,192 kept) and GLM'sTF_GLM_CHUNK_SOLOcall it in place of their own copies.atc overlap --json: the rerun at posting hit its time limit and lists qwen3_5 cuda: readout streams fill in pieces of final-norm rows (#2324 step 2) #2384, qwen3_5 cuda: a plain BF16 checkpoint loads as a decision backbone, chat refused by name (#2324 step 1) #2383, moss image: serve pictures on CUDA (encoder, decoder and host for #1573) #2281, server: --unix-socket listens on an owner-only Unix socket instead of TCP #2389, hip: build and load the runtime on Windows #2178 and deepseek_v41: plan and emit a world of 3, host tests only #2325 with one shared file each, beside the file-level check: CUDA: a request's stats list its prompt pass widths for the 27B, GLM and Nemotron (stacked on #2293) #2304 conflicts inlanes.zig(adjacent line); flashnext cuda: prompt cache marks inside a chunk are kept on the way instead of cutting the pass #1866, core: a bounded ladder of intermediate prompt-cache checkpoints #1953 and the EXL3 stack EXL3 Flash Next on CUDA: one rank, offloaded experts, sm_120 gate (1/8) #1441-EXL3 Flash Next: draft lane guard for offloaded experts (8/8) #1446 and EXL3 Flash Next: host-resident K/V on the tier (6/8) #1522 conflict in Flash Next files or files this does not touch,cuda_lanes.zigbeing a one-word change here; profile: register the pool-page switches for Dory, Gemma 4, Spark2.5 and Nemotron's Metal paging #2306 CHANGELOG only; Living Weights on Gemma 4, step 2: the native GeGLU learner on CUDA and Metal (experimental, --slide refused) #2062, CUDA: every synchronous readback stages on integrated GPUs, as download does (#2102) #2289, lfm2: DSpark drafting with owned context and confidence scheduling #1394 clean.Checks on this head
sob-verify2, all rc=0):zig build -Dfixed-cpu test,test-cuda-host,test-kernel-contract test-golden test-server-security test-pull-security fuzz-cortheon,compile-cuda-testsarm and x86,check-release-paths,test-shared-lane-regressions-host test-gemma4-cuda-host, fmt,git diff --check,cuda_common_check.py.Receipt
--parallel 3 --context 49152 --no-drafts --prompt-cache-gib 0, one fresh server per arm, page cache dropped first, runs ordered base, new, new, base. main md5 f2a3b4bb, branch 395bef74.qwen3_5not touched, so the 27B MLX path is not on this change's path (the one shared file,lanes.zig, gains an import) and was not measured.TF_GEMMA4_CHUNK_SOLO=2048, median TTFT of 6 values, per-server medians in brackets:gemma4 Gemma glm flashnext Flash, both arms:SUMMARY 83 kernels: 83 pass gates 1-4, 0 fail, 2 known findings; 6 controls: 6 red as planted, 0 missed; 9 limit problems. Exit status 1 on both from the limit problems alone, FAIL names new 0.Notes for the reviewer