A generated title card reading Qwen4-35B-A3B Leak, with the subtitle What the withdrawn AMD PR revealed, and four chips reading 40 layers, 256 experts top-8, 1,048,576-token context and 105 GB BF16.
Engineering & Research

Qwen4-35B-A3B Leak: What the Withdrawn AMD PR Revealed

Author

jinhao.song

Date Published

Models in this article · 2View all models →
Back to all posts

At 14:47 UTC on 30 November 2026, a pull request appeared in sgl-project/sgl-amd-mono, AMD's SGLang fork, titled "[Feat] [MI355X] qwen4_35b_a3b: Run Qwen4-35B-A3B's EAGLE verify steps in 11 persistent launches". By 16:36 the same request had been renamed "Withdrawn", its branch deleted and its comments locked. An hour later a post from @kimmonismus drew the obvious conclusion: "Looks like Qwen4-35b is incoming." The guess is reasonable. Qwen4-Max, Alibaba's 2.4-trillion-parameter flagship, has been a closed-weight hosted model since 16 November, and the closest open-weight 35B-A3B in the line, Qwen3.6-35B-A3B, still carries a 262,144-token window. But the interesting part is not that a PR appeared and vanished. It is what the code inside it specified — and how much of that survives a withdrawal.

The two-hour life of PR #227

GitHub deletes the branch, not the objects. The pull-request endpoint now returns 404, but the timeline endpoint still lists every event, and each of the nine commit SHAs still resolves through the Git data API. That is how the sequence below was reconstructed, and it is the reason this piece can quote the config rather than paraphrase a tweet.

• 02:46 to 14:42 UTC — nine commits, all by jacky.cheng from an @amd.com address, every message prefixed qwen4_35b_a3b. The first adds "the Qwen4-35B-A3B spec behind a Qwen4-Exp family spec"; the last writes the README describing the launches, server flags and kernel test.

• 14:47:19 — the pull request opens. Its original title carried a performance claim as well: "…in 11 persistent launches, c1 +42% and c4 +11% output tok/s".

• 14:49:47 — the title is edited to drop that claim, two minutes after opening.

• 15:28 and 15:52 — two comments land: "is this real? My dreams comin' true" and "something is happening".

• 16:31:18 — the author closes it. The head branch is deleted at 16:33:31. At 16:36:54 the title becomes "Withdrawn", a comment is deleted by the sgl-project organisation account, and the thread is locked.

None of that tells you why. An accidental push, a checkpoint that was not meant to be named publicly, or a review that decided the work was not ready all look identical from the outside. What the code says is more specific.

What the withdrawn code specifies

The module is sgl_amd_mono/qwen4_35b_a3b/spec.py, and its docstring names the target precisely: "Qwen4-35B-A3B (SGLang's Qwen4-Exp, BF16 checkpoint) on gfx950". The constants file above it names the config it was built against: Qwen/Qwen4-35B-A3B-1118 config.json, text_config. The "1118" reads as an internal checkpoint date, 18 November, twelve days before the PR.

• Width — hidden size 2,048, 40 layers, 16 attention heads, 2 key/value heads, head dimension 256, partial rotary factor 0.25, RMSNorm epsilon 1e-6.

• Experts — 256 routed experts with top-8 routing, a 512-wide MoE intermediate and a 512-wide shared expert. That is the same expert geometry as the public Qwen3.6-35B-A3B, and it is what makes a 35B-total model activate roughly 3B parameters per token; the spec does not state the active count itself.

• Attention pattern — three Gated DeltaNet layers followed by one Qwen Sparse Attention layer, repeated ten times across the 40 layers.

• QSA indexer — 4 index heads of dimension 128, 4-token compressed blocks, and a 2,048-token budget, which the code describes as 512 blocks.

• Per-layer embeddings — one PLE layer at index 2, embedding width 2,048, convolution kernel 4, n-gram size 3 with 8 heads per n-gram.

• Context — max_position_embeddings of 1,048,576 and an embedding table of 248,320 rows.

• Weights — 105 GB in BF16, run at tensor parallelism 1. The docstring is blunt about it: "The whole model runs on one GPU (TP 1): 105 GB of BF16 weights."

A generated single-column scoreboard for Qwen4-35B-A3B: hidden size 2,048, 40 layers of three GDN plus one QSA, 256 experts with top-8 routing, a 1,048,576-token context, 105 GB of BF16 weights, and a test rig of one MI355X at TP1.

A 35B model with a million-token window

The architecture is not a new one. It is Qwen4-Exp, the family SGLang already uses for Qwen3.8-Flash-Next, and the family spec's own docstring says both checkpoints normalize to the same qwen4_exp model type. That matters for reading the leak: the string "Qwen4-Exp" in a kernel PR is not by itself evidence of a new Qwen model, because a model released in August already runs under that name. What is new here is a second checkpoint shape with its own config, size and attention budget.

The 1M context is the headline. Three Gated DeltaNet layers compress history into a fixed-size recurrent state, and the fourth layer does sparse attention instead of full attention: a small indexer scores 4-token blocks and keeps the top 2,048 tokens, so the expensive part of attention scales with 512 selected blocks rather than with the full million-token sequence. The PLE block adds an n-gram lookup table alongside the transformer, the same idea Qwen3.8-Flash-Next carries in a much larger form. The MTP draft — the speculative-decoding head — is Flash-Next's shape, which is why the PR spends its effort on EAGLE verify steps of three draft tokens plus one.

Read together, the config describes an iteration on a proven 35B-A3B skeleton rather than a new architecture: same width, same depth, same expert count, same 3-to-1 linear-to-sparse pattern, with four times the context and two new lookup mechanisms. That is a plausible direction for a smaller Qwen4 sibling. It is not a benchmark, and it says nothing about quality.

A screenshot of the orphaned GitHub commit 2a72a84 in sgl-project/sgl-amd-mono, showing the warning that the commit belongs to no branch, 12 changed files, the qwen4_35b_a3b spec.py, and a README row describing EAGLE verify steps of up to 8 requests by 4 tokens.

What 105 GB of weights implies

A 105 GB BF16 checkpoint does not fit on a consumer card. Four 32 GB GPUs hold the weights with nothing left for KV cache; a single 24 GB card is out of the question. The test server in the PR runs one MI355X at TP1 with decode graphs for batch sizes 1 through 8, which is an accelerator-class target, not a laptop one.

The spec also refuses quantized checkpoints outright: if the config carries a quant_method, the forward is disabled with the reason "needs the BF16 checkpoint". So the first supported path in this PR is BF16 only. A GGUF, AWQ or FP8 build would be separate work. For anyone hoping the leak means a downloadable model next week, that is the part to sit with — the code describes serving a BF16 checkpoint on AMD hardware, not shipping a file that runs on your desk.

Kernel numbers are not model scores

The performance figures in the commit trail measure a kernel, not a model. The original PR title claimed 42% more output tokens per second at concurrency 1 and 11% more at concurrency 4. A later commit body revises the picture in the other direction: at input length 8,192 and output length 1,024, with a tuned fused MoE, "c1 and c4 are unchanged (494 and 1008 output tok/s)", while steps of 7 and 8 requests went from a 3.1% loss to a 1.2% gain once routing was capped at 6 requests.

Those are engineer-reported, unreproduced numbers from one AMD part, comparing this forward against SGLang's own. There is no MMLU, no GPQA, no coding score, no independent evaluation of any kind in the pull request. Anyone quoting "494 tok/s" as a property of Qwen4-35B-A3B is quoting a kernel benchmark for a checkpoint the public cannot download.

How it compares to Qwen3.6-35B-A3B

The public Qwen3.6-35B-A3B is the natural yardstick, because the leaked config is close to a copy of its skeleton. Its config.json is public, Apache 2.0, and has been downloaded about 2.85 million times.

• Width and depth — 2,048 hidden and 40 layers on both.

• Experts — 256 routed, top-8, 512-wide intermediate on both.

• Attention — the same three Gated DeltaNet layers then one full-attention layer, with the same 16 query heads, 2 KV heads and 256-dimension heads.

• Context — 262,144 on Qwen3.6-35B-A3B against 1,048,576 in the leaked Qwen4 config, a fourfold increase.

• Additions — the Qwen4 shape adds the QSA indexer and the PLE block; neither appears in the Qwen3.6 config.

• Availability — public weights, a licence and a model card on one side; a private-looking checkpoint string, no repository and no licence on the other.

• Price today — Qwen3.6-35B-A3B is routed at $0.248 per million input tokens and $1.485 per million output tokens with a 262,144-token context, which is what a 35B-A3B actually costs when you can call it.

The comparison is the useful takeaway. If the leaked checkpoint ships, the question a buyer will ask is not "is it bigger than Qwen3.6" — it is not — but whether four times the context and the sparse-attention path justify a new deployment. On the evidence here, that is an architecture bet, not a demonstrated gain.

What is confirmed, and what is not

Confirmed: a pull request existed, nine commits specified a Qwen4-35B-A3B checkpoint shape, the work targeted AMD MI355X at BF16, and the author withdrew it within two hours. The commit objects are still readable through the API even though the PR page is gone.

Not confirmed: a release date, a licence, open weights, benchmarks, a final model name, or that Qwen will ship this checkpoint at all. The Qwen organisation's public Hugging Face listing carries 469 models and none of them is a Qwen4; the checkpoint string in the spec is not publicly resolvable. The only official sentence pointing this way is Alibaba's 16 November press release, which says smaller open-weight Qwen4 models "will soon be released to developers worldwide" — no size, no date, no licence.

There is also a naming caution. "Qwen4-Exp" is a runtime identifier that already serves Qwen3.8-Flash-Next, and a kernel PR using it is engine work on a path that already exists. What makes this one different is the second config: 40 layers, 256 experts, a 1M position table and 105 GB of BF16 weights, which is a specific checkpoint rather than a family label. Whether that checkpoint is called Qwen4-35B-A3B when it ships is Qwen's decision, not AMD's.

What to run while you wait

Nothing about this leak is callable today. Qwen4-35B-A3B has no endpoint, no weights and no price, and it is not in our catalogue — we cannot route a model that does not exist. What is callable is the rest of the line, and the price gap is the reason the leak matters commercially.

Qwen4-Max is the 2.4-trillion-parameter, 71B-active flagship with a million-token context, metered at $1.50 in and $4.50 out per million tokens since general availability on 16 November. Qwen3.6-35B-A3B is the small open-weight option at $0.248 and $1.485, with a quarter of the context. A 35B-A3B with Qwen4-Max's window would sit between them, and that is exactly the slot the leak implies.

For teams that want to test the shipped models before the unshipped one arrives, the switching cost is the usual one: a second contract and a second SDK. One API for 200-plus models, 0% markup on provider list prices, automatic failover across providers, and a routing DSL that composes several models into one call turn a mixed-vendor evaluation into a config change. A leak is the case for that setup rather than against it: you cannot build a production path on a withdrawn PR, but you can put the models that do exist behind one key and compare them on your own traffic.

A screenshot of the OrcaRouter model page for Qwen3.6 35B A3B, showing a 262K-token context, $0.248 per million input and $1.485 per million output tokens, and approximately 3 billion activated parameters.

What would change this story

Four things would move Qwen4-35B-A3B from leak to product: a repository under the Qwen organisation, a model card with a licence, an official release date, or an independent benchmark on public weights. Until one of those appears, the honest description is an architecture leak with unusually good documentation — a full config, a serving spec and a kernel plan, published by accident and retracted in two hours. The numbers are worth reading. The model is not yet worth planning around.