Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
ce39aa8
glm cuda: NVFP4_NZ5 checkpoints, block 32's experts with E2M1's code …
Bizuayeu Nov 10, 2026
1894013
changelog: NVFP4_NZ5's line waits for landing
Bizuayeu Nov 11, 2026
3655cac
cuda source check: declare __vcmpeq2, which fp4pair_nz5 calls
Bizuayeu Nov 11, 2026
864b41d
cuda tests: nvfp4-nz5, contract_exl3 and dory_serve imported at their…
ashhart Nov 13, 2026
eec1529
changelog: #2894 under Unreleased
ashhart Nov 15, 2026
63a8668
nemotron metal: prefill runs a chunk a call, so a new prompt no longe…
ashhart Nov 12, 2026
b48287f
fix(metal): preserve Nemotron prompt overlap and cancelled progress
ashhart Nov 13, 2026
eed8ed1
changelog: #3054's line from lines/3054.txt in place of its own
ashhart Nov 15, 2026
20ad339
changelog: back under Unreleased
ashhart Nov 15, 2026
147db1b
fix(qwen3.5/cuda): yield background prefill between chunks
tacosta Nov 11, 2026
22116c7
changelog: #2873 under Unreleased
ashhart Nov 15, 2026
d2b3722
changelog: each line once under Unreleased
ashhart Nov 15, 2026
6b331c9
flashnext hip: the draft step moves to draft_batch.zig and the head's…
gilby Nov 9, 2026
5e3a6b6
flashnext hip: a shared round's streams draft in one head pass a step
gilby Nov 9, 2026
95af4ee
flashnext hip: the draft step draws on the stream's tile, a serial an…
gilby Nov 12, 2026
44cd2ba
flashnext hip: a GPU check runs two streams' drafts in one head pass …
gilby Nov 12, 2026
803d110
changelog: the draft batch's line ends with its number and the thanks
gilby Nov 12, 2026
b390a67
flashnext hip: the batched draft keeps each stream's chain row in the…
gilby Nov 12, 2026
eb671f1
changelog: back under Unreleased
ashhart Nov 15, 2026
536cf0e
docs: strict tools under tool_choice auto, and TENSORFOLD_TOOL_GRAMMAR
ashhart Nov 13, 2026
28337ca
changelog: #3235 under Unreleased
ashhart Nov 15, 2026
cf45553
changelog: each line once under Unreleased
ashhart Nov 15, 2026
0c8a9e3
Price shared plain rounds independently of drafted row costs
ashhart Nov 8, 2026
e543c0b
Exclude preceding deferred work from shared round timing
ashhart Nov 8, 2026
193a569
Calibrate copied shared rounds when plain competes
ashhart Nov 8, 2026
1463d69
Keep existing shared choices until a plain round is measured
ashhart Nov 9, 2026
a7247a8
Assert that the calibration fixture measured plain before reading it
ashhart Nov 9, 2026
58a719e
Keep held drafts free of another drafting charge
ashhart Nov 9, 2026
5328641
Keep unmeasured shared prices on the original head rule
ashhart Nov 9, 2026
d160003
Space plain trials independently of forward table coverage
ashhart Nov 9, 2026
ca69af8
Match independent residuals to the priced head batching mode
ashhart Nov 9, 2026
7236617
Pin mixed reservation caps and holds before plain timing
ashhart Nov 9, 2026
558b448
Price shared plain rounds from warm plain trials
ashhart Nov 10, 2026
850650e
Log what the shared plain-price rule sees, behind TF_SHARED_PRICE_LOG
ashhart Nov 10, 2026
e872da3
lanes: retain signed learning with independent plain prices
ashhart Nov 11, 2026
acbbbfd
lanes: keep askDrafts private; the shared round gets it as an argument
ashhart Nov 15, 2026
029f813
lanes: one-line comments for the shared round's draft argument (lean)
ashhart Nov 15, 2026
9c11d43
changelog: #2687 under Unreleased
ashhart Nov 15, 2026
49e7a42
qwen27 served: the reply-end keep test names its history, and a step …
ashhart Nov 12, 2026
4bed140
changelog: #3012 under Unreleased
ashhart Nov 15, 2026
94124b7
lanes: one stored wait reason per queued request, and per-reason load…
ashhart Nov 12, 2026
c22dc9b
lanes: count every refusal a client sees, one restore fallback a requ…
ashhart Nov 12, 2026
0a3267f
changelog: #3014 under Unreleased
ashhart Nov 15, 2026
58d6167
environment: Metal Qwen paging, slot resume and slide checks by name …
ashhart Nov 12, 2026
f05fd7c
environment: drop TF_SLIDE_FIT_REDUCE; read the take-out check at sta…
ashhart Nov 12, 2026
dfc83d8
server: slide_forget_fail's note on its line, so server.zig stays at …
ashhart Nov 13, 2026
4bf995c
changelog: #3018 under Unreleased
ashhart Nov 15, 2026
83ad23d
lfm2_moe: the attention caches in pages of the core pool, every strea…
jschmied Oct 27, 2026
5c2da9a
lfm2_moe: the prompt cache on CUDA, a kept state the conv states and …
jschmied Oct 27, 2026
aaceda4
lfm2_moe: keep a mark's state as the prompt pass goes by, so a keep a…
jschmied Oct 28, 2026
4ab7925
docs: LFM2.5 on CUDA leases pool pages and keeps chat states in the p…
jschmied Oct 28, 2026
b809f7a
lfm2: read TENSORFOLD_LFM2_KV_PAGES through the environment table, re…
jschmied Nov 10, 2026
6da2c04
lfm2: the startup line says the prompt cache is reserved at load
jschmied Nov 11, 2026
65cebea
lfm2_moe: a keep's copies run on their own stream, so a cold turn's f…
jschmied Nov 11, 2026
ff2a4c0
lfm2_moe: every write a keep reads takes its stream from one place, w…
jschmied Nov 11, 2026
b4f1bf2
changelog: #2989 under Unreleased
ashhart Nov 16, 2026
23475ef
server: a crash's stale note and graph temporaries are cleared when t…
ashhart Nov 13, 2026
5e132f0
server: the stale-temporary sweep moves to stale_temps.zig, so server…
ashhart Nov 13, 2026
e7e2424
changelog: #3132 under Unreleased
ashhart Nov 16, 2026
40d0928
Merge remote-tracking branch 'upstream/main' into feat/75-merge-upstr…
plotarmordev Nov 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,31 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel

## Unreleased

- Server: temporaries a crash left beside notes and the `--slide-graph` file are cleared when the server opens their folders, only the server's own and only when their process is gone (#3132).

- LFM2.5-24B-A2B on CUDA: the five prompt-stream writes whose state a prompt-cache keep copies (a slot clear, a prompt chunk, a one-row step, a verify round and a commit) take their stream from one helper that first waits for the keeps' copies, and a host test fails if a write skips it. Replies are unchanged (#2989, after #1503). Thanks to @jschmied.

- Environment: the Metal Qwen KV paging and slot-resume switches and the slide checks refuse a malformed value by name, and `TF_SLIDE_TAKE_OUT_CHECK` is read once at start with `--slide` (#3018, for #2370).

- Metrics: every queued request carries one wait reason decided on the admission path, and DeepSeek-V4.1 names its own (`kv_pool`, `memory_floor`, `prefill_concurrent`). `/metrics` gains `requests_waiting_by_reason`, `request_refusals_total` and `request_failures_total` by code and `restore_fallbacks_total`, and `/v1/load` gains `waiting_by_reason` and `refusals`; replies are unchanged (#3014, for #2135). Thanks to @devopsfortunato for the design.

- Tests: the Qwen3.8-27B reply-end keep test names its history, as the keep pin added on 10 Nov requires, and `test-qwen27-reply-cache-host` now runs it (#3012).

- Lanes: shared rounds price a plain (undrafted) round apart from drafted rows, from trial rounds whose first is a dropped warm-up, and fit row costs from plain and drafted widths, so only how many drafts a round asks for changes; on gfx1151 with Qwen3.6-35B-A3B and MTP it is level with main with tokens unchanged, and opt-in `TF_SHARED_PRICE_LOG=1` prints each shared round's prices (#2687, refs #2605).

- Docs: strict tools under `tool_choice: "auto"` and `TENSORFOLD_TOOL_GRAMMAR`: what a strict tool's schema holds, what is served unconstrained and what is refused, and the legacy DeepSeek alias (#3235, fixes #3177).

- Qwen 3.5, 3.6 and 3.8 on CUDA: a background prompt fill stops between chunks when a foreground request is waiting, keeps the prefix it has already filled, and resumes from there; replies are unchanged (#2873, part of #2812). Thanks to @tacosta.

- Qwen3.8-Flash-Next on HIP: when several streams draft in one round, the MTP head drafts them together, one forward and one draw a step instead of one per stream, as on CUDA and Metal; on a Strix Halo iGPU distinct-prompt decode is about 3% faster at 2 streams and 7% at 4, and one stream is unchanged. Replies are unchanged.
- Qwen3.8-Flash-Next on HIP: when several streams draft in one round, the MTP head drafts them together, one forward and one draw a step instead of one per stream, as on CUDA and Metal; on a Strix Halo iGPU distinct-prompt decode is about 3% faster at 2 streams and 7% at 4, and one stream is unchanged. Replies are unchanged (#2696). Thanks to @gilby.
- Nemotron on Metal: a new prompt is filled a chunk at a time between other streams' decode rounds, instead of stalling them for its whole prefill. Chunks are cut exactly as before, so replies are unchanged (#3054, part of #3021).
- Nemotron Metal keeps the prompt IDs and one queued chunk across consecutive prefill steps.
Cancellation publishes the landed prefix before keeping it and credits that work before retirement.
- Ling-3.0-tiny on Metal: the KDA mixer uses Kimi's existing `k3_kda` kernel (full-width gate, D=128, 4 taps) wired to Ling-tiny's 16 heads. Host `mixF64` is checked against a float64 dump of `oracle/kda_inner.py` (a stdlib copy of `ling_forward.py` Model.kda from conv through y, r = identity; that file is not imported and is not edited) on 16 heads x 2 and 4 rows (worst 8.3e-10 and 1.1e-9). The copy equals Model.kda at worst abs 2.8e-14 on those shapes (fake Ckpt, r = identity, `oracle/kda_vs_model.py`). `k3_kda` versus the dump is 0.0102 at 2 rows and 0.0119 at 4 rows, gated at 2 x (2^-7 of the largest |y|); true bf16 steps at those magnitudes are about 1.3 and 1.5 (values in [1, 2) share one step of 2^-7). `k3_kda` versus the f32 mixer is 0.001953 at 2 and 4 rows (gated under 0.01). `mix`/`mixF64` return `error.KdaWidthTooWide` when W > 2048 (ReleaseFast-safe; the stack conv window is 3 x 2048). Fixture inputs regenerate byte-identical; committed y matches a regenerate to within one float64 ulp, so they are numerically reproducible, not hash-reproducible. Every check uses r = identity and a fake Ckpt. No new kernel (for #1247).
- Ling-3.0-tiny: a host KDA reference, and a Metal check that Kimi's `k3_kda` matches it at Ling-tiny's shape; nothing is served yet (part of #1247).
- GLM-5.3-Flash on CUDA loads NVFP4_NZ5 checkpoints, whose block-32 routed experts read E2M1's code 0b1000 as +5; every other recipe and mix is refused by name, and E2M1 checkpoints load exactly as before (#2894). Thanks to @Bizuayeu.

- Spark 2.5 and MiniMax-M3 on CUDA: the last layer of a prompt runs only on the rows something reads (the final rows, plus DSpark's drafter rows for MiniMax), as Qwen's already did; tokens unchanged (#3122).

- Server: an image URL's host lookup stops at 3 seconds (or the request's deadline, if sooner) even when the system resolver keeps retrying, at most 64 lookups run at once, and a refused connection falls through to the host's next checked address (#3127).
Expand Down
58 changes: 54 additions & 4 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,33 @@ backend mask hook. A missing library or grammar compilation error is also refuse

The native GLM CUDA backend also supports token grammars, gathering vocabulary rows before rank 0 masks and draws.

### Strict tools under `tool_choice: "auto"`

With tools offered and `tool_choice` omitted or `"auto"`, a tool marked `"strict": true` inside `function` is held
to its `parameters` schema when the backend has token-grammar support and the grammar library loads. The reply may be
plain text or calls, and text outside the call markup is free. Inside a call the name is one of the offered tools, a
strict tool's arguments must follow its schema, and a tool not marked strict takes any JSON object.
`parallel_tool_calls: false` allows one call; unset or `true` allows several. Auto never requires a call: a text-only
reply is not an error. Chat passes the tools through; Responses copies the tool's top-level `strict` into `function`.
Anthropic Messages tools carry no `strict` flag, so they are held only when the switch below is on.

`TENSORFOLD_TOOL_GRAMMAR=1` holds every auto tools request the same way: each offered tool's arguments must follow
its schema, marked strict or not. Only the value `1` turns it on, with ASCII spaces around it ignored; unset, empty,
`0` and any other text leave it off, and none of those is refused at startup. Unset is the default. The switch
applies only to auto: `required` and a named function already constrain the reply to schema-valid calls, so it
changes nothing there. Where the backend lacks token-grammar support or the grammar library does not load, an auto
request is served unconstrained rather than refused; the `required` and named cases in that position are refused
before generation with HTTP 400 and the backend's or library's reason, as described above. A strict auto grammar
xgrammar cannot compile is also refused before generation with HTTP 400, for example:
`strict tools under tool_choice "auto" on backend 'qwen27': the grammar cannot be enforced: <xgrammar's reason>`.
LFM2's template writes its calls as one EBNF rule rather than a triggered tag, so strict tools under auto are not
grammar-held there.

The legacy `TF_DSV41_TOOL_GRAMMAR` name takes `0` or `1`. When `TENSORFOLD_TOOL_GRAMMAR` is set, even to an empty
value, it is read instead and the legacy name is ignored, even if the legacy value is malformed. A malformed legacy
value without that override logs the accepted form at start and exits with status 1, for example:
`TF_DSV41_TOOL_GRAMMAR="true": expected 0 or 1 (ignored while TENSORFOLD_TOOL_GRAMMAR is set)`.

`grammar_budget: true` (native server, off by default) keeps a constrained reply completable within its token limit, so
a required tool call or a JSON value cut by `max_tokens` still parses. Before each draw, a token is masked when no
continuation after it reaches a place where the grammar could end within the draws left (`max_tokens`, counted after
Expand Down Expand Up @@ -1050,13 +1077,22 @@ publishes `server_info{model,backend,version,instance}` (always 1; `instance` is
so counters restart only with a new `instance`), `process_start_time_seconds`, `engine_parked` (1 while
`--idle-unload` has closed the engine), `lanes`, and `http_requests_active{route}`: model requests from the end of
their headers to the end of their reply, by route group (`chat_completions`, `completions`, `responses`,
`messages`, `embeddings`, `speech`, `other`).
`messages`, `embeddings`, `speech`, `other`), `request_refusals_total{reason}`: requests refused with a client
code, one of `engine_busy`, `engine_unavailable` and `memory_pressure` (the [Waits](#waits) codes, counted where
the chat, embeddings, rerank and speech routes answer with them, and an images engine's busy 503 as `engine_busy`),
`invalid_request` (the 400 when the engine itself refuses the request it was handed), or an admission flag's 429 by
its code (`max_inflight_exceeded`, `max_inflight_per_key_exceeded`, `admission_capacity_exceeded`,
`requests_per_second_exceeded`; see [Admission](#admission)), and `request_failures_total{reason}`: requests that
ended failed with no refusal code. Its reasons are `backend_prompt`, `backend_round`, `lane_memory_alone` and
`prompt_too_large` (the engine took the request and it failed), `planner_refused` (a family round planner refused it
with its own words, as DeepSeek-V4.1 does for a request past its KV pool or its hard memory floor) and
`engine_stale` (the chat routes' 500 while the device is stale). Every label of both families is always present.

An engine on the shared lane host adds these groups, each complete or absent:

| Group | Families |
| --- | --- |
| Requests | `waiting_prompt_tokens` (prompt tokens of queued requests, before any kept prefix restores part of them), `filling_prompt_tokens_left` (absent while a backend without fill progress fills), `requests_started_total`, `requests_requeued_total`, `background_yields_total` |
| Requests | `requests_waiting_by_reason{reason}` (queued requests by the one wait reason each holds, every reason always present; they sum to `requests_waiting`), `restore_fallbacks_total` (requests whose saved prefix could not be restored, so they prefilled from zero and were served; once a request), `waiting_prompt_tokens` (prompt tokens of queued requests, before any kept prefix restores part of them), `filling_prompt_tokens_left` (absent while a backend without fill progress fills), `requests_started_total`, `requests_requeued_total`, `background_yields_total` |
| Work | `scheduler_tokens_total{mode}` with `prefill_compute`, `prefill_cache` and `decode` (output tokens after each request's first), counted as the work happens, and `prefill_busy_seconds_total`: engine seconds in prompt calls whose work `prefill_compute` counted. The `prefill_compute` delta over its delta is the prefill rate. A family round planner publishes no work group |
| Capacity | `kv_capacity_mode{mode}` (`window` or `paged`), `lanes_free`, and for a paged engine `kv_pool_capacity_tokens`, `kv_pool_available_tokens`, `kv_pool_reclaimable_tokens`, `kv_pool_promised_tokens` with `pool="main"`, and `kv_pool_run_available` where the family needs a contiguous run. Published by the CUDA lane host: `window` for an engine without a page plan, `paged` with GLM-5.3-Flash's pool on rank 0; other paged families leave the group out until they name their pool |

Expand All @@ -1066,9 +1102,23 @@ While the engine is parked, none of these engine values is shown: neither the gr
unload closes the engine, the engine values are already gone and `engine_parked` is still 0, since a request then
gets 503 with a retry; it turns 1 once a request can reload the engine.

A queued request holds one wait reason, decided where the engine last tried to admit it and kept until it starts
or leaves; reading the ledger never asks the engine again. Three reasons are client codes, the same strings as in
[Waits](#waits): `engine_busy` (no lane is free, or nothing more specific held it yet), `engine_unavailable` (the
device is stale until a put-back reaches it) and `memory_pressure` (memory pressure holds admission to the streams
already running). The rest are internal reasons, never a client code: `kv_pool`, `memory_floor` and
`prefill_concurrent` (a family round planner waits for KV pool pages, for the memory floor, or passes a long prompt
over while others prefill; DeepSeek-V4.1 names them), `prefix_cut` (it waits for a cut another prompt is filling),
`state_read` (it waits for its disk state's read ahead), `ledger_bytes` (its caches' bytes do not fit the KV ledger
now) and `pool_room` (the family's pool has no room for it now). A request behind one that waits for the pool, the
ledger or the planner holds that request's reason. `memory_floor` is never counted under `memory_pressure`. The
reasons are as of the engine's last admission attempt: a request queued behind one just admitted keeps its earlier
reason until the engine next tries to admit it.

`GET /v1/load` returns the same ledger as one JSON object from one read: `instance`, `timestamp` (the read's wall
time), `model`, `parked`, `lanes`, `http_active` by route group, and, when present, the request counts,
`capacity` with its `pools`, `tokens` and `busy_us`. Keys of a group no host fills are left out. It follows the
time), `model`, `parked`, `lanes`, `http_active` by route group, `refusals` by code, and, when present, the request
counts with `waiting_by_reason` (the same reasons, summing to `waiting`), `capacity` with its `pools`, `tokens` and
`busy_us`. Keys of a group no host fills are left out. It follows the
`/metrics` access rule, and `--metrics-open` opens it too.

## Admission
Expand Down
8 changes: 7 additions & 1 deletion docs/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Diagnostics quote and escape the supplied text so it cannot create another termi
| `TENSORFOLD_RESTORE_PREFETCH_MS` | Whole unsigned 64-bit milliseconds, capped at 1099511627776; default 30000 |
| `TENSORFOLD_TOOL_ID_KEY_FILE` | The path of the file that holds the key for tool-call ids ([API](api.md#messages-and-tools)). The file must be a regular file, not a link, that only its owner can read or write (`chmod 600`), with 32 to 4096 bytes in it, and the path must not contain control characters. When this is unset, each server process makes its own random key. If the file is wrong, the server does not start; the message names this setting but never shows the path or what the file holds |
| `TF_STARTUP_RECEIPT` | Exactly `0` or `1`; default off. `1` writes the startup and first completion receipts |
| `TF_SHARED_PRICE_LOG` | Exactly `0` or `1`; default off. `1` logs, at an engine's first priced shared round, the load-time shared forward costs and head steps, then one `shared price: round` line a priced shared round: its trial flag, rows, time, each stream's drafts and next depth, the plain and row prices and each stream's acceptance estimates |
| `TF_CUDA_DEVICE` | Whole ordinal 0 through 4294967295, or empty; default 0 |
| `TF_CUDA_SEGMENTS` | Whole count 1 through 4, or empty; default 1 |
| `TENSORFOLD_CUDA_KERNELS` | A path without control characters, used as given: a captured kernel set's folder, or `native` for the engine's own kernels. Unset uses the binary's bundled set for the GPU when it has one, else the engine's own kernels. A family that runs only on the engine's own kernels (Qwen3 among them) refuses any other value; Qwen3 reads a blank value as unset |
Expand All @@ -29,6 +30,7 @@ Diagnostics quote and escape the supplied text so it cannot create another termi
| `TF_QMMF_HALF_BELOW` | Whole native-size nonnegative block count; zero disables half tiles; default 96 |
| `TENSORFOLD_PROMPT_CACHE_KEEP_OTHERS` | Exactly `0` or `1`, checked when the CUDA backend starts; default off ([profiles](profiles.md)) |
| `TF_PROMPT_INTERMEDIATE` | Exactly `0` or `1`, checked when the CUDA backend starts; default off. `1` keeps Flash Next's ladder of intermediate prompt-cache checkpoints under a long prompt's history |
| `TENSORFOLD_LFM2_KV_PAGES` | Exactly `0` or `1`, checked when the CUDA backend starts; unset leases pool pages ([profiles](profiles.md)) |
| `TF_HEAD_GEOMETRY` | Whole native-size nonnegative geometry count in the head benchmark |
| `TF_ROCE_GID_INDEX` | Whole index 0 through 2147483647; unset searches for a RoCE v2 IPv4 GID |
| `TF_GEMMA4_CHUNK_SOLO` | Gemma 4 on CUDA: a multiple of 512 from 512 through 4096; unset, empty or 512 is off. Checked when the model loads, with the family's own message |
Expand All @@ -49,6 +51,9 @@ Diagnostics quote and escape the supplied text so it cannot create another termi
| `TF_ANE_COLUMNS` | Whole u32 count; zero disables the experimental share; default zero |
| `TF_FLASHNEXT_SCALE_INDEX` | Flash Next on Metal before tensor units: exactly `0` or `1`; `1` has the 4-bit expert kernels read each group's scale and bias through a 16-bit index into its tensor's table of pairs, the same values with fewer weight bytes; default 0 |
| `TF_FLASHNEXT_GROUPED_ROWS` | Flash Next on Metal without tensor units: `0`, or the rows (`1` through `32`) from which a decode window runs its 4-bit experts grouped by expert, with the same output bits; default 5; ignored with `--ssd-experts` and in speed-up mode |
| `TF_QWEN27_SLOT_RESUME` | Qwen3.8-27B on Metal: exactly `0` or `1`; `0` stops slot 0 resuming a later prompt; unset or blank keeps it on |
| `TF_QWEN27_METAL_KV_PAGES` | Qwen3.8-27B on Metal: exactly `0` or `1`; `1` puts keys and values in core-pool pages (refused on Macs with tensor units); unset or blank is `0` |
| `TF_QWEN35_METAL_KV_PAGES` | Qwen 3.5 on Metal: exactly `0` or `1`; `1` puts the streams' keys and values in core-pool pages; unset or blank is `0` |
| `GLM_EHPROJ_NAX` | GLM-5.3-Flash on Metal: exactly `0` or `1`; `0` serves the MTP head's prompt eh_proj on the scalar kernel; default 1, the tile kernel where it builds |
| `TF_DSV41_SMALL` | DeepSeek-V4.1 on Metal: exactly `0` or `1`; `1` reads the checkpoint's config at its own small shapes (the served smoke test's tiny model); default 0 |
| `TF_DSV41_ASSETS` | DeepSeek-V4.1 on Metal: a directory path without control characters that holds the Engram token map; unset or blank reads it beside the checkpoint |
Expand All @@ -60,6 +65,8 @@ Diagnostics quote and escape the supplied text so it cannot create another termi
| `LFM3_FUSE` | Whole u32 fusion mask; default 7 |
| `TF_SLIDE_POCKET_KEY` | Exactly `auto`, `reply`, `subject` or `both`; default `auto` |
| `TF_SLIDE_FIT_GIB` | Whole native-size nonnegative GiB count; default 4 |
| `TF_SLIDE_TAKE_OUT_CHECK` | Exactly `0` or `1`, read once when the server starts with `--slide`; `1` takes every kept lesson out again to check that the facts before it come back as they were; default off |
| `TF_SLIDE_TAP_CHECK` | Exactly `0` or `1`; `1` checks a pass's tapped rows against a fresh run's; default off |
| `TF_SLIDE_POCKET_DUMP` | A directory path without control characters, used as given; each lesson's read rows are written there for offline study. Unset or blank writes none |
| `TF_SLIDE_FORGET_FAIL` | Whole u32 fact index, zero off; only checked in a slide-test-hooks build |

Expand Down Expand Up @@ -131,7 +138,6 @@ The two row counts and the two draft counts keep their existing clamps after par
These settings retain their existing boolean policies rather than gaining new aliases or refusals:

- `TF_GRAPH_CACHE`: exact `0` or case-insensitive `off` disables graphs; every other value leaves the family's settings unchanged.
- `TF_QWEN27_SLOT_RESUME`: exact `0` disables resume; every other value keeps it enabled.
- Kolibri pages: exact `TENSORFOLD_KOLIBRI_KV_PAGES=0` disables requested pages; other text keeps the option unchanged.
- Dory pages: unset or exact `TENSORFOLD_DORY_KV_PAGES=0` uses windows; every other present value selects pages.
- `TF_SLIDE_EDIT`, `TF_SLIDE_PROBE` and `TF_SLIDE_ROUTED` select modes by presence, even empty or `0`; probe wins over edit.
Expand Down
Loading