Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
27fe11e
feat(glm): launch GLM's CUDA kernels as dependent launches
laudney Nov 16, 2026
0881343
feat(qmmf): decode linears as weight-first dependent launches
laudney Nov 16, 2026
0781b2c
test(contract): GLM records nvcc 13.3 takes with the entry wait
laudney Nov 16, 2026
9cb5c94
test(glm): prove dependent GLM launches read finished inputs on GB10
laudney Nov 16, 2026
9cc0809
test(glm): keep the dependent-launch tests within the lean rules
laudney Nov 16, 2026
e885fae
fix(glm): read a dependent launch's inputs past the wait
laudney Nov 17, 2026
1b62db9
test(cuda): fail a global read placed above a dependent launch's wait
laudney Nov 17, 2026
9584c6d
docs(ledger): add dependent launches as optimization 30
laudney Nov 17, 2026
707ca83
docs(ledger): dependent launches are row 33, after main's rows 30-32
ashhart Nov 19, 2026
5721886
fix(contract): keep main's records of qmmf's 16-row cluster tiles
laudney Nov 17, 2026
76eb681
docs(receipts): GLM decode as dependent launches on 2 x GB10
laudney Nov 17, 2026
3a93e12
test(cuda): fail a dependent launch's wait that a path can skip
laudney Nov 17, 2026
5a56d83
test(glm): cover FP4 and MXFP8 tiles and weight-only early copies
laudney Nov 17, 2026
897ae0e
docs(receipts): rerun the order test and SASS check on the guards
laudney Nov 17, 2026
3015f78
docs(receipts): name the record commit by its subject, not its hash
laudney Nov 17, 2026
29055ad
refactor(glm): wait and trigger through qmm_frag's shared helpers
laudney Nov 17, 2026
99fcf23
ci: run the dependent-launch SASS checker's fixtures without a GPU
laudney Nov 17, 2026
260df59
fix(glm): keep host tests and the index emulator building with PDL
laudney Nov 17, 2026
bb579f9
docs(changelog): GLM decode kernels as dependent launches
ultradaoto Nov 18, 2026
bb57b04
fix(glm): a prompt chunk's KDA chain launches plain
ultradaoto Nov 18, 2026
14efd0d
docs(receipts): drop trailing spaces from the SASS check's captured log
ultradaoto Nov 19, 2026
0d674a7
changelog: #3776's line from lines/3776.txt in place of its own
ashhart Nov 19, 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
7 changes: 5 additions & 2 deletions .github/workflows/no-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ jobs:
python3 tools/zig/cuda_common_check.py
python3 tools/zig/cuda_fragment_check.py
python3 -m unittest discover -s tools/zig -p cuda_common_check_test.py -v
# check-pdl-loads needs nvcc; its SASS rules and planted early reads are checked here on fixtures.
- name: Dependent-launch SASS checker fixtures
run: python3 tools/test_pdl_early_loads.py -v
# The lean rule (600-line files, one-line comments within 120 columns, no direct getenv of a setting): no problem the base branch lacks.
- name: lean check
if: ${{ github.event_name != 'schedule' }}
Expand Down Expand Up @@ -154,8 +157,8 @@ jobs:
run: zig build -Dfixed-cpu test-golden
# The serving pins ran only in the nightly, so a PR that touched a pinned file landed green and turned the
# next nightly red (10-12 Nov). Run them on every PR: a changed pinned file needs its re-pin in the same PR.
- name: zig build test-gradient-serving test-qwen-serving-host
run: zig build -Dfixed-cpu test-gradient-serving test-qwen-serving-host
- name: zig build test-gradient-serving test-qwen-serving-host test-glm-pdl-scan
run: zig build -Dfixed-cpu test-gradient-serving test-qwen-serving-host test-glm-pdl-scan
# Hostile HTTP framing, API keys and download paths, on the CPU.
- name: zig build test-server-security test-pull-security
run: zig build -Dfixed-cpu test-server-security test-pull-security
Expand Down
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel

## Unreleased

- GLM-5.3-Flash on CUDA: GLM's kernels and qmmf's decode linears launch as programmatic dependent launches, so a decode token's kernels lose most of their launch gaps; experts, the router plan and the RoCE exchange stay plain launches, a prompt chunk's KDA chain launches plain from 64 rows, and `TF_GLM_PDL=0` launches everything plain (#3776, refs #3652). Thanks to @ultradaoto.

- dots.mocr on CUDA: `--vision` now serves images through the image tower instead of refusing them, within the request's `--vision-image-tokens` budget; text-only replies keep their pinned hashes, and the GB10 runner gains `tf-cuda-test dots-text` (three prompts of our own, served with and without `--vision`, against pinned reply hashes) and `dots-invariants` (image prompts cut into chunks against the uncut run) (#2771, refs #1927). Thanks to @laudney.

- Qwen3.8-27B on Metal before M5: decode rounds read their cached keys through the prefix kernels, as on an M5, and prompt passes size their memory the same way; `TF_QWEN27_SHARED_PREFIX=0` keeps cached keys on the tail kernel (#3677, refs #3604). Thanks to @hobbesd.
Expand Down Expand Up @@ -40,12 +42,12 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel

- HIP: in multi-rank runs, a follower rank refuses a step from rank 0 whose page ids, first page index, page-copy pages, snapshot slot, Flash Next begin slot or Nemotron resume row fall outside its own pool, table or slot counts, with the same `ShortMessage` error as a short message (#3081).



- Templates: `str.format()` renders positional fields (`{}`, `{N}`) and the `{{` `}}` escapes as Python does; signed or underscored indexes, keyword, attribute, conversion and spec fields are refused by name (#3816, refs #3801). Thanks to @atakann.

- Qwen3.8-27B on Metal: on Macs with tensor units (M5), drafted decode rounds run two 16-row query tiles in each prefix-attention threadgroup instead of up to six, with the same kernel and the same tokens; Macs without tensor units keep six on a long cache and four otherwise (#3704). Thanks to @mrv777.

- CUDA: with `TF_FLASHNEXT_KV_PAGES` on Linux, the Flash Next page pool no longer takes its whole arena at load: its 256 MiB pieces are mapped as streams first reach them, and a helper thread maps the next ones between requests, so at 262,144 x 3 on a GB10 about 14 GiB more stays free after load (MemAvailable 40.8-41.6 GiB against 26.5-27.0). Replies are unchanged; without `TF_FLASHNEXT_KV_PAGES`, and on other systems, nothing changes (#3066). Thanks to @Arminova.



- CUDA: with `TF_FLASHNEXT_KV_PAGES` on Linux, the Flash Next page pool no longer takes its whole arena at load: its 256 MiB pieces are mapped as streams first reach them, and a helper thread maps the next ones between requests, so more memory stays free after load. Replies are unchanged; without `TF_FLASHNEXT_KV_PAGES`, and on other systems, nothing changes (#3066). Thanks to @Arminova.
Expand All @@ -68,8 +70,6 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel

- Server: replies in recipient-addressed messages (`to=self` … `<|eom|>`, `to=user` … `<|eot|>`, as Muse Spark Open's chat template writes them) are split into reasoning, answer and tool calls, where the whole reply, markers included, ended up in `content` (#1336). Thanks to @ajensenwaud.



- Core prompt cache: the radix store can keep a checkpoint inside a page as a writable tail, a store-held copy of that page's rows that is never written again; no family turns tails on yet, so every current store behaves as before (#3329, part of #2444). Thanks to @laudney.

- CUDA: on a GB10, the one-launch path for two to four affine-4 prompt projections (`tf_qmm_prefill_many`) works out each thread's copy addresses once, before the K loop, instead of at every stage; the copies, their order and the math are unchanged (#2825). Thanks to @GumbiiDigital.
Expand Down Expand Up @@ -221,6 +221,7 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel

- Web: the packaged stand-in reports the current native version after a native release bump, and Web CI now runs when `build.zig.zon` changes with a build check that the committed packaged version is fresh (#3745, fixes #3739). Thanks to @AIFlowML.


## 1.2.10

- Server: `background: true` on `POST /v1/responses` answers at once with a queued response and generates the reply after the POST returns; `GET /v1/responses/{id}` polls it and `POST /v1/responses/{id}/cancel` or `DELETE` stops it, at most 64 are queued or running per server (16 per key, 256 MiB of copied requests) before a create answers 429, and `stream: true` with `background` is refused (#3220).
Expand Down
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ pub fn build(b: *std.Build) void {
@import("zig/build/tp.zig").add(b, target, optimize, test_step, tp_options);
@import("zig/build/tp_check.zig").add(b, target, test_step);
@import("zig/build/gradient_host.zig").add(b);
@import("zig/build/glm_pdl_scan.zig").add(b);
@import("zig/build/living_tools_host.zig").steps(b);
cuda_build.hostTests(b, draft_ids, build_options, test_step, target.result.os.tag != .macos);
@import("zig/build/env_defaults.zig").steps(b, draft_ids, test_step);
Expand Down
2 changes: 1 addition & 1 deletion docs/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Diagnostics quote and escape the supplied text so it cannot create another termi
| `TF_GLM_VISION_HOST` | Exactly `0` or `1`; default off (GLM vision weights on the device) |
| `TF_GLM_PROF` | Exactly `0` or `1`; default off (no GLM section timing). On, a prompt step is one chunk, with no pair or solo steps, so its prompt timings are of that shape |
| `TF_GLM_LINK_WAIT` | Exactly `0` or `1`; default off (short GLM steps go to the other ranks unwaited) |
| `TF_GLM_PDL` | Exactly `0` or `1`; default on (GLM matmuls use dependent launches) |
| `TF_GLM_PDL` | Exactly `0` or `1`; default on (GLM's kernels and its qmmf linears use dependent launches) |
| `TF_GLM_PROMPT_STEPS` | Exactly `0` or `1`; default on (GLM prompt passes in chunks); read on rank 0 |
| `TF_GLM_SHARED` | Exactly `0` or `1`; default on (GLM windows share a forward); read on rank 0 |
| `TF_GLM_DSEL` | Exactly `0` or `1`; default on (a GLM decode window's DSA select runs on many CTAs; 0 keeps one CTA a row) |
Expand Down
3 changes: 2 additions & 1 deletion docs/kernel-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@ the split chunks reading a rank's page z as chunk z, and the per-rank merge one
nvcc allocates registers differently from one release to the next, so the CUDA records are kept per release.
`registry.cuda` holds what nvcc 13.0 compiles, the compiler of the release fatbins. `registry.cuda_sets` lists what
each later release compiles differently from the release before it: nvcc 13.2's set holds `tf_rms_rows`, `lane_gemv`
and its split-K form, prompt16's FP8 tile, qmmf's FP4 32-row cluster tile, five 64-row fused-slice tiles of the MXFP8
and its split-K form, prompt16's FP8 tile, qmmf's FP4 32-row cluster tile and its FP4 and MXFP8 16-row cluster
tiles, five 64-row fused-slice tiles of the MXFP8
and FP32-output paths, FP8G's 32-row cluster tile with FP32 output, the common EXL3 prompt products, Super's
decode-sized latent top-k and NVFP4 up experts, the Mamba scan and Super's NVFP4 prompt down kernels, three of
GLM-5.3-Flash's packed matmuls and three of its DFlash2 launches, and the training launches it compiles differently,
Expand Down
14 changes: 14 additions & 0 deletions docs/optimization-ledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ last two hold the families with only a Metal, HIP or scoring backend.
| 30. Small-kernel fusion | ? | failed H[#1603] | ? | ? | ? |
| 31. Stream-tile prefetch | ? | failed H[#1603] | ? | ? | ? |
| 32. Filled-item prompt grid | ? | failed H[#1603] | ? | ? | ? |
| 33. Dependent launches | ? | ? | open [#3652] | ? | ? |

| Optimization | kol1 | spk25 | dory | mm3 | dsv41 |
| --- | --- | --- | --- | --- | --- |
Expand Down Expand Up @@ -116,6 +117,7 @@ last two hold the families with only a Metal, HIP or scoring backend.
| 30. Small-kernel fusion | ? | ? | ? | ? | ? |
| 31. Stream-tile prefetch | ? | ? | ? | ? | ? |
| 32. Filled-item prompt grid | ? | ? | ? | ? | ? |
| 33. Dependent launches | ? | ? | ? | ? | ? |

| Optimization | lfm2m | lfm3 | qwen4 | ling |
| --- | --- | --- | --- | --- |
Expand Down Expand Up @@ -151,6 +153,7 @@ last two hold the families with only a Metal, HIP or scoring backend.
| 30. Small-kernel fusion | ? | ? | ? | ? |
| 31. Stream-tile prefetch | ? | ? | ? | ? |
| 32. Filled-item prompt grid | ? | ? | ? | ? |
| 33. Dependent launches | ? | ? | ? | ? |

q3.5 `qwen3_5` (C, M, H, X), fnext `flashnext` (C, M, H), glm `glm` (C, M), gem4 `gemma4` (C, M, X),
nemo `nemotron` (C, M, H, X), kol1 `kolibri1` (C), spk25 `spark25` (C, M),
Expand Down Expand Up @@ -192,6 +195,7 @@ ling `ling` (host package only, no engine yet; CUDA plan in [#850]).
| 30. Small-kernel fusion | ? | ? | ? | ? |
| 31. Stream-tile prefetch | ? | ? | ? | ? |
| 32. Filled-item prompt grid | ? | ? | ? | ? |
| 33. Dependent launches | ? | ? | ? | ? |

| Optimization | gdsa | kimi | qwen3 |
| --- | --- | --- | --- |
Expand Down Expand Up @@ -227,6 +231,7 @@ ling `ling` (host package only, no engine yet; CUDA plan in [#850]).
| 30. Small-kernel fusion | ? | ? | ? |
| 31. Stream-tile prefetch | ? | ? | ? |
| 32. Filled-item prompt grid | ? | ? | ? |
| 33. Dependent launches | ? | ? | ? |

q27 `qwen27` (M: Qwen3.8-27B and Qwen3.5-MoE), lfm2 `lfm2` (C: LFM2-VL, scores decisions and writes no text),
llama `llama` (M), step5 `step5` (M), gdsa `glm_dsa` (M), kimi `kimi_k3` (M, native serving on [#2221]),
Expand Down Expand Up @@ -276,6 +281,7 @@ below; these are estimates for planning a port, not results.
| 30. Small-kernel fusion | none | low | none | HIP Flash Next: 1.2–2.0 % of a round for the hyper-connection block, 2.4–4.0 % for all four groups |
| 31. Stream-tile prefetch | none | none | none | HIP Flash Next: the hyper-connection projections, no gain |
| 32. Filled-item prompt grid | low | none | none | HIP Flash Next: prompt tok/s at most 1.2 % better |
| 33. Dependent launches | none | medium | none | the next kernel starts as one ends; GLM decode +4..+7 % |

## The optimizations

Expand Down Expand Up @@ -523,6 +529,13 @@ below; these are estimates for planning a port, not results.
| --- | --- | --- |
| flashnext (H) | first-token ratios 0.99–1.01, prompt tok/s at most 1.2 % better, decode and concurrency level | [#1603], one Strix Halo iGPU (gfx1151) |

33. **Dependent launches.** On sm_90 and newer a kernel can launch while the one before it ends, then wait
(`griddepcontrol.wait`) only where it reads that kernel's output; a linear can stream its fixed weights in before
the wait. GLM ([#3652]) opens every kernel with the wait and its qmmf decode tiles load weights first: decode
+6.8 % plain and +4.0 % drafted at TP=2 on GB10, the same tokens. An input a predecessor writes must not be
`const __restrict__`, or ptxas may place its non-coherent load above the wait; `zig build check-pdl-loads`
checks the SASS.

[#458]: https://github.com/ashhart/TensorFold/pull/458
[#468]: https://github.com/ashhart/TensorFold/pull/468
[#519]: https://github.com/ashhart/TensorFold/pull/519
Expand Down Expand Up @@ -671,6 +684,7 @@ below; these are estimates for planning a port, not results.
[#2375]: https://github.com/ashhart/TensorFold/pull/2375
[#2633]: https://github.com/ashhart/TensorFold/pull/2633
[#2634]: https://github.com/ashhart/TensorFold/pull/2634
[#3652]: https://github.com/ashhart/TensorFold/issues/3652
[#2784]: https://github.com/ashhart/TensorFold/pull/2784
[#2950]: https://github.com/ashhart/TensorFold/pull/2950
[#2764]: https://github.com/ashhart/TensorFold/issues/2764
Expand Down
71 changes: 71 additions & 0 deletions docs/receipts/glm-decode-pdl-60e67379/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# GLM-5.3-Flash on CUDA: its kernels as dependent launches, receipt

| TP=2 on 2 × GB10, same checkpoint, both serves on the factored expert form | main | this branch | change |
| --- | --- | --- | --- |
| Plain decode, 128 tokens, one stream (tok/s; serves `fb1` `fb2`, `fh1` `fh2`) | 24.60, 24.38 | 26.11, 26.20 | +6.8% |
| Time between tokens, p50 | 40.45, 40.83 ms | 38.13, 38.01 ms | −6.3% |
| Drafted decode, 256 tokens, one stream (tok/s; `db1` `db2`, `dh1` `dh2`) | 43.45, 42.70 | 45.17, 44.45 | +4.0% |
| Four streams at once, summed (tok/s, median of 4 prompts) | 98.55, 99.85 | 103.40, 104.05 | +4.6% |
| Cold 8k prompt, first token (s) | 5.666, 5.659 | 5.609, 5.610 | −0.9% |
| Cold 32k prompt, first token (s) | 22.83, 22.80 | 22.58, 22.73 | −0.7% |
| Tokens | | | equal in every serve |
| 30 / 60 cold 8k replies of 16 tokens, drafts off | 1 distinct of 30 | 1 distinct of 60, main's | the first version: 4 distinct of 30 |

Tested implementation: binaries built from `60e673799f` (the branch before its rebase onto `3f1290ffe7`; the rebase
changed no line of the branch and the 23 commits it crossed touch no GLM or qmmf source). Base: `077998f7d9`.
Test date: 2026-11-17. Platform: 2 × GB10 (sm_121, 128 GB shared memory) at TP=2 over a direct RoCE link,
driver 580.178.04, Ubuntu 24.04, NCCL 2.30. Toolchain: Zig 0.17.0, nvcc 13.5 (V13.5.37) for the served binaries.
`binaries.txt` has their sha256. Checkpoint: `nvidia/GLM-5.3-Flash-FP4-Local` at
`76348ddb2be2e35e39ecfc00e75dc07703f4f3d5`.

## Scope

Every GLM kernel and qmmf's decode linears launch as dependent launches (default; `TF_GLM_PDL=0` launches them
plain). This receipt qualifies served speed and exactness at TP=2 on GB10: plain and drafted decode, four streams,
cold 8k and 32k prompts, drafted = plain, concurrent = alone, resumed = cold, determinism after a long prompt, the
kernel contract and the early-load check. It does not qualify sm_90, sm_100 or sm_120 GPUs on hardware (no such GPU
here; their images pass the SASS check), TP=3 or one GPU.

## Results

| Check | Result |
| --- | --- |
| Plain decode and cold prompts, alternated main, head, head, main, then the head with `TF_GLM_PDL=0` (`runs/fb1` `fh1` `fh2` `fb2` `foff`) | Table above; `TF_GLM_PDL=0` 24.21 tok/s, 41.12 ms, 5.681 s and 22.74 s, main's tokens. Every serve's tokens equal: plain `1d7c9d905ba7`, 8k `43b05393cf25`, 32k `2e98fab70f4c` |
| Drafted decode and four streams, alternated (`runs/db1` `dh1` `dh2` `db2`) | Table above; drafted tokens `3fcd20ce2fb0` in all four, 2.94 to 3.01 tokens a chunk on both |
| Exactness on each binary (`runs/re-h`, `runs/re-b`) | `golden_http.py`: drafted = plain on 3 prompts, the same 3 token sha256s on head and main; `bench_concurrent.py --alone --serial`, 1, 2 and 4 streams, greedy and sampled: 84/84 equal their alone runs and 30/30 their serial runs on each; `resume_http.py`: repeated, `"draft": false` and two at once equal the cold reply (the prompt holds a clock nonce, so its reply differs between the two serves) |
| Determinism after a cold 8k prompt (`runs/determinism.txt`) | 16-token replies, drafts off: head 60/60 one reply, main 30/30 the same reply. The first version (`79c9ffe97f`, inputs `const __restrict__`): 24/30 that reply and 3 others (3, 2 and 1) |
| Kernel contract on GB10 (`contract/`) | `tf-cuda-test kernel-contract`, nvcc 13.3, sm_121: `SUMMARY 661 kernels: 661 pass gates 1-4, 0 fail, 8 known findings; 422 controls: 422 red as planted, 0 missed; 387 limit problems`, exit 1 from the limit problems alone; the 8 known findings are the registered ones (GLM's relu as `fmaxf`, qwen35's NaN-chunk merge). The limit problems are stale nvcc 13.3 records, none a launch past a limit: `kernel-contract-limits` on sm_80/86/89/120/121 fatbins finds 834 on main and 832 on this branch, every branch one also stale on main (`contract/limits-stale.txt`; 5,330 PASS, 0 FAIL). The contract ran before "fix(contract): keep main's records of qmmf's 16-row cluster tiles", which keeps main's records of 4 qmmf cluster tiles; the limits run on it |
| Dependent launch order on GB10 (`contract/glm-pdl-order.log`) | `tf-cuda-test glm-pdl-order`: 17 PASS; each GLM kernel and qmmf's BF16, FP4 and MXFP8 decode rows, launched dependent after a slow writer, equal their plain launch, and the planted read before the wait sees the poison |
| Early loads (`contract/check-pdl-loads.log`) | `zig build check-pdl-loads -Dsm=80,120,121`, nvcc 13.5: 0 early reads, predicated waits or branches past the wait in 402 functions of 9 images (the first version: 12 in 201 functions, `contract/sass-early-loads.txt`) |

## The race the SASS check guards

A first version launched the same kernels dependent with their inputs `const __restrict__`. nvcc gives those
inputs non-coherent loads (`ld.global.nc`), and ptxas scheduled them (`LDG.E.CONSTANT`) above
`griddepcontrol.wait` in 12 kernels: the DSA selectors (`dsel_scan`, `dsel_merge`, `index_pools`), `dsa_tokens`,
seven KV-host kernels and `df_attn`. The PTX rules allow it, as `.nc` data must stay unchanged for the kernel's whole
life. A selector then read a position or a score before the kernel writing it had ended, and replies after a long
prompt varied while the first token did not. Those inputs drop `__restrict__`; outputs keep it.
`zig build check-pdl-loads -Dnvcc=…` disassembles the GLM images and qmmf and fails any sm_90 or later function
that reads global memory before its wait, or that has no wait and is not a plain-only entry.

## The expert-form confounder

The GLM load times its two expert forms once a binary and keeps the faster (`window cost` cache, keyed by the
executable). The head's binary kept `classic`, main's `factored`; per kernel (`runs/kprof-*.csv`, nsys over 3 × 128
tokens, both plain launches) the forms moved plain decode by about 3% on their own. The first A/B (`runs/rb1` `rh1`
`rh2` `rb2` `roff`) ran with them mixed and showed +3.5%. For the A/B above, the head's kept flag was set to `factored`,
as main's, so only the change under test differs; each serve's `form.txt` has its line. The form choice is outside this
change.

## Reproduction

Every serve, rank 0 and rank 1 (`TF_GLM_RANK`): `tensorfold-native serve CKPT --host 127.0.0.1 --port 8090 --name
local-model --no-update-check --context 65536 --parallel 4 --prompt-cache-gib 0` (`ab`, `dc`), `--context 40960
--parallel 4` (`ex`). In each serve's folder: `tools/suites.sh ab|dc|ex REPO prompts`. Table: `python3
tools/pdl_ab.py runs fb1 fh1 fh2 fb2 foff`, `… db1 dh1 dh2 db2`. Determinism: `python3 tools/first.py 8090
prompts/p8192.json 16 60` against a fresh serve with `--prompt-cache-gib 0`.
Contract, nvcc 13.3 (`-Dnvcc=/usr/local/cuda-13.3/bin/nvcc`): `zig build kernel-contract -Dnvcc=…`; `zig build fatbins
kernel-contract-fatbins -Dnvcc=… -Dsm=80,86,89,120,121`, then `tf-cuda-test kernel-contract-limits zig-out/fatbin` on
this branch and on main; `tf-cuda-test glm-pdl-order`. Early loads: `zig build check-pdl-loads -Dnvcc=…
-Dsm=80,120,121`.
Loading
Loading