Repository navigation
Conversation
…e model computes qkv_bias false, use_qk_norm true and shared_expert_intermediate_size 0 are taken; any other value is refused by name. generation_config's repetition_penalty is a sampling default like temperature. The Coder folder's config joins the quant-config fixtures; its tensor names, dtypes and shapes equal the 2507 folder's, so the header fixture is shared. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Tokenizer::bos() is Option<u32>. bos_to_prepend refuses by name a vocabulary that adds a BOS and names none; served_as_hf requires only the EOS id, and the tokenizer keeps refusing add_bos without a BOS. The embeddings' media filler is the BOS when there is one and a named refusal when there is none, never another id. Qwen3-Coder's folder and unsloth's GGUF name no BOS. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…a limit Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Verdict: CLEAN: I found no failure path, duplicate, unneeded element or unpinned gate; three small non-blocking items follow.
Non-blocking
⚠ A test pins a refusal that another test owns: crates/serve/src/vocab.rs:314. The last lines of a_vocabulary_names_no_bos_only_where_it_adds_none call tokenizer::Tokenizer::from_keys with add_bos true and no BOS. That is the tokenizer crate's refusal (crates/tokenizer/src/vocab.rs:508), and crates/tokenizer/src/lib.rs:1437 already tests it. No serve code runs in those lines. Drop them; the first half still turns red if Vocab::new requires a BOS again.
⚠ The PIN date is later than the review date: crates/model-hf/src/bin/prepare.rs:867 says PIN(2026-10-28), and the review runs on 2026-10-27. If the author's date is the merge day, nothing to do. Otherwise, set it to the day the value changed.
⚠ The evidence row for the new folder is missing: docs/mac.md:57 is a new row, and the same file says each row's evidence is in contrib/mac.md section 1.1. docs/contrib/mac.md has the 2507 row and no Coder row. The M1 Pro run is in the PR body only. Copy it there, with the machine, the commit and the commands.
Checked
- Duplicates: 9 new items checked (
bos_to_prepend,NoBosTokenizer,with_no_bos, the filler refusal, the three config keys, the new tests). Grep finds no existing owner. The dryer reported 0 pairs. - Complexity: crapper flagged no function.
- Silent failure: 7 sites followed.
prompt_idsandembeddings::assemblerefuse an add_bos vocabulary with no BOS by name (HTTP 500 in the test). A media span with no filler is refused by name.served_as_hfstill compares a missing BOS key against the header (a mismatch is an error).bos_textbecomes empty only when no BOS exists, which is what the template sees. The threeOnlykeys refuse other values by name.Tokenizer::boshas 7 implementors, all incrates/serve, and all are updated. - Tests, mutants: flip
bos_to_prependtoOk(None)for add_bos with no BOS: the api and embeddings tests turn red. MakeVocab::newrequire a BOS: the vocab test turns red. Drop the fillerok_or_else: the request.rs and embeddings tests turn red. Dropqkv_biasfrom the map: the refusal loop turns red. - Gates: one pin moved, the BOS clause in
prepare.rs, with PIN, reason and FAIL-first in the PR body. The config refusals are new, not relaxed. - Performance: no hot path. The change is in load, request parsing and docs.
- Escape catalog: no match (no shell changes).
Notes
/props for the Coder folder returns bos_token as empty text, which fits add_bos_token false. The PR body has no nvidia-smi line (the run is on an M1 Pro), so I record no GPU evidence.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
What
mlx-community/Qwen3-Coder-30B-A3B-Instruct-4bitopens and runs on Metal, through--hfor-m <folder>. Its shapesare the Qwen3-30B-A3B's we run; its 1,351 tensor names, dtypes and shapes equal the 2507 folder's.
qwen3moe):qkv_bias,use_qk_normandshared_expert_intermediate_sizeare read onlyat the values the model computes (false, true, 0). Any other value is refused by name.
generation_config'srepetition_penaltyis a sampling default, liketemperature.bos_token_idkey either, andadd_bos_tokenis false.Tokenizer::bos()is nowOption<u32>.bos_to_prependrefuses by name a vocabulary that adds a BOS andnames none.
served_as_hfrequires only the EOS id. The tokenizer still refuses add_bos without a BOS.another id.
PIN(2026-10-28)): add_bos true with no BOS is refused; add_bos false with no BOSopens, and its split has no bos key.
docs/mac.mdand README list the Coder folder. Tool calls are a limit here; a follow-up PR lifts it.Evidence
config.json.qkv_bias is not a key this converter reads;serving requires tokenizer.ggml.bos_token_id;generation_config.json.repetition_penalty is not a key this converter reads);generate_metal --hfon the Coder folder (the hub cache's hash check passed on all 13 files) gives sensiblePython;
bloomery-serve-metalchat gives a correctis_prime;just lab-metal-e2erc 0;-D warnings.--round-ledger: the 83 gatestools/recipes.py reachselects for the changed Rust files, red 0(2458 s).
AI use: written and checked with Claude Code.
🤖 Generated with Claude Code