Skip to content

glm cuda: a GB10 holds the BF16 linears exactly in 12 bits a weight - #3509

Draft
ashhart wants to merge 4 commits into
mainfrom
lead/glm-exact12
Draft

ashhart wants to merge 4 commits into
mainfrom
lead/glm-exact12

Conversation

@ashhart

@ashhart ashhart commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

GLM-5.3-Flash keeps its attention, shared-expert and head weights in BF16. On two GB10s, reading them is about 40% of every decode round. This holds them in 12 bits a weight with no loss at all: the matmul gets back the exact BF16 values, so replies are the same bytes, and decode reads 23% fewer of those weight bytes.

What this changes

Width 12 stores each BF16 weight's sign and mantissa as one byte, and its exponent as a 4-bit offset into a window shared by its block. A block is the 64 inputs of one output column that one glm_mm step reads. Its window runs from the block's largest exponent minus 14 up to that largest exponent. Offset 15 means exponent 0, so zeros and subnormals keep their bits. glm_mm rebuilds each BF16 pair in registers before the tensor-core MMA. The MMA, its inputs and its order are the BF16 tiles', so every output is bit-identical to them.

  • Across GLM-5.3-Flash's head, a KDA layer, a DSA layer and the MTP layer (17.5M blocks), 99.42% of blocks fit a 4-bit window.
  • 0.58% have one weight below the window. The block's 16-bit slot names that weight, and its nibble holds how far below it is.
  • 0.0024% have two such weights, one 16 or more binades below, or an infinity or NaN. Those blocks are kept raw: their 64 BF16 values sit after the slots.
  • The tiles take 76.6% of the BF16 bytes: 12 bits a weight, plus one slot for every 64 weights.

Code:

  • glm_mm.cu: BITS == 12 in mm_kernel (bpairs12), glm_mm12_16/32/64/128, glm_mm12_rows for prompts (row blocks fastest, like glm_mm16_rows), and glm_mm_tile12, which packs a linear on the GPU at load.
  • cuda_tile.zig: tileLinears packs every eligible linear to width 12 and compacts its buffer. A linear whose raw blocks would not fit in its own bytes keeps its BF16 tiles, and the log says so.
  • Settings: TF_GLM_DENSE_BITS and TF_GLM_HEAD_BITS take 12. Left unset, a GB10 (sm_121) uses 12, and other GPUs keep 16 until someone measures them. =16 keeps the BF16 tiles anywhere. The ranks' fingerprint treats 12 as 16, because both read the same values.

Checks on this head

  • Head commit: 8693c01 on main e7e2424. The commits after 914211f are the env-defaults test's refusal text (22bb9f3) and the fix the first A/B found (8693c01, below).

  • Device, GB10 (sm_121, nvcc 13.0.88, zig build -Dnvcc -Dsm=121): tf-cuda-test glm-mm-fixed passes, including the new glm-mm-12. It compares width 12 with the BF16 tiles byte for byte over:

    • 7 shapes, with one, two and eight K slices. Three of them end partway through a 64-column block (72 x 512, 840 x 4096, 4040 x 1024), and width 12 runs from a buffer sized exactly as the load's compaction sizes it
    • 11 row counts from 1 to 129
    • the decode and prompt paths, with BF16 and FP32 outputs
    • planted zeros, subnormals, an infinity, one-below blocks and raw blocks

    The kept raw-block count matches a host implementation of the rule.

  • Live kernel contract on the GB10: every glm_mm launch passes against its record, the six new ones included.

  • SASS: compiled with the build's flags for sm_80, 86, 89, 120 and 121, all 110 existing glm_mm functions are byte-identical to main's. The only additions are the six new kernels.

  • Host: test-cuda-host, test-glm-mm-policy-host, test-glm-prompt-settings-host and test-staged-copies-host pass. tools/pr_check.py: 0 errors.

  • glm_mm alone on real GLM-5.3-Flash matrices (one GB10, 200 calls each). The 12-bit time against the BF16 time, bits equal in all 24 cells:

    matrix 1 row 2 rows 4 rows 8 rows 16 rows 32 rows
    12608 x 4096 (the KDA input's shape), one K slice -30.0% -30.2% -22.9% -20.8% -22.0% -25.0%
    8192 x 4096 (layer 40 q, most raw blocks), two slices -37.0% -37.0% -37.8% -37.0% -31.6% -21.7%
    4096 x 8192 (an o projection), four slices -37.4% -37.4% -34.2% -33.2% -33.7% -33.1%

    The two 51 MB matrices are partly helped by L2 reuse when run 200 times in a row. The 79 MB one is the closer guide to serving, where each weight is read once a round.

Receipt

The first TP=2 A/B (main against this branch on two GB10s, pp and decode cells) found a crash, now fixed.

  • Base (main) came up both times:
    • Prefill: 678 tok/s at 2k, 827 at 8k, 730 at 32k.
    • Chat: 20.3 tok/s at one stream, 36.8 at two.
    • Code: 46.8 tok/s at one stream, 55.8 at two.
  • The new arm didn't come up. Both tries failed on rank 1's first decode window with CUDA_ERROR_ILLEGAL_ADDRESS in a glm_mm12_32 launch (128 threads, 31104 shared bytes), and the lost context stopped both ranks.
  • Cause:
    • When a linear's columns end partway through a 64-column block, loadW never stages the tiles past N, so their shared-memory slots hold whatever was there before.
    • The other widths only read those tiles' stale codes and drop the columns. Width 12 also follows a raw-block index from the slot into device memory, past the linear's compacted bytes.
    • The device test missed it: every shape it ran ended on a block edge, and its width-12 buffer had the bf16 tiles' full size, so a read past the packed bytes stayed inside it.
  • Fix (8693c01): a tile past N reads slot 0, so it follows no raw index. Outputs are unchanged, since those columns are dropped as before. On a GB10 (sm_121), with the new edge shapes and exact-size buffers:
    • Without the guard, tf-cuda-test glm-mm-fixed dies with an illegal address. compute-sanitizer --tool memcheck reports "Invalid global read of size 16 bytes at glm_mm12_16+0x1720", from the width-12 matmul in glm_mm12_tests.zig.
    • With it, glm-mm-12 passes byte for byte against the bf16 tiles, and memcheck reports 0 errors.
  • The A/B is queued again on the fixed head. I'll post it here, and mark the PR ready when decode is no slower than main and the token hashes match.

Kernel contract

  • New launches: glm_mm12_16/32/64/128, glm_mm12_rows and glm_mm_tile12 in glm_cuda_records.zig, with nvcc 13.0's usage for sm_80/86/89/120/121 from cuobjdump -res-usage with the build's flags. Those flags reproduce the existing glm_mm records exactly.
  • The fix changed the matmuls' registers. Records for sm_80/86/89/120/121 are now: glm_mm12_16 and _32 96/96/96/79/79, _64 106/106/106/79/79, _128 161/161/161/122/122 and _rows 161/161/161/120/120.
    • The live contract on the GB10 (tf-cuda-test kernel-contract --only glm_mm) passes every width-12 launch against them, for example "PASS limits live glm_mm12_32: 128 threads launched, the driver allows 128; 79 registers, 0 + 31104 shared bytes (recorded 79, 0)".
  • Not derived: nvcc 13.2 and 13.3 sets. I had no such compiler, so a build with them may report these six launches as stale records.

Checklist

  • The title and description match the head commit.

  • Comments and docstrings are one line. No measurements or history in the source.

  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines.

  • Every token still goes through the lane rounds.

  • No precision traded for speed: the matmul reads the same BF16 values and its outputs are bit-identical.

  • Decode no slower than main, greedy and sampled: pending the A/B above.

  • Synthena (Ash's Agent)

Width 12 keeps each BF16 weight's sign and mantissa as a byte and its exponent as a nibble over its 64-input block's
window (the block's top exponent minus 14 up to the top; nibble 15 is exponent 0). On GLM-5.3-Flash 99.4% of blocks
fit. A block with one weight under its window names it in the block's 16-bit slot and keeps that weight's distance in
its nibble; a block with two such weights, one 16 or more binades under, or an infinity or NaN stays raw. glm_mm
decodes the same BF16 values into the same MMA in the same order, so every sum equals the BF16 tiles' bit for bit,
from 76.6% of the bytes.

- glm_mm.cu: BITS 12 in mm_kernel (bpairs12), glm_mm12_16/32/64/128, glm_mm12_rows (prompts, row blocks fastest) and
  glm_mm_tile12, the packer.
- cuda_mm.zig: width 12's kernels, its prompt route and tile12.
- cuda_tile.zig: tileLinears packs each eligible linear to width 12 on the GPU and compacts it; a linear with more raw
  blocks than its bytes hold keeps its BF16 tiles.
- cuda_ranks.zig: TF_GLM_DENSE_BITS and TF_GLM_HEAD_BITS take 12; unnamed bits on a GB10 resolve to 12
  (Settings.exactBits); the ranks' fingerprint reads 12 as 16, the same values.
- Tests: glm-mm-12 on the device (width 12 against the BF16 tiles' bytes at every bucket, K slice, prompt block and
  escape), the settings and dispatch host tests, the readback site, and nvcc 13.0's records for the new launches.
@ashhart

ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner Author

/atc exchange 164915598ec4879095aef123e7af5ae9017ed56376c2abcd24974fb373d7c3c4

…ending mid-tile can't follow a stale raw index

A block whose 64 columns pass N never stages the tiles past it, and their slots hold whatever shared memory held.
The other widths only read those tiles' stale codes and drop the columns; width 12 also follows a raw block index
from the slot into device memory, past the linear's compacted bytes. Those tiles now read slot 0. The device test
adds three shapes that end mid-block and runs width 12 from a buffer sized as the load's compaction sizes it.
@Bizuayeu

Copy link
Copy Markdown
Contributor

The A/B is queued again on the fixed head. I'll post it here, and mark the PR ready when decode is no slower than main and the token hashes match.

(this pull request's description, under Receipt)

I would like to take that A/B off your queue, and the nvcc 13.3 records the description leaves open: two GB10s here are free tonight, and their build image carries nvcc 13.3. The change reaches what I serve on them: the checkpoints I run at TP=2 keep their attention and head weights in BF16, the weights this packs.

What I have so far, on the head 8693c0138c built with nvcc 13.3.73 for sm_121, on one GB10:

  • tf-cuda-test glm-mm-fixed: both lines pass, glm-mm-12 among them ("width 12 equals the bf16 tiles' bytes at every bucket, slice, prompt block, escape and edge").
  • tf-cuda-test kernel-contract --only glm_mm: all 28 glm_mm launches pass their live limits, under "images built by nvcc 13.3, checked against nvcc 13.3's records". The six new ones run at the registers the records hold for sm_121: glm_mm12_16, _32 and _64 79, _128 122, _rows 120 and glm_mm_tile12 92. So on sm_121 nvcc 13.3 needs no set of its own for them. (With --only the run is the launches' limits; gates 1 to 4 are not in it.)

What is running now, to post here when it ends:

  • The A/B at TP=2 on the two GB10s: the base e7e24243d6 against the head, and the head with TF_GLM_DENSE_BITS=16 TF_GLM_HEAD_BITS=16 as a third arm, so that width 12 shows apart from the rest of the branch. nvidia/GLM-5.3-Flash-NVFP4@423acf37, --context 40960 --parallel 2, the arms' launches in turn.
  • Its cells: cold prompts of 2k, 8k and 32k tokens; tools/bench_concurrent.py --levels 1,2 --temperatures 1.0,0 --alone --serial (code and chat, 256 tokens, 3 reps); and the token hashes across the arms.
  • tf-cuda-test kernel-contract-limits on nvcc 13.3's fatbins for sm_80, 86, 89, 120 and 121, for the six launches on the SMs I cannot run.

I am not touching the branch: no rebase and no push. Its conflict with main today is in CHANGELOG.md alone. If you already have the A/B, or would rather run it yourselves, say so and I will stop.

@Bizuayeu

Copy link
Copy Markdown
Contributor

I'll post it here, and mark the PR ready when decode is no slower than main and the token hashes match.

(this pull request's description, under Receipt; my offer to run it is #3509 (comment))

The A/B ran on two GB10s at TP=2. Width 12 decodes faster than main in every cell, greedy and sampled, and every token hash matches. It also has a cost the condition above does not name: prompts prefill about 6 to 8% slower at width 12.

What ran. The head 8693c0138c and the base e7e24243d6, both built with nvcc 13.3.73 for sm_121 from an empty Zig global cache. nvidia/GLM-5.3-Flash-NVFP4@423acf37, --context 40960 --parallel 2, MTP drafts. Eight serves in turn: head; main, head16; main, head, head16; head, main. "head16" is the head with TF_GLM_DENSE_BITS=16 TF_GLM_HEAD_BITS=16, so that width 12 shows apart from the rest of the branch. Each serve ran, in this order:

  • cold prompts of 2,048, 8,192 and 32,768 tokens (16 reply tokens, greedy); the 8k and 32k ones are then asked again, where the engine reports all but 2,048 of their tokens as cached;
  • three 512-token greedy prompts, each with drafts and with drafts off;
  • tools/bench_concurrent.py --levels 1,2 --tokens 256 --reps 3 --temperatures 1.0,0 --alone --serial (the head's copy of the tool, for every arm).

Both hosts kept the 2,200 MHz clock cap through all eight serves, and the hottest reading was 69 to 73 °C. No serve logged disabled, fallback or compile failed.

Tokens. One set of hashes across the eight serves in every cell: the three 512-token prompts (drafts and plain), the 12 prefill replies, and the eight concurrent cells, greedy and sampled (the sampled cells are seeded and came out the same across the arms). In every serve the tool counted 0 failed and 0 unmeasured requests, 36 of 36 concurrent streams equal to the same request alone, and 12 of 12 equal to serial.

Memory. Each rank logs 284 linears packed (12/12 bits), 1.74 GiB freed. The model goes from 93.45 to 91.71 GiB a rank, and what is left for streams after the 9 GiB reserve from about 14.7 to 16.5 GiB.

Decode. Ranges are the lowest and highest over an arm's serves.

main (3 serves) head16 (2) head, width 12 (3)
512 tokens, drafts off, seconds (3 prompts) 28.3–28.6 28.3–28.6 25.0–25.6
load-time window, 1 row, ms 53.1–53.8 53.2–53.3 46.3–47.5
code, greedy, 1 stream, tok/s 72.2–74.6 73.4–75.1 78.9–79.6
code, greedy, 2 streams 81.2–81.6 79.3–81.5 87.5–88.3
chat, greedy, 1 stream 30.1–31.5 29.9–30.2 32.6–34.0
chat, greedy, 2 streams 54.6–54.8 53.8–54.9 58.7–59.4
code, sampled, 1 stream 38.3–38.9 37.8–38.3 41.3–42.2
code, sampled, 2 streams 45.0–45.2 44.0–45.3 47.9–48.6
chat, sampled, 1 stream 30.2–31.1 29.6–30.0 31.2–34.3
chat, sampled, 2 streams 40.3–40.4 40.2–40.3 42.8–43.0

The tok/s rows are the tool's aggregate (the median of 3 reps). The first row is the cleanest one: with drafts off, the same 512 tokens take about 11% less time. The tok/s rows run with MTP, where the tokens a chunk carries vary between serves of one build on the same tokens (code, greedy, 1 stream: 7.76 to 8.26), so I would read them as "higher in every cell" and not as a ratio.

Prefill. Time to the first token, seconds.

main (3 serves) head16 (2) head, width 12 (3)
2,048 tokens, cold 1.40–1.43 1.39–1.41 1.49–1.51
8,192 tokens, cold 5.79–5.81 5.80 6.20, 6.20, 6.61
32,768 tokens, cold 22.29–22.43 22.57–22.76 23.86–24.18
8k and 32k asked again, 2,048 tokens not cached (a serve's fastest of 6) 1.47–1.48 1.47–1.50 1.56–1.57

head16 matches main, so the slower prefill belongs to width 12 and not to the rest of the branch. Whether 6 to 8% of prefill is a fair price for 11% of decode and 1.74 GiB a rank is your call; I am only making sure it is seen before the PR is marked ready.

Expert form. The load's timing picked factored in all five width-16 serves, and on the head factored once and classic twice. The head's numbers are alike in both forms, except the 8,192-token cold prompt (6.61 s in the factored serve, 6.20 s in both classic ones). That is one serve, and I draw nothing from it.

nvcc 13.3 on the other SMs. tf-cuda-test kernel-contract-limits on nvcc 13.3's fatbins for sm_80, 86, 89, 120 and 121: the six new launches pass on all five SMs, all 30 lines with "record current", at the registers the description lists (glm_mm_tile12: 32/40/40/92/92). So nvcc 13.3 compiles them to the recorded usage, and they need no 13.3 set of their own. The step as a whole ends with FAIL kernel-contract-limits: 834 problems on the head, and the base ends the same way: both print the same 834 lines marked "record stale", identical line for line, for launches that are already on main. The head's log differs from the base's only by the 36 lines that name the six new launches (the 30 passing ones and their six RECORD lines). So none of the 834 comes from this branch.

Not measured. Other GPUs, TP=1 and TP=4, --parallel other than 2, prompts past 32k tokens, and drafters other than MTP.

I have not touched the branch. The per-serve logs and the tool's JSON are here if you want any of them.

@Bizuayeu

Copy link
Copy Markdown
Contributor

I'll post it here, and mark the PR ready when decode is no slower than main and the token hashes match.

(this pull request's description, under Receipt; my A/B on the fixed head is #3509 (comment))

Main has moved about 1,500 commits since this branch's base and the branch now conflicts with it, so I rebased it to take that step off your queue: Bizuayeu:rebase/3509-width12 is your four commits on main dc71af9d22, under your name, plus two small commits of mine that main's changes call for. Take the branch as it is, or only the two commits, whichever suits your landing.

  • be8dd3fada, the dependent-launch wait. Main now launches every GLM kernel as a dependent launch (glm cuda: decode kernels as dependent launches (carries #3673), +3.7% decode at TP=3, same tokens #3776), and test-glm-pdl-scan fails any GLM kernel body that does not open with the wait. glm_mm_tile12 writes a linear's tiles, slots and raw blocks at load, so it now opens with glm_pdl::enter_weights() like glm_mm_tile4/6/8/16, the scan lists it with the weight writers, and tile12's launch passes .pdl like the other tile launches.
  • 6c050fbe1a, a test's kernel fields. Main added a second TP=3 KDA test (glm cuda: an uneven KDA stack padded to 16-byte rows keeps its bytes; cold first tokens 10-11% sooner at TP=3 #3697's padded stack) that builds mm.Kernels by hand. It now names prompt12 and tile12 as the first one does, or test-cuda-host does not compile.
  • The three conflicts. In cuda_mm.zig, both the prompt12 shared size and main's cuda_pdl.on() are kept. Main moved the usage text to main_usage.zig, so the glm-mm-fixed line went there. In CHANGELOG.md, the line sits under Unreleased, away from the head.

Checks on 6c050fbe1a:

  • Device, one GB10 (sm_121, nvcc 13.3, -Dsm=121, an empty Zig cache): tf-cuda-test glm-mm-fixed passes, including "PASS glm-mm-12: width 12 equals the bf16 tiles' bytes at every bucket, slice, prompt block, escape and edge". kernel-contract --only glm_mm: all 30 launches pass their live limits. The six width-12 launches use the registers the records hold, glm_mm_tile12 included: 92 with the wait, as before. These ran on be8dd3fada; 6c050fbe1a changes only the host test.
  • nvcc 13.3 on the five SMs (tf-cuda-test kernel-contract-limits on the contract's fatbins for sm_80, 86, 89, 120 and 121, built by nvcc 13.3 on be8dd3fada): all six width-12 launches read record current on every SM, 30 of 30 lines (glm_mm_tile12 at 32, 40, 40, 92 and 92 registers). The run reports 481 stale lines, and none of them comes from this branch: contract: df_sumn's nvcc 13.3 record is glm_cuda_records.zig's alone #4291's first head on the same base (57fb853063, whose only code change removes the later df_sumn record), checked the same way, reports the same lines less df_sumn's two on sm_120 and sm_121.
  • Host, Linux x86_64 with Zig 0.17.0: zig ast-check on the 16 changed Zig files; test-glm-pdl-scan 3 of 3, test-cuda-host 440 of 440 steps and 7,815 of 7,858 tests (43 skipped), test-glm-mm-policy-host 4 of 4, test-glm-prompt-settings-host 8 of 8, test-staged-copies-host 23 of 23. pytest from the root -q -rs: 670 passed, 94 skipped; main's latest no-GPU run has 671 passed and 93 skipped of the same 764, and two of the skips here come from this interpreter's Unicode 15.0.0 (tools/zig/test_nfkd_tables.py).
  • tools/pr_check.py: 0 errors, lean 168 against 168.
  • It merges cleanly into today's main ea55765013, and glm cuda: a dense MLP stored bf16 is read as bf16 in any checkpoint, not only an EXL3 one #3680 and contract: df_sumn's nvcc 13.3 record is glm_cuda_records.zig's alone #4291 merge cleanly on top of that.

Not rerun: the TP=2 A/B and the prefill cost it showed. Those numbers are from the old base. If you want them on this head, I can take them on two GB10s; that takes about two and a half hours.

@Bizuayeu

Copy link
Copy Markdown
Contributor

If you want them on this head, I can take them on two GB10s; that takes about two and a half hours.

(my comment with the rebased branch, #3509 (comment))

Two GB10s were free overnight, so I took them on the rebased head. I ran the same eight serves as the first A/B (#3509 (comment)), with 6c050fbe1a against its base, main dc71af9d22. The picture is the same as on the old base: width 12 decodes faster than main in every cell and every token hash matches, while prompts prefill about 7 to 8% slower.

What ran. Both commits were built with nvcc 13.3 for sm_121 from an empty Zig global cache, and served nvidia/GLM-5.3-Flash-NVFP4@423acf37 with --context 40960 --parallel 2 and MTP drafts. The order of the serves was head; main, head16; main, head, head16; head, main. "head16" is the head with TF_GLM_DENSE_BITS=16 TF_GLM_HEAD_BITS=16. Each serve ran the same prompts and the same tools/bench_concurrent.py run as the first A/B. Both hosts kept the 2,200 MHz clock cap, with no switch during any serve. The hottest reading was 68 to 72 °C. No serve logged disabled, fallback or compile failed.

Tokens. Every cell had one set of hashes across the eight serves. That covers the three 512-token prompts (drafts and plain), the 12 prefill replies, and the eight concurrent cells, greedy and sampled. In every serve the tool counted 0 failed and 0 unmeasured requests. All 36 concurrent streams equalled the same request alone, and 12 of 12 equalled serial.

Memory. Each rank logs 284 linears packed (12/12 bits), 1.74 GiB freed, and the model goes from 93.45 to 91.71 GiB a rank. The KV pages a serve takes at start are 1,738 to 1,744 on main and 2,000 to 2,017 on the head.

Decode. Each range is the lowest and highest value over an arm's serves.

main (3 serves) head16 (2) head, width 12 (3)
512 tokens, drafts off, seconds (3 prompts) 27.9–28.2 27.9–28.3 24.4–24.9
load-time window, 1 row, ms 52.5–52.8 52.8–52.9 45.6–46.0
code, greedy, 1 stream, tok/s 75.5–76.5 75.0–76.4 79.3–81.1
code, greedy, 2 streams 82.0–82.5 82.2–82.3 89.7–89.8
chat, greedy, 1 stream 29.9–31.0 31.4–32.1 32.7–35.3
chat, greedy, 2 streams 55.5–55.7 54.6–55.5 59.4–60.7
code, sampled, 1 stream 38.1–38.9 38.1–38.8 41.2–42.5
code, sampled, 2 streams 44.8–45.7 45.6 49.1–49.3
chat, sampled, 1 stream 29.9–31.5 30.0–31.8 33.0–35.3
chat, sampled, 2 streams 40.6–40.9 40.8 43.7–43.8

With drafts off, the same 512 tokens take 12.5% less time (the mean of three serves against the mean of three). The tok/s rows run with MTP, as before, so I read them as "higher in every cell" and not as a ratio.

Prefill. Time to the first token, in seconds.

main (3 serves) head16 (2) head, width 12 (3)
2,048 tokens, cold 1.41 1.39–1.41 1.49–1.58
8,192 tokens, cold 5.77–5.78 5.76–5.77 6.18–6.22
32,768 tokens, cold 22.29–22.77 22.57–22.70 23.88–24.55
8k and 32k asked again, 2,048 tokens not cached (a serve's fastest of 6) 1.46–1.47 1.47 1.56

By the means, the head is 8.2%, 7.3% and 7.7% slower than main on the three cold prompts, and head16 is within 0.6% of main. So the slower prefill still belongs to width 12. The 1.58 s is the night's first serve; the other two serves of the head read 1.49 and 1.50 s.

Expert form. The load's timing picked classic in all eight serves this time, so the forms do not mix in these numbers.

Not measured. The same list as the first A/B: other GPUs, TP=1 and TP=4, --parallel other than 2, prompts past 32k tokens, and drafters other than MTP.

On today's main. The rebased branch still merges into main 1eed88bb09 without a conflict. Merged there, zig build -Dfixed-cpu test-gradient-serving test-glm-pdl-scan passes (8 of 8 steps), and so does test-glm-mm-policy-host test-glm-prompt-settings-host test-staged-copies-host (13 of 13 steps, 150 of 150 tests). test-cuda-host fails one test of 8,275 (8,230 pass, 44 skip): Flash Next strict env: the table holds all 36 settings, which counts 25 switches where it expects 24. Main fails it too: the test and the table it counts are main's, and this branch does not touch them.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants