Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
2df690f
feat(server): add a flat TOML reader for settings files
laudney Nov 11, 2026
87baa5d
feat(server): read serve flags from a --config TOML file
laudney Nov 11, 2026
be1f57a
docs: describe serve --config and its TOML file
laudney Nov 11, 2026
a856a1e
fix(web): keep --config out of TensorFold Web's extra flags
laudney Nov 11, 2026
dd1c8b2
feat(server): anchor config paths to the file and guard it
laudney Nov 11, 2026
1525379
fix(server): check config values by line and read the file once
laudney Nov 11, 2026
da4e1b7
changelog: #2885 under Unreleased
ashhart Nov 14, 2026
1ba3697
glm cuda: Pieces and its cuts move to cuda_forward_pieces.zig, so cud…
Bizuayeu Nov 9, 2026
20e8959
GLM-5.3-Flash on CUDA: a decode window's DSA select on many CTAs (TF_…
Bizuayeu Nov 8, 2026
b68f1c3
glm cuda: TF_GLM_DSEL reads through the settings table, and the decod…
Bizuayeu Nov 9, 2026
cee6c59
glm cuda: the decode select's scan and merge under the contract, with…
Bizuayeu Nov 9, 2026
56ee2d7
glm cuda: the decode buffers' select sizing in one function with a ho…
Bizuayeu Nov 10, 2026
4431b4a
tests: re-pin glm_glue.cu, which now includes the decode select's ker…
Bizuayeu Nov 10, 2026
4d7b1d6
changelog: #2722 under Unreleased
ashhart Nov 14, 2026
2b27779
fabric/tp: device memory over the TCP Kind, with HIP's side
Shoestring-dev Nov 11, 2026
0bfff93
fabric/tp README: the ready word's ordering, and the proxy's limit on…
Shoestring-dev Nov 12, 2026
4b0aa43
receipts: tcp-hip at 954e82dfa on one host, both ranks on one GPU, an…
Shoestring-dev Nov 12, 2026
222f038
changelog: #2961 under Unreleased
ashhart Nov 14, 2026
e151c80
lanes: share Nemotron plain streams without widening their windows
ashhart Nov 12, 2026
43a40a3
changelog: #3005 under Unreleased
ashhart Nov 14, 2026
45e432d
test(nemotron): cover failed image setup cleanup
jishnuvenugopal Nov 12, 2026
6ef1fb2
fix(nemotron): clear image spans when setup fails
jishnuvenugopal Nov 12, 2026
ae2a151
test(nemotron): retain offer planning checks with failure cleanup
jishnuvenugopal Nov 12, 2026
c3aaa4b
changelog: #2985 under Unreleased
ashhart Nov 14, 2026
027bc76
tests: a stopped peer's death is checked against the dead time and th…
ashhart Nov 14, 2026
06bcb98
changelog: #3310 under Unreleased
ashhart Nov 14, 2026
f458db7
tests: 200 refused, cancelled and failed requests a path strand no la…
ashhart Nov 12, 2026
9452c96
changelog: #3015 under Unreleased
ashhart Nov 14, 2026
566e416
server: a thinking-off request renders the effort it names (#1911)
ashhart Nov 12, 2026
c94bc71
server: only the request's own effort reaches a thinking-off prompt (…
ashhart Nov 12, 2026
3d42a46
changelog: #3017 under Unreleased
ashhart Nov 14, 2026
4746bad
server: /v1/models lists each model's input_types; a video it can't t…
ashhart Nov 12, 2026
d390614
server: media() is built in input_types.zig, so server.zig stays with…
ashhart Nov 14, 2026
4ddc28c
changelog: #3019 under Unreleased
ashhart Nov 14, 2026
9833889
server: host tests pin the incremental reply text
ashhart Nov 12, 2026
1007c1d
changelog: #3022 under Unreleased
ashhart Nov 14, 2026
d7bccef
Keep supplied recall prompts out of lesson plans
ashhart Nov 11, 2026
31ea1ba
changelog: #2929 under Unreleased
ashhart Nov 14, 2026
8fe1587
glm cuda: TF_GLM_INDEX_CUDA's kernels by default, 0 keeps tf_glm_scores
Bizuayeu Nov 11, 2026
e9e9b94
glm cuda: TF_GLM_INDEX_CUDA's doc comment on one line
Bizuayeu Nov 12, 2026
128c43c
glm cuda: the indexer fallback warning starts glm:, and a changelog l…
Bizuayeu Nov 14, 2026
eeeb026
changelog: #3159's line from lines/3159.txt in place of its own
ashhart Nov 14, 2026
d1fd0d3
Add opt-in Linux PSI memory-pressure readings
ashhart Nov 4, 2026
1b8deb7
Linux pressure: use reclaim stalls for severity
ashhart Nov 4, 2026
46ccebc
test: cover Linux PSI field order and incomplete proc data
ashhart Nov 8, 2026
73800bb
changelog: #2156 under Unreleased
ashhart Nov 14, 2026
661b185
Refuse release CUDA devices outside the embedded SM list
ashhart Nov 11, 2026
0e5d93e
Let the release SM check accept later 8.x minors that run sm_80 and s…
ashhart Nov 12, 2026
9bbf120
cuda: covers' comment on one line (lean), kernels.zig re-pinned
ashhart Nov 13, 2026
3b3756a
tests: re-pin context.zig for the release SM refusal
ashhart Nov 13, 2026
dfb6f2c
tests: re-pin kernels.zig for the release SM check on main-d001c28f29
ashhart Nov 14, 2026
2ab3cd5
changelog: #2914 under Unreleased
ashhart Nov 14, 2026
3cd5cdb
nemotron cuda: every stream's MTP draws in a fixed number of launches
ashhart Nov 13, 2026
a249033
nemotron cuda: every stream's target draws in a fixed number of launches
ashhart Nov 13, 2026
84f27d4
nemotron-draws test: read the scatter's token at tok_at, and check th…
ashhart Nov 13, 2026
8dda808
nemotron-draws records: register usage for the four new launches from…
ashhart Nov 13, 2026
989437e
tests/cuda: fold compileContractGlue's note into its line, keeping ma…
ashhart Nov 14, 2026
6a104d9
tests: re-pin the serving sources this PR changes on today's main (2 …
ashhart Nov 14, 2026
e54bd72
changelog: #3124 under Unreleased
ashhart Nov 14, 2026
3c8ba23
Pair the dense Qwen CUDA a and b prompt projections at large row counts
ashhart Nov 11, 2026
1e805a6
changelog: #2925 under Unreleased
ashhart Nov 14, 2026
b5764e3
Fold sampled verify non-finite checks into Flash Next top-k
ashhart Nov 11, 2026
325a1a7
Batch Flash Next shared verify draws behind one completion
ashhart Nov 11, 2026
f2d4a74
Join Flash Next draft lane reductions before keyed picks
ashhart Nov 11, 2026
5688254
Align the batch draw tests' stack host buffers for i32 candidate columns
ashhart Nov 12, 2026
e50ee42
tests: re-pin the serving sources this PR changes on today's main (3 …
ashhart Nov 14, 2026
d6c4cce
changelog: #2927 under Unreleased
ashhart Nov 14, 2026
6cf6d50
Add guarded Living Weights controller with graph and HTTP safety checks
ashhart Nov 14, 2026
235f352
tests: the Living Weights v2 tests live in tools/tests with the other…
ashhart Nov 14, 2026
c2385fe
living_weights_v2: no ambient proxy for loopback, bounded SSE reads, …
ashhart Nov 14, 2026
95bbd24
living_weights_v2: the journal's directory is private, and its files …
ashhart Nov 14, 2026
923acc3
changelog: #3320 under Unreleased
ashhart Nov 14, 2026
1367027
tests: the strand test's at-once cancel holds its lane until the canc…
ashhart Nov 14, 2026
855cb79
changelog: #3355 under Unreleased
ashhart Nov 14, 2026
cc4fe96
server: an Ollama-compatible API (/api/chat, /api/generate, /api/embe…
ashhart Nov 14, 2026
8bcdbf8
ollama: the loopback tests' fake engine ends each reply with finished…
ashhart Nov 14, 2026
c331d07
server: opt-in committed token IDs on chat and completion streams
ashhart Nov 14, 2026
e6808e2
tests: the server security check accepts a close that beats an over-c…
ashhart Nov 14, 2026
dcb1c67
build: the release path checker that runs is not the one installed, s…
ashhart Nov 14, 2026
2ce56fb
changelog: #3349 under Unreleased
ashhart Nov 14, 2026
6778a0b
tests: the sessions write bench's real-file test runs 40 half-size re…
ashhart Nov 14, 2026
13e2341
changelog: #3347 under Unreleased
ashhart Nov 14, 2026
4b2dcd3
changelog: 1.2.9 lines fact-checked against their PRs
ashhart Nov 14, 2026
2ba55ec
Release 1.2.9: the version, install examples and changelog
ashhart Nov 14, 2026
33d0296
Merge upstream/main into fork main
plotarmordev Nov 14, 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
54 changes: 49 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,65 @@

Each release's page on GitHub has its notes and measurements. See [the 1.0.0 release notes](RELEASE-NOTES-1.0.0.md) for the native binary's supported models and migration details.

## Unreleased
## 1.2.9

- Tests: the sessions writes test on real files does the same coverage with 40 requests at half the token sizes, so it no longer times out on busy CI runners (#3347).

- Tests: two CI flakes fixed: the security check accepts the server closing an over-cap request first, and check-release-paths waits for its install before running (#3349).

- Tests: the strand test's at-once cancel waits for its cancel, so a loaded runner can no longer end it with `length` first (#3355).

- Tools: an experimental Living Weights v2 controller (`tools/living_weights_v2`) guards native lessons with independent recall and regression checks, refuses redirects and remote hosts unless allowed, and journals every write; off unless run (#3320).

- Flash Next on CUDA: sampled draws take one launch and one wait a step, with the same tokens; `TF_FLASHNEXT_BATCH_DRAWS=0` restores per-stream draws (#2927, fixes #2920).

- Qwen 3.5 on CUDA: Qwen3.8-27B's affine-4 prompts from 2,048 rows run the a and b projections in one launch, with the same tokens (#2925, fixes #2911).

- Nemotron 3.5 on CUDA: with several streams that share a draw mode, every stream's MTP draft draws and target draws run in a fixed number of launches (15 draw-side launches a level instead of about 112 at 8 greedy streams); tokens unchanged (#3124, fixes #2910).

- CUDA: the release server refuses, by name at startup, a GPU it has no kernels for (#2914, #2904).

- Linux: `TENSORFOLD_MEMORY_PRESSURE=1` (or `on`) opts the shared lane host into the memory-pressure governor, with levels set from PSI's stall readings; off by default (#2156, fixes #2129).

- GLM-5.3-Flash on CUDA: prompts take the TF_GLM_INDEX_CUDA kernels by default (0 keeps tf_glm_scores), with the same tokens; on GB10s a cold long prompt's first token comes 0.6% to 13.7% sooner at TP=3 from 131,072 to 2,000,000 tokens and 6.7% sooner at TP=2 at 1,000,000 tokens, and shorter prompts at TP=2 stay within about 2% either way (#3159). Thanks to @Bizuayeu.

- Living Weights (`--slide --slide-drift-gate`): the recall wordings a request supplies are held out of the lesson writer's plan. A planned question that matches one under the gate's own contamination check is dropped and replaced, so the gate no longer refuses a lesson as "supplied recall is missing or trained" for a wording the writer made itself; a lesson that can't reach its three-example floor without them is refused as "the plan could not avoid the supplied recall wordings". With no recall supplied, or the gate off, nothing changes (#2929, for #1389). Thanks to @jimthedj65 for the panel run that found it.

- Tests: two host tests in `test-server-cpu` pin the server's incremental reply text: a character split across tokens streams only once it is whole, and each chunk decodes only the previous chunk and its new tokens, never the whole reply (#3022).

- Server: an Ollama-compatible API serves `/api/chat`, `/api/generate`, `/api/embed`, `/api/tags`, `/api/show`, `/api/ps` and `/api/version` through the same chat, completions and embeddings paths as the OpenAI routes, with NDJSON streaming and named refusals for unsupported options (#3342, fixes #3117).
- Server: each `/v1/models` entry now ends with `input_types`, the content parts the model takes: `["text"]`, plus `"image"` with `--vision`, plus `"video"` when the checkpoint reads video and the server loads `libtfvideo`. A `video_url` part sent to a model without video now gets HTTP 400 (`invalid_request_error`) instead of a 500, decided by the same startup check, so the listing and the refusal agree; a server whose model reads video loads `libtfvideo` at startup and says once in its log when it is missing. The other keys are unchanged (#3019, fixes #3004). Thanks to @WebReflection for the design.

- Server: with thinking off, the reasoning effort a request names reaches the chat template (GLM's head follows it), and the reply reports it; a server's own `--reasoning-effort` no longer changes a thinking-off prompt (#3017, fixes #1911). Thanks to @ss-cong for the report.

- Tests: host tests drive 200 refused, cancelled or failed requests down each lane-host path they reach (refusal at admission, cancels while queued and mid-request, backend errors, no lane memory, and a mix) and check none strands a lane, page or slot (#3015, for #2135).

- Tests: the cluster bring-up test of a stopped peer checks the membership's real promise instead of a two-second wall bound that failed on busy CI runners (#3310).

- Nemotron Omni on CUDA: when an image request's setup fails (more image rows than the budget, or an encoder error), its image rows are now cleared. Before, the next text-only request on the same engine spliced them into its prompt and gave a wrong reply with no error (#2985, fixes #2943). Thanks to @jishnuvenugopal.

- Nemotron on Metal without an MTP head: concurrent streams now share one exact round instead of taking turns. Replies are unchanged. On an M5 Ultra, two streams decode about 20% faster, four streams about 75%, eight streams 2.3 to 2.5 times as fast and 24 streams 3.2 to 3.5 times; one stream is unchanged (#3005, for #2968). Thanks to @Nipale-ai for the independent check.

- HIP: the TCP fabric Kind, for two hosts without RDMA, gains a device side: a proxy thread stages each call's device memory through a pinned host slab, the caller's stream only writes a ready word and waits on a done word, each proxy copy has a 30 s limit, and every rank refuses a bad part size together. Nothing selects the Kind yet (#2961, refs #2065). Thanks to @Shoestring-dev.

- GLM-5.3-Flash on CUDA: a decode window's DSA select spreads each row over many blocks (`TF_GLM_DSEL`, default on; `TF_GLM_DSEL=0` keeps one block a row) and picks `tf_glm_select_rows`' pools. At TP=4 on four GB10s, the decode round after a 1,040,384-token prompt is 5.05%, 9.36% and 11.36% shorter at 1, 4 and 8 streams, with every reply unchanged (#2722). Ported from patch 0067 of Mia's AI Lab's GLM-5.3-Flash stack. Thanks to @Bizuayeu, and to Mia's AI Lab (@MiaAI-Lab) for the kernels.

- Serve: `tensorfold serve --config FILE.toml` reads serve flags from a flat TOML file, so a launch can be checked in and reused. A key is a flag's name without `--`, and `model` names the model. The command line wins, and a repeatable flag given there replaces the file's list. Relative paths start at the file's folder (`model` and `drafter` only when they start with `./` or `../`). A mistyped key or a refused value names the file and line before a model loads. A file other users can write, or one that sets `api-key` while others can read it, is refused. TensorFold Web refuses `--config` as an extra flag (#2885, fixes #2882). Thanks to @laudney.

- CUDA: the shared dense engine gains an image path for recipes that declare an image tower: each lane holds its request's image rows, which the planner counts per lane so an admitted request never allocates more, images encode once when the lane begins, and a prompt chunk may cut through an image; an image span the prompt does not hold is refused naming `--vision-image-tokens`, and a tower of the wrong width or a tower served without `--vision` is refused by name; text-only recipes declare the same as before, and no served model changes (#2768, part of #1927). Thanks to @laudney.

- CUDA kernels: dots.mocr's image tower gets two kernels of our own: `tf_dots_vision_rope`, the 2-D rotary over the q|k|v rows with FP32 cos and sin and q and k rounded to BF16 as Transformers does, and `tf_dots_patch_bias`, which rounds the patch bias twice (`bf16(bf16(y) + b)`) as the reference does; both have kernel contract entries, planted controls and records for five SMs, and no served path launches them yet (#2767, part of #1927). Thanks to @laudney.

- GLM-5.3-Flash on CUDA with tensor parallelism: a `prompt_logprobs` request over about 100 tokens no longer hangs every rank at TP=3. The logit gather now broadcasts one block a rank, its staging buffers are counted in the startup memory check, and replies are unchanged (#1571, fixes #1559). Thanks to @gilby.
- GLM-5.3-Flash on CUDA with tensor parallelism: a `prompt_logprobs` request over about 100 tokens no longer hangs every rank at TP=3. The logit gather now broadcasts one block a rank, with staging of 2.5 MB in the sampler and 39.6 MB in the prompt-logprob buffers, and replies are unchanged (#1571, fixes #1559). Thanks to @gilby.

- Server: chat and completion streams can carry the exact committed token IDs. A client opts in with `stream_options.tensorfold_token_stream_version: 1`; the stream then interleaves `tensorfold.token.chunk` events (an offset and the committed IDs, including reasoning, tool markup and EOS tokens) with the usual chunks, and every chunk carries a `tensorfold_stream` anchor (the token count so far and the last ID, plus each logprob entry's raw token position when entries are present). `capabilities --json` reports `token_stream_versions: [1]`. Unknown versions, non-streaming requests and Cortheon multi-round replies get HTTP 400 before generation. Streams without the option are unchanged. exo's proposed TensorFold backend reads these IDs instead of retokenizing text (#3285).

- README: Pick a model gains a GLM-5.3-Flash Jammed XSFP4 NZ5 row, the checkpoint in the `NVFP4_NZ5` form that #2894 reads, and the GLM CUDA recipe names it beside Jammed XSFP4 (#2981). Thanks to @Bizuayeu.

- HIP, Qwen3.8-Flash-Next on RDNA 3.5 (gfx1151): MTP draft chains now stop under a 0.8 confidence floor by default (was 0.3), the same one-rank rule `prefill_step` uses. Replies are unchanged. One stream decodes about 6% faster and four streams 2.8% (greedy) to 4.6% (sampled) faster (#2697). Thanks to @gilby.
- Qwen3.8-Flash-Next on HIP stops its MTP draft chains under a 0.8 confidence floor by default instead of the HIP-wide 0.3; `--mtp-confidence` still overrides it, and the other HIP families keep 0.3. On a Strix Halo iGPU one-stream decode is about 6% faster on code and on chat, and four distinct streams about 3%, with one-stream throughput on `tools/bench_prompts.json` unchanged. Replies are unchanged.
- HIP, Qwen3.8-Flash-Next on one RDNA 3.5 GPU (gfx1150 to gfx1153) serving alone: MTP draft chains now stop under a 0.8 confidence floor by default (was 0.3), found by the same one-rank rule `prefill_step` uses; `--mtp-confidence` still overrides it, and other HIP GPUs and families keep 0.3. Replies are unchanged. On a Strix Halo iGPU (gfx1151) one stream decodes about 6% faster and four streams 2.8% (greedy) to 4.6% (sampled) faster (#2697). Thanks to @gilby.
- Server: a reply that keeps a tool-call envelope as plain text now says so. `tensorfold.kept_tool_calls` counts the envelopes that name a tool the request did not offer and the malformed ones, and lists up to eight unoffered names, on the whole reply and on a stream's final chunk; `/metrics` gains `kept_tool_calls_unoffered_total` and `kept_tool_calls_malformed_total`. Replies are otherwise unchanged (#2814, for #2800). Thanks to @tarsnake for the report.

- CI: the No GPU zig and zig-windows jobs get 90 minutes, as test-host now takes about 50 (#3298).
- CI: the No GPU zig and zig-windows jobs get 90 minutes, as test-host now takes about 50 (#3298, #3300).
- Server: logprobs work with tools, stop strings and reasoning, and on the Responses API; a logprobs request the engine cannot serve is refused with the route's own error shape (#3206).
- CI: the app workflow keeps its Linux AppImage artifact for 3 days instead of GitHub's default 90 (#2966).

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Its kernels are built with CUDA 13, so TensorFold refuses an older driver at sta
See the [CUDA runbook](RUNBOOK.md#linux-and-cuda) for runtime libraries and supported GPUs.

```sh
V=1.2.8
V=1.2.9
case "$(uname -m)" in
aarch64|arm64) PLATFORM=linux-aarch64 ;;
x86_64) PLATFORM=linux-x86_64 ;;
Expand Down Expand Up @@ -299,6 +299,7 @@ The binary's `capabilities --json` response lists its supported flags and platfo
| `--host HOST`, `--port PORT` | Listen address and port, default `127.0.0.1:8080`. |
| `--unix-socket PATH` | Listen on a new owner-only Unix socket at PATH instead of TCP, refused with `--host` or `--port`; macOS and Linux. An existing PATH, or a directory other users can write to (unless sticky, like `/tmp`), is refused, and connections from other users are closed. API keys, `--metrics-open` and the Host check apply as on TCP (a client sends a loopback `Host` or one in `--allowed-host`): the socket's permissions are a second layer, not a substitute for keys. |
| `--profile stable` | Explicitly preserve current defaults; [profiles](docs/profiles.md) describes the initial switch registry and startup report. |
| `--config FILE.toml` | Read serve flags from a TOML file: a key is a flag without its `--`, and `model` names the model. The command line wins over the file, and a relative path in the file starts at the file's folder. See [serve config files](docs/serve-config.md). |
| `--name NAME` | Model ID advertised to clients. |
| `--alias NAME` | Another accepted model ID; repeat for multiple aliases. |
| `--api-key KEY` | Require a bearer key; repeat for multiple keys. |
Expand Down
37 changes: 34 additions & 3 deletions RUNBOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For an archive installation, download the arm64 asset and its companion checksum
[latest release](https://github.com/ashhart/TensorFold/releases/latest), with `V` set to its version:

```sh
V=1.2.8
V=1.2.9
curl -fLO https://github.com/ashhart/TensorFold/releases/download/v$V/tensorfold-$V-macos-arm64.tar.gz
curl -fLO https://github.com/ashhart/TensorFold/releases/download/v$V/tensorfold-$V-macos-arm64.tar.gz.sha256
shasum -a 256 -c tensorfold-$V-macos-arm64.tar.gz.sha256
Expand Down Expand Up @@ -210,7 +210,7 @@ Qwen4 has synthetic gates only.
On a GB10 arm64 host (an x86_64 host uses `linux-x86_64` in the same commands):

```sh
V=1.2.8
V=1.2.9
curl -fLO https://github.com/ashhart/TensorFold/releases/download/v$V/tensorfold-$V-linux-aarch64.tar.gz
curl -fLO https://github.com/ashhart/TensorFold/releases/download/v$V/tensorfold-$V-linux-aarch64.tar.gz.sha256
sha256sum -c tensorfold-$V-linux-aarch64.tar.gz.sha256
Expand Down Expand Up @@ -400,7 +400,38 @@ Under pressure only admission and kept states change: every request served retur

`TENSORFOLD_PRESSURE_CACHE_PERCENT=N` sets the soft watermark to N% of the prompt cache budget (default 50; 0 sheds every state not being restored).
`TENSORFOLD_MEMORY_PRESSURE=0` (or `off`) disables the governor.
Flash Next's single-reply driver (`--parallel 1` or `auto`) does not read pressure yet, and Linux and Windows builds never do.
Flash Next's single-reply driver (`--parallel 1` or `auto`) does not read pressure yet, and Windows builds do not.

### Experimental Linux memory pressure

On Linux, `TENSORFOLD_MEMORY_PRESSURE=1` (or `on`) opts the shared lane host into the same governor and cache
watermark. Unset keeps it off until device qualification. The reader samples `/proc/pressure/memory` and
`/proc/meminfo` without allocating; both must be available and valid at startup. It reads at most four times a
second, raises the level immediately and waits five seconds of lower readings before easing it.
Inside a container or cgroup, these proc files describe the whole host, not the container's memory limit.
The opt-in therefore follows host pressure and does not provide container-local pressure or admission limits.

The proposed thresholds use PSI's `avg10` stall percentages:

| Level | Any of these readings |
| --- | --- |
| Warning | PSI some at least 10%; PSI full at least 1% |
| Critical | PSI full at least 10% |

Critical takes precedence. MemAvailable is diagnostic and does not set the level. A normally budgeted unified-memory
server can have a small available margin without reclaim stalls. The OS reader has no engine-specific planned margin,
so it uses PSI rather than guessing a floor from total RAM. MemFree and file-cache size do not set the level either. Unknown or malformed data follows the existing source contract: no reading,
counted as normal by the governor. Windows is unchanged. The 503 message refers to the system on every platform.

Only optional states managed by the shared lane host are shed. Borrowed states remain protected. Family-owned
caches and a backend's independent driver need their own qualification; this does not coordinate pressure across
TP hosts or replace the pre-load page-cache release/admission checks used on GB10 (#1857, #1868).

`zig build test-memory-pressure-host` checks planted proc files, thresholds, invalid/oversized input, the existing
hysteresis, protected state, cache shedding, admission and resumed/fresh equality on an instrumented target.
No Linux device, memory-hog or whole-checkpoint receipt is claimed. Keep the Linux opt-in off until a GB10 run
shows shedding, recovery without oscillation and exact drafted/plain, resumed/fresh and concurrent/solo replies
at unchanged checkpoint precision (#2129).


## Access, context and updates
Expand Down
5 changes: 5 additions & 0 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,3 +506,8 @@ The fixtures in `zig/src/server/fixtures/thinking/` are unmodified release files
[LiquidAI/LFM2.5-24B-A2B-MLX-4bit](https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-MLX-4bit) at revision
`667408d494bde191c2cb9dd4f4549827816b9275`, under the LFM Open License v1.0. See
[`LICENSES/LFM-Open-1.0.txt`](LICENSES/LFM-Open-1.0.txt).
- `qwen38.jinja` and `qwen38-tokenizer_config.json` come from
[TensorFold/Qwen3.8-27B-MLX-4bit](https://huggingface.co/TensorFold/Qwen3.8-27B-MLX-4bit) at revision
`70ae7fac63274ff2eac54152031433374cb80f2f` (an MLX conversion of
[Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B), whose template it carries), under the Apache License 2.0.
See [`LICENSES/Apache-2.0.txt`](LICENSES/Apache-2.0.txt).
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ pub fn build(b: *std.Build) void {
@import("zig/build/glm_ocr.zig").hostTests(b, test_step);
@import("zig/build/dots_mocr.zig").hostTests(b, test_step);
server_build.webHostTests(b, test_step);
server_build.ollamaHostTests(b, test_step);
@import("zig/build/qwen4.zig").steps(b, test_step);
@import("zig/build/fsr.zig").steps(b, test_step);
@import("zig/build/kernel_symbols.zig").tests(b, test_step);
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = .tensorfold,
.version = "1.2.8",
.version = "1.2.9",
.fingerprint = 0xb6dc5a482d53980a, // Changing this has security and trust implications.
.minimum_zig_version = "0.17.0",
.dependencies = .{},
Expand Down
Loading