Repository navigation
feat(flashnext): read the chunk settings through the startup parser - #3591
Conversation
|
Thanks @devopsfortunato. Both chunk settings now go through the startup table with the same bounds and defaults, so a blank value reads as unset and a bad one is refused at startup by name. Naming the solo-below-busy mistake is a nice touch. CI is green at Nothing more is needed from you. It's in our landing queue, and when it lands we'll add #3591 beside #3308 on the changelog line.
|
86835ae to
d1a0d30
Compare
|
Thank you @devopsfortunato. 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. |
|
Landed as 25de9d7, thank you @devopsfortunato. Your commit is in as you wrote it, with #3591 added beside #3308 on its changelog line, and you'll be credited in the release notes.
|
What this changes
Flash Next's two chunk settings were read with a bare
parseIntin the family: a malformed value failed with an unnamedBadChunk, and an empty or whitespace-only value was refused instead of reading as unset.TF_FLASHNEXT_CHUNKandTF_FLASHNEXT_CHUNK_SOLOnow register as rules inplatform/environment.zig's table and are read through the shared startup parser, so a malformed value stops the load naming the variable, the supplied text and the accepted forms, and empty or whitespace-only text reads as unset like every other setting. Valid values and all defaults are unchanged; the one behavior change is empty-as-unset. The cross-setting rule (a solo chunk below the chunkTF_FLASHNEXT_CHUNKresolves to) stays in the family and its refusal names that setting.6bc82acac).atc overlap --json: run from the working tree against6bc82acac. Coverage incomplete (otherPullRequestsLimit,pullFilesUnavailable,timeLimit), so conflicts were verified withgit merge-treecontrols: the files flagged against Nemotron 3.5 Bolt (nemotron_h_puzzle) on Metal — serves end to end #1038, ocr: PDF documents and pages on /v1/ocr, one page at a time (#2440 step 2) #2571, GLM on CUDA: owner-only latent rows and owner-computed attention (TF_GLM_KV_SPLIT, #1431 part 2; stacked on #2415) #2935, GLM on CUDA: the prompt history fetch under the latent split (TF_GLM_KV_SPLIT, #1431 part 3; stacked on #2935) #2937 and GLM on CUDA: kept states, carries and prompt twins under the latent split (TF_GLM_KV_SPLIT, #1431 part 4; stacked on #2937) #2938 conflict identically against plain main (inherited). cuda: GLM, MiniMax and Nemotron placed from one launch, by flags or aliases (T1b of #2560) #2919 is the one this branch adds: one generated row,zig/tests/fixtures/gradient-serving.tsv, whosecuda_lanes.zighash this branch updates (test-only edit of that pinned file). Disclosed here; happy to rebase or re-pin once cuda: GLM, MiniMax and Nemotron placed from one launch, by flags or aliases (T1b of #2560) #2919 lands.Checks on this head
86835ae52python3 tools/zig/lean_check.py, on the base and on this head: base 221, head 221, 0 new (tools/pr_check.py --base 6bc82acac).zig build test-environment-host -j2success.zig build -Dfixed-cpu test-cuda-host -j2: 136/136 passed in the final rerun (an earlier concurrent full-suite run had 1 fail incuda_disk_test, which passes in isolation here — labeled contention flaky, unrelated subsystem).zig build -Dfixed-cpu test test-kernel-contract test-golden test-gradient-serving test-qwen-serving-host test-server-security test-pull-security fuzz-cortheon -j2 --test-timeout 10m: 8391/8462 passed, 70 skipped, 1 failed (the samecuda_disk_test, rerun green alone above).test-kernel-contract172/172,test-gradient-serving1/1 with the repinned manifest.pytest -q: 511 passed, 93 skipped, 2 failed —tools/zig/zig_cache_restat_test.pyboth timing out at its 300 szig buildbudget: this board (4-core ARM, mmc storage) needs ~8m50s for a cold hello-worldzig buildwith the test's fully-cold local+global cache, so these two cannot pass locally on hardware grounds; they are exercised unchanged in CI.zig fmt --check build.zig zig,git diff --check: clean.Receipt
n/a — host-side environment parsing only; this change cannot reach inference without a GPU (confirmed in #3308).
TF_FLASHNEXT_CHUNK1536;TF_FLASHNEXT_CHUNK_SOLOunset = larger of the chunk and 8192 alone at--parallel 1, else off).6bc82acac, Zig 0.17.0, host ARM (no GPU), no checkpoint (host tests only).tools/bench_concurrent.py --alone --serialortoken_shaagainst"draft": false: n/a, no inference path on this host.tools/bench_openai.py: n/a.Checklist