Repository navigation
Conversation
Owner
Author
|
Review fixes pushed (0e9944a):
Results:
Next: GB10 runs, main against this branch. We'll check exactness on the families it reaches, and that a bad id beside a live stream fails only its own request.
|
Owner
Author
|
GB10 results so far, main against 0e9944a (CELLS pp, sweep and chat):
Gemma 4 12B, LFM2.5 and Spark 2.5 are next on another GB10. This lands once those are in.
|
Owner
Author
|
The other three GB10 models, main against 0e9944a:
Every model is in, so this goes into the landing queue. It lands after the 1.2.9 cut.
|
ashhart
force-pushed
the
security/token-ids-cuda
branch
from
November 17, 2026 09:05
0e9944a to
58cbfa6
Compare
Open
8 tasks done
ashhart
force-pushed
the
security/token-ids-cuda
branch
2 times, most recently
from
November 17, 2026 23:42
ec4e143 to
1b7c583
Compare
8 tasks done
…e the lookup The embedding kernels read the table at the id they are given and none of them bounds it, so the host check is the only one. Each path now refuses an id at or past the vocabulary before it uploads the ids, and the loaders that took the table as stored refuse one whose rows are not the vocabulary's.
… the decode graph The dense pass (dots.mocr on CUDA) staged its chains' ids with no bound; it now refuses one at or past the vocabulary with the other families' TokenOutsideVocabulary. A Flash Next decode-graph replay writes the round's ids in prepare and never reaches Pass.stage, and the n-gram hash folds any id into its table, so prepare refuses one at or past the vocabulary first. The serving pins for cuda_batch, cuda_prompt, cuda_rows and cuda_round_graph take this branch's bytes.
ashhart
force-pushed
the
security/token-ids-cuda
branch
from
November 22, 2026 05:04
1b7c583 to
1020ec7
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Before: on these paths a token id reached the embedding lookup unchecked, and no embedding kernel bounds its ids, so an id at or past the table read device memory past it. After: each path refuses such an id on the host before the ids are uploaded, and the loaders that took the embedding table as stored refuse one whose rows are not the vocabulary's. CUDA paths: nemotron, gemma4, glm, flashnext on one rank, minimax_m3, the qwen3_5 MTP drafter, lfm2, lfm2_moe, spark25, dory and kolibri1.
SECURITY.mdasks for private reports, so there is no public issue.atc overlap --json: not run.Checks on this head
1037c729e83b46e6c15a69662acf8fbd03f8fe2fpython3 tools/zig/lean_check.py, on the base and on this head: 345 on the base, 345 on this head, 0 new.zig fmt --checkon 26 files: passesgit diff --check: passeszig build native: 66/66 steps succeededzig build check-native-cuda-host compile-flashnext-mtp-parity-host compile-glm-native-open: 11/11 steps succeededzig build -Dhip=true check-native-hip-host test-native-hip-host test-environment-hip-host test-hip-family-offers-host test-qwen3-hip-host: 19/19 steps succeededzig build xpu-nativewith stand-ins for Intel'soclocand nGEN headers: 47/47 steps succeededzig build test-lfm2-load-host test-step5-host test-lfm3-host test-lfm3-prefill-host test-minimax-info-host test-minimax-cuda-host test-xpu-refusal-host test-draft-xpu-host test-qwen27-config-xpu-host test-nemotron-round-depth-host test-nemotron-prefill-widths-host test-nemotron-mtp-policy-host test-nemotron-restored-head-host test-nemotron-subset-head-host test-nemotron-grants-host test-nemotron-copies-host test-gemma4-load-parts-host test-gemma4-owners-host test-gemma4-contract-host test-gemma4-prompt-head-host test-gemma4-tower-host test-glm-window-contract-host test-glm-contract-host test-glm-formats-host test-glm-copies-host test-flashnext-host test-flashnext-batch-host test-flashnext-mtp-plan-host test-flashnext-driver-host test-flashnext-single-session-host test-flashnext-scheduling-host test-flashnext-constraint-host test-flashnext-prefill-pairs-host test-flashnext-contract-host test-qwen35-rounds-host test-qwen35-verify-host test-qwen35-prefill-host test-qwen35-draft-frames-host: 197/197 steps succeeded; 841/847 tests passed (6 skipped)zig build test-cuda-host: 391/391 steps succeeded; 6231/6269 tests passed (38 skipped)zig build test-golden test-server-security test-pull-security: 76/76 steps succeeded; 31/31 tests passedsecurity: a token or label past the embedding table is refused before uploadzig build testand every step that runs on a GPU were not run: this Mac's GPU was serving a model, and no CUDA, ROCm or Intel hardware was available.Receipt
Checklist
b38a4dd02. On this base only the passing side was rerun.For a change that reaches inference:
"draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. Not measured: no served run.Notes for the reviewer
zig/tests/fixtures/gradient-serving.tsvneeds their lines re-pinned after merge (hashes below).zig/src/families/flashnext/cuda_batch.zig12d5aec256867e50bb2619217f2c06660b0862f6f4aa1172e7d00a308fcddbe0;zig/src/families/flashnext/cuda_prompt.zig91cdf7ec539635390ef4ffa9045dafcf14ee63cccf83e6f0d54d2a9d7578915e;zig/src/families/flashnext/cuda_rows.zig15d41f522a76e5c0617800914ddc92e1a506ee9071b73749bdeb623f6ea895cc.Suggested changelog line
CUDA: nemotron, gemma4, glm, flashnext, minimax_m3, qwen3_5's MTP drafter, lfm2, lfm2_moe, spark25, dory and kolibri1 refuse a token id at or past the embedding table before the lookup.