r/Qwen_AI • • 40m ago

Discussion Qwen4 35b great model, but...

Thumbnail reddit.com
1 Upvotes

r/Qwen_AI • • 1h ago

Benchmark RTX 4070 Laptop: 86.1 tok/s peak | RTX 4060 Laptop: ~38 tok/s peak, 239K input tested

Thumbnail
reddit.com
1 Upvotes

r/Qwen_AI • • 2h ago

Discussion 👀 Qwen4 35B A3B can also draw SVG @ 31tok/s on Intel b390 iGPU

1 Upvotes

r/Qwen_AI • • 2h ago

Discussion Qwen 4 35B Q4 beat GPT-6.2 Astra, Same Prompt

5 Upvotes

The prompt:

Create a 3D firs-person browser horror game taking place in a subway where paranormal events happen and the player has to fight them. It's inspired the TV show Supernatural. The player has to fight 5 enemies. Vengeful Spirit -> Poltergeist -> Cursed Object -> Vampire -> Demon, with popular weapons from the show and general folkrole (rock salt in guns, silver bullets/weapons/items, occult items, and the ever popular colt revolver (super item, special, rare). The game begins in the first level with the first enemy. When defeated, a creepy train comes to pick the player up, taking them to the next stage (another subway platform deeper in), that gets progressively darker, creepier, occult each time.

Both models run in Pi harness with nothing added besides Anthropic's frontend-design skill.

Qwen 4 35B A3B UD-Q4_K_XL xhigh on Strata using my RX 6750 XT at 256K context, run at 50-100t/s decode and 1000-1200t/s prefill.

GPT-6.2 Astra was used with high reasoning.

Qwen 4 35B almost one-shot it, delivering 90% of what the game is now in a single try. Later revisions simply tuned the UI more towards my liking and had some minor bug fixes (ghosts getting stuck, inverted controls).

GPT6.2 Astra of course one-shot it with no bugs but it's result was a piss poor fake looking unemployable game that it made with what looks like no effort.

Qwen 4 35B Game Screenshot
GPT 6.2 Astra Game Screenshot

Screenshots don't provide a great idea of what they built. At a glance the game may look better in terms of graphics from GPT 6.2 Astra, but it's boxed and the UI around it makes it look like a point-and-shoot game rather than a real 3D FPS. And GPT's gameplay? Horrid. No nice effects when shooting/using items, no real satisfaction or difficulty (shoot the ghost 5 times and it dies within seconds), no eerie animations or anticipations, nothing.

Qwen 4's result, while less graphically impressive is an actual real 3D FPS horror game, with a larger platform to explore, items you can pick up, real game mechanics (trapping entities in a pentagram, burning the cursed object with oil, finding and using the Colt to one-shot the demon), a proper main menu with difficulty options, an eerie cut-scene of the train arriving to pick you up and other things.

I won't bother with the GPT6.2 result.

But, if you'd like to try out the revised Qwen 4 result (I liked the initial output so much I iterated it and made updates), you can play it at:

https://supernatural.splatink.win (IPv6-only!)

I don't think the main takeway here is that Qwen 4 35B is somehow smarter or more capable than GPT-6.2 Astra, trust me, it is NOT.

What it does show is a very common behavior of flagship models that I have had to deal with for months now: They are very, very lazy. They focus on delivering the bare minimum of what you asked for even if that result is soulless and boring, simply because it looks visually appealing at a quick glance.

I don't know if that's because they're trained around usage limits and costs in mind, or because they're trained to be commercial products.

But Qwen 4 with no such limitations or training had no fear of working for 3+ hours to deliver what it did. It went on building, debugging, taking screenshots, playing the game to ensure fun engaging gameplay etc.

The frontier isn't bad, it's just super lazy. Modern local models aren't afraid to spend 10 million tokens on a single prompt if that means delivering a good result.


r/Qwen_AI • • 2h ago

Discussion Swapping Qwen4-35B-A3B's n-gram (Engram) table to F16 measurably improves BFCL-v4 tool-calling accuracy (+2.1% overall)

Thumbnail reddit.com
1 Upvotes

r/Qwen_AI • • 2h ago

News [Release] Qwen4 35B A3B GSQ-RCO

Thumbnail gallery
6 Upvotes

r/Qwen_AI • • 2h ago Heartwarming

Chill Prepare for new blood flooding this subreddit

9 Upvotes

This is just my personal viewpoint and experience, but with Qwen3.5 35B, I tought: we can finally have a somewhat usable chatbot. Then came i invested to use the 27B and Qwen flash next, and i finally moved the usage from achat bot to trusting it for some agentic work, and do some real work.
Now the Qwen4 35B dropped with the same quality if not even a bit better on some cases and the future bigger models hopefully will only have better capabilities.
Since the 35B is now usable, we will see a flood of new people and that's a good thing. Local AI is not promise for the future but a possible reality for everyone. I learned so much by reading the posts of the amazing people sharing their views, opinion, hardware and projects in this subreddit browsing it became a daily routine to not miss any new information.

35BA3 can run in pretty much any decent computer, even full cpu can be done with some pp and tg concessions. I don't know how much time it will take, but a world where everyone can have his personal agent and assistant running at home is becoming a reality.
We are sharing an incredible journey that is shaping the future of IT , and we still didn't even scratch the tip of it. Everyone has his goals, fame, sharing knowledge, help people or just trying to find a business model with this technology and all this energy is converging in a single point: AI .

I just want to thank all the community , open models, inference engine and people sharing their setups, crazy ideas and vision that pushed this new world forward.


r/Qwen_AI • • 2h ago

Benchmark Qwen4-35B-A3B at 90 tok/s on 8GB VRAM (262K context) and 180 tok/s on a 5060 Ti + DDR4 — Meet SlenderEngine

1 Upvotes

Hey everyone,

If you thought running Qwen4-35B-A3B at massive context required a dual-3090 rig or a Mac Studio, think again.

I’ve been building SlenderEngine, a local C++/CUDA inference engine engineered specifically to make massive open-weight MoE models fly on normal 8–16 GB gaming GPUs—even when paired with older DDR4 RAM.

GitHub: https://github.com/rafid-dev/SlenderEngine

Real-World Numbers (Qwen4-35B-A3B)

All numbers below are real average decode speeds—no quality-destroying shortcuts, bit-exact/rounding-level parity preserved by default:

Unsloth Q4_K_M quant:

  • 180 tok/s average decode on 16 GB RTX 5060 Ti + DDR4-3200
  • 150 tok/s average decode on 12 GB RTX 4070 Ti + 32 GB DDR5-6000
  • 90 tok/s average decode on 8 GB RTX 4060 + 32 GB DDR5-6000 (running 262K context, expandable all the way up to the full 1M context!)

Unsloth Q5_K_XL quant:

  • 300+ tok/s average decode on 32 GB RTX 4080 + DDR4-2133

Unsloth Q8_K_XL quant:

  • 80 tok/s average decode on 16 GB RTX 5060 Ti + DDR4-3200

How it pulls this off

  • Built for 8–16 GB VRAM + 32 GB RAM: Automatically manages VRAM budgets so Windows/Linux stays snappy without desktop stutter. Uses paged expert offloading, direct NVMe SSD streaming/striping for cold experts, and smart RAM pinning (--resident-experts) so even slow DDR4 doesn't choke your token generation.
  • Zero re-encoding / quality promise: Point it directly at standard .gguf files or safetensors folders. Every speedup is verified to stay bit-exact or within rounding-level loss by default—quality-altering hacks stay off unless you explicitly turn them on.
  • Native MTP / Speculative Decoding: Built-in draft-layer acceleration out of the box across Qwen4, Qwen3.6, Gemma 4, Inkling-2-Mini, and MiniCPM5.
  • Built-in Web UI & APIs: Run with --serve to get a local browser chat UI (127.0.0.1:8080) with live tok/s and context rings, thinking-effort toggles (Off to XHigh), vision drag-and-drop, a /analytics dashboard, and OpenAI + Anthropic-compatible endpoints.
  • Multi-GPU without NVLink: Pass --gpu 0,1 or --gpu 0,1,2,3 to split across cards automatically.

Supported Models (Out of the Box)

ModelRecommended HardwareMax Tested Context
Qwen4-35B-A3B (incl. Vision)8–16 GB GPU · 32 GB RAM · SSD1M (262K+ even on 8 GB)
Gemma 4 26B-A4B12–16 GB GPU64K (256K supported)
Qwen3.6-35B-A3B12 GB+ GPU · 32 GB RAM262K
Inkling-2-Mini8–16 GB GPU262K
MiniCPM5-15B-A2.5B12–16 GB GPU (Q8_0)32K (512K extended)
Qwen3.8-Flash-Next12 GB+ GPU · 32 GB RAM · SSD262K

1-Command Setup (Windows & Linux)

Requires an NVIDIA RTX 30 / 40 / 50 series GPU. The setup wizard detects your GPU/RAM, compiles the binary if needed, and spits out a ready-to-run launcher:

Bash

git clone https://github.com/rafid-dev/SlenderEngine.git
cd SlenderEngine

python3 tools/slender_setup.py   # Linux & Windows
# or .\SETUP.bat on Windows

(Originally forked from Strata and built out into an independent multi-model engine—full credits, benchmark logs, and quality verification docs are in the repo).

Drop your GPU/RAM specs in the comments if you give it a spin—curious to see what tok/s numbers people hit on 8 GB and 12 GB cards!


r/Qwen_AI • • 3h ago

Strata Qwen3.8 flash next on 16gb VRAM, 96gb RAM results?

0 Upvotes

RAM: ddr3 1333Mhz
GPU: V100 SXM2 16gb
CPU: Intel Xeon E5-2673 v3
Motherboard: X99

What prefill/decode will i expect to get for iq3_XXS ? Anyone with similar hardware setup?


r/Qwen_AI • • 3h ago

Vibe Coding Which Qwen coding subscription offers the highest usage limits?

1 Upvotes

r/Qwen_AI • • 3h ago

News Qwen4-35B-A3B runs on Android tablet

Thumbnail reddit.com
1 Upvotes

r/Qwen_AI • • 4h ago

Benchmark Difference in quants and loop adapter (AtomicChat Q6_K Uncensored and Unsloth Q8_K_XL)

3 Upvotes

N-gram Q8 and KV FP16
All models ran with strata and strats own loop adapter

Prompt if you want to try it

Create a single, self-contained HTML file with a 3D three.js animation of a SpaceX Falcon 9 rocket launch.
Technical rules:
- Load three.js as an ES module with an import map from https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js (addons, if you need them, from https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/). No other external files: build every object from three.js geometry and materials, with no texture or model downloads.
- The canvas fills the window and follows window resizes. Animate with requestAnimationFrame and a THREE.Clock.
The scene:
- A Falcon 9 on its launch pad: white body, black interstage, grid fins near the top, nine engines at the base, folded landing legs.
- A launch tower with a crew-access arm, a flame trench, the ground, a sky that fades to the horizon, distant sea or terrain, and sunlight with shadows.
The sequence (about 40 seconds in total):
Pre-launch (about 12 s): the camera slowly orbits the rocket on the pad. Light vapor vents from the rocket. An on-screen countdown runs from T-10 to T-0.
Ignition (T-0): the engines light with bright flames, white smoke and steam billow out of the flame trench, the scene flashes, and the camera shakes a little. The tower arm swings away.
Liftoff and ascent: the camera stops orbiting and stays at one fixed position near the pad, but it keeps turning to follow and focus on the rocket. The rocket rises slowly at first and then faster, pitches over downrange, leaves a growing exhaust trail, and gets smaller until it is a bright dot that disappears over the horizon.
After the rocket disappears, show a "Replay" button that restarts the whole sequence.
Return the complete file in one ```html code block.

r/Qwen_AI • • 4h ago

Help 🙋‍♂️ Qwen 3.8 27b Graphing Qwen 4 35b A3 Ngram

2 Upvotes

Is any working on this too? I am trying to use fable to get working using A100 on Google Colab. I am having a ton of problems. Hoping someone can give me pointers.


r/Qwen_AI • • 4h ago

Resources/learning Part 2: Running Strata QAT Qwen4-35B-A3B (96.8% BF16) + 14.4h of real agentic coding on an 8GB RTX 4070 Laptop / 16GB RAM (Guide & Flags)

1 Upvotes

In Part 1, people asked two things: does it actually survive long agentic coding past 15K–32K context, and how do you run Strata's own QAT builds (Compact 2.13 bpw / Balanced 4.85 bpw) instead of 2-bit PTQ?

(Above GIF: 1-shot animated SVG pelican pedaling a bicycle — Strata Balanced QAT 4.85 bpw vs llama.cpp UD-IQ2_S 2.8 bpw*, same prompt, same 8GB laptop.)*

Here are the real numbers from a 14.4-hour continuous agentic run and the exact flags to run Strata QAT on consumer hardware.

14.4 Hours of Real Agentic Coding (Homelab → 8GB Laptop)

I pointed OpenCode on a separate Linux homelab over LAN at my 8GB RTX 4070 Laptop (128K ctx, port 8080) to build, audit, and test a real project in strict Luau (linter + formatter + unit tests):

  • Uptime: 14.4 hours straight (1,284 turns) — 0 OOMs, 0 CUDA crashes, 0 restarts.
  • Context & Speed: 1.54M prompt tokens (peak single prompt: 93,675 tokens), 878K generated at 30.6 t/s median (41.3 t/s peak).
  • Tool Calling: 276 autonomous tool calls (96 shell, 92 edit, 40 read, 27 grep, 10 glob, 8 write) — 0 errors.
  • Output: Shipped TerrainBuffer2D.luau (1,086 LOC + 1,253 LOC spec in a 3.3h session), TurnStateMachine.luau (1,266 LOC + 1,310 LOC spec), and CraftingLogic.luau (982 LOC) with 245 unit tests passing.

Strata QAT vs llama.cpp (Same 8GB RTX 4070 Laptop / 16GB RAM)

SetupFidelityCtxPrefillDecodeTTFTVRAMRAM
Strata Balanced MAX4.85 bpw QAT (96.8% BF16)32K/64K76.8 t/s11.6–16.6 t/s1.5s7.6 GiB14.5 GiB
Strata Compact2.13 bpw QAT (89.3% BF16)32K246.0 t/s24.0–30.9 t/s0.40s6.0 GiB11.6 GiB
llama.cpp codingUD-IQ2_S + CPU Vision128K352.9 t/s31.7 t/s2.15s6.6 GiB15.6 GiB
llama.cpp fast (-np 4)UD-IQ2_S (4 parallel slots)32K327.7 t/s52.5 t/s agg2.03s6.3 GiB15.8 GiB
  • 6–8GB VRAM + 16GB RAM: Compact fits 100% in VRAM + RAM (0% SSD). Balanced streams ~61–64% cold experts from Gen4 NVMe.
  • 8–12GB VRAM + 32GB+ RAM: Balanced drops the SSD tier completely and jumps to 30–50 t/s at 96.8% BF16 accuracy.

4 Strata QAT Tuning Findings on 8GB / 16GB

  1. --mtp off is mandatory on 8GB VRAM: On Compact it boosted decode +13–22% (21.3 → 29.1 t/s) and freed 800 MiB VRAM. On Balanced it avoided 2–3× NVMe random reads per step.
  2. --vram-reserve 0 on Balanced**:** Strata's default WDDM reserve (1536 MiB) leaves ~1.95 GiB unused. Setting 0 packs 1,791 experts into VRAM instead of 1,126 (+25–30% speed).
  3. --ram-budget-mib 6500**:** Raises Windows 16GB pinned host RAM from the 5,848 MiB default, cutting NVMe reads by -36% (use 6250 if you have heavy apps open).
  4. --ring-slots 1024 --kv q4_0 + TC_MODE=4**:** Halves 32K KV (0.20 GiB), fits +17 more experts on GPU, and keeps 5/5 on math, logic, Python bug-fix, JSON, and SQL probes. (For 64K ctx, use --kv k8v4*.)*

Copy-Paste Commands (Strata v0.2.27+)

Compact QAT (24–31 t/s · 0.40s TTFT · 0% SSD):

bashstrata launch --model compact --family qwen4-35b-a3b \
  --context 32k --kv int8 --vision off --mtp off --tune skip \
  --set vram-reserve=640 --access local --port 8080 --no-tui --yes

Balanced MAX QAT (96.8% BF16 · 11.6–16.6 t/s):

bashstrata launch --model balanced --family qwen4-35b-a3b \
  --context 32k --kv q4_0 --vision off --mtp off --tune skip \
  --set vram-reserve=0 --set ram-budget-mib=6500 --set ring-slots=1024 \
  --set STRATA_Q4_TC_MODE=4 --set STRATA_Q4_MOE_TC_MODE=4 \
  --access local --port 8080 --no-tui --yes

(Note: add "--ram-budget-mib": 1, "--ring-slots": 1 to STRATA_SERVE_FLAGS in strata_control/qwen4_family.py so --set forwards them.)

Both llama.cpp and Strata expose Qwen4-35B-A3B on port 8080, so OpenCode, Claude Code, Pi, and Codex switch between 128K speed (llama.cpp), 0.4s TTFT (Compact), and 96.8% BF16 precision (Balanced) with zero client config changes.


r/Qwen_AI • • 5h ago

Discussion Happy Wan (Wan 4.0): will Alibaba keep the Wan line open-weight? And what it'll cost via API if it doesn't

1 Upvotes

Quick context if you haven't followed it: Happy Wan, also called Wan 4.0 or "Black Falcon", is Alibaba's next video model, from the merged Wan + HappyHorse teams. It isn't officially released yet (mid-December is the common guess), but Black Falcon already sits #1 on the Higgsfield Video Arena at ~1194 Elo, ahead of Seedance 2.5 (~1152) and Wan 3.0 (~935).

The question I care about as a Qwen user: will it be open-weight?

Wan 2.1 and 2.2 were released as open weights under Apache 2.0, which is a big part of why the Wan line got so popular for local and ComfyUI workflows. Happy Wan comes partly from the HappyHorse team, which is more product-focused, so there's a real chance the flagship launches API-only first, maybe with a smaller open model later. Nothing is confirmed either way.

If it's API-only, here's what you'd be paying. Current 1080p rates from the AIVideoWatch.com pricing index (90 platforms, verified Dec 6, 2026):

Model1080p / sec45s clip
Seedance 2.5$0.400$18.00
Kling 4.0$0.172$7.74
Wan 3.0$0.124$5.58
Happy Wannot released?

Since Black Falcon reportedly does multi-shot 30 to 45s clips with native audio in one pass, the cost per clip adds up fast even at Wan 3.0 rates.

Tip that works now: use Qwen to write your video prompts as shot lists (shot 1 / shot 2 / shot 3, with camera, lighting and audio for each). That's the structure multi-shot models reward, and you can test it on Wan 3.0 today at 480p for a few cents per second.

Right now am using AiVideoWatch to track Happy Wan launch including whether any open weights show up on launch day

Open-weight or API-only, what's your bet?


r/Qwen_AI • • 5h ago

Discussion Running Qwen4-35B-A3B on an AMD Strix Halo with llama.cpp

3 Upvotes

Anyone else have Qwen4-35B-A3B running locally on an AMD Strix Halo?

Memory (KV cache by context size):

🔹 256k → ~5 GB

🔹 512k → ~10 GB

🔹 1M (native max) → ~20 GB

Only 10 of its 41 layers use full attention, so even 1M context fits easily. The weights are ~25 GB.

Speeds I am getting:

  • Generation: 63–65 tok/s on short prompts, 54 tok/s at 25k context, still 28 tok/s at 223k
  • Prompt processing: 835 tok/s at 12k, 717 at 25k, 567 at 116k, 466 at 223k

1M context fits, but reading a full 1M prompt would take about an hour, so I run it at 256k. It passed all 9 of my Claude Code agent tasks and finished each about 25% faster than Qwen3.6.

https://smithiii.co/how-to/qwen4-35b-a3b-strix-halo-llama-cpp/


r/Qwen_AI • • 5h ago

Benchmark Qwen4-35B-A3B — Interactive black hole simulation

Post image
12 Upvotes

I wanted to try something more challenging than the usual spinning cube benchmarks.
An interactive black hole with gravitational lensing, adjustable parameters and camera controls.
Full video demonstration on X:
https://x.com/didoofficialm/status/2129430787632333073


r/Qwen_AI • • 5h ago

Discussion 苦苦等待Qwen4-27B,结果却是Qwen4-35BA3B。

4 Upvotes

惊不惊喜?意不意外?


r/Qwen_AI • • 5h ago

Experiment Qwen4-35B-A3B at 256k context on an 8 GB RTX 4060: → ~58 t/s (RustingStrata), what helped and what didn't

1 Upvotes

Hardware: RTX 4060 8 GB, i5-14400F (6P + 4E cores), 32 GB DDR5, model on NVMe SSD

Model: unsloth Qwen4-35B-A3B UD-IQ4_XS GGUF (~30 GB, so most of it lives in system RAM)

TL;DR

| Setup | Context | Generation | Prompt read |

|---|---|---|---|

| llama.cpp (expert offload) | 32k | 25 t/s | ~209 t/s (4k prompt) |

| RustingStrata, untuned | 32k | ~56 t/s | ~1,370 t/s |

| RustingStrata, tuned | 256k | ~58 t/s short, 47–53 t/s with a 124k prompt loaded | ~1,300 t/s (8k), ~790 t/s (124k) |

Coding quality held (details below). Same 8 GB card, about 2.3x llama.cpp's speed at 8x the context.

What I did

  1. Started on llama.cpp. Model on an SSD (an HDD was noticeably worse for loading). Got 25 t/s generation at 32k.
  2. Benchmarked it against my previous coder model (Inkling-2-Mini v3b) on a 34-task suite: Python coding, SQL, math, logic, instruction following, long context.

    - Inkling 32/34, Qwen4 29/34 (one sample per task at temp 1.0, so 1–3 tasks of difference is mostly noise)

    - Qwen4 used about 1/3 of the tokens and was much faster on anything above 8k context

  3. Switched to RustingStrata (pure-Rust MoE engine: hot experts in VRAM, the rest on CPU, with placement that adapts as it sees routing). Generation jumped to ~56 t/s at 32k out of the box.
  4. Tuned it for 256k context with a sweep script (bench at 512- and 8192-token prompts, 3 reps of 512-token decodes per config).

What mattered

- KV cache type is the big lever at 256k on 8 GB. VRAM that goes to KV is VRAM that can't hold experts, and experts on the GPU = speed.

- q8 KV: ~180 of 10,496 experts fit in VRAM → ~50 t/s

- q4 KV: ~750 experts fit → ~58 t/s

- (For reference: 128k with q8 = 56 t/s, 32k with q8 = 65 t/s)

- Threads = P-cores + 1 (7 here). Letting it use all 16 threads (incl. E-cores) dropped generation to ~9 t/s. 5 threads 45.7, 6 → 48.5, 7 → 50.8, 8 → 50.2 (q8 runs).

- MTP 1 draft. ~70–85% acceptance. 2 drafts was slower; 0 vs 1 was within noise.

What didn't matter (all within noise, ~56–60 t/s)

- CUDA kernel env knobs: GEMV block size (128/256), rows per warp (2/4), MoE prefetch, MMQ (MMQ also cost ~10% prefill)

- Expert placement tuning (`STRATA_ADAPT_EVERY` / `STRATA_ADAPT_SWAPS`)

- n-gram speculative drafting

- turbo4 KV (54.6) and q8-K/q4-V (51.9) were both slower than plain q4

- Lowering `--vram-margin` to 256 actually made it worse (only 20 experts stayed resident; probably because the card also drives my display)

- Re-running calibration (it was already calibrated at 256k)

- Didn't work on my setup: `STRATA_KV_HOST=1` (fails to load: "no UVA"), `--arena` (30 GB model doesn't fit in 32 GB with the 6 GB headroom it wants), `--pin` (Linux only)

Quality checks (q4 KV vs q8 KV at 256k)

- Coding: 6 hard tasks × 3 samples each: q4 11/18, q8 13/18. Every task passed and failed at least once on both, so that's noise.

- Long context: two-hop needle buried in a ~124k-token server log (the fact plus a rename note, with a decoy). Both q4 and q8: 3/3.

- Full 34-task suite on the final config: 30/34 (vs 31/34 on the 32k setup).

The one "free speed" option I didn't keep: --tail-skip 6

Skips the 2 lowest-ranked of the 8 routed experts when they're not in VRAM (dropped ~28% of CPU expert work).

- Speed: ~59 → 61–65 t/s (~+8%)

- Coding: 12/18 vs 11/18, but the two hardest tasks hit the 12k-token cap on all 3 tries (baseline usually finished in 9.5–11k). Looks like it makes the model ramble longer on hard problems, so I left it off. Fine if you want speed for chat.

Final command

```

rustingstrata serve --gpu --model Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf \

--ctx 262144 --kv q4 --mtp 1 --threads 7 \

--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0

env: STRATA_GEMV_BLOCK_MOE=256 (marginal, within noise)

```

Takeaways for other 8 GB owners

- On a big MoE that doesn't fit, anything that frees VRAM for experts beats kernel tweaking. Shrink KV first (q4), then context if you don't need it.

- Never let the CPU expert workers land on E-cores. Pin thread count to your P-cores (+1).

- Expect speed to drop with how full the context is (58 → ~50 t/s at 124k), but prompt reading stays fast enough (~790 t/s at 124k) that 100k+ prompts are actually usable.

- For comparison, a friend gets ~125 t/s with Basalt on an RTX 5070 12 GB (NVFP4, 262k, int8 KV). The extra 4 GB of VRAM (more experts resident) plus Blackwell FP4 make a big difference.

Happy to share the sweep/bench scripts if anyone wants them.


r/Qwen_AI • • 6h ago

Discussion I am having cravings for Qwen 4 27b

14 Upvotes

Trying to graph on ngram to 3.8 27b swift. So far no luck. Anyone have ideas?


r/Qwen_AI • • 6h ago

News Qwen4-35B-A3B Available on OpenRouter

Thumbnail
openrouter.ai
2 Upvotes

r/Qwen_AI • • 8h ago

Discussion Qwen4-35B-A3B UD-Q4_K_XL on a 4060 Ti 8 GB (PCIe 3.0): ~55 t/s with stock Strata

0 Upvotes

I’m sharing the speeds I’ve achieved with Qwen4-35B-A3B UD-Q4_K_XL; has anyone managed to get better speeds?

Hardware

RTX 4060 Ti 8 GB (driver 621.47), running PCIe 3.0 x8 because of the CPU

Ryzen 5 5600G

48 GB DDR4-3200 (2x16 + 2x8)

Model on an NVMe SSD, Windows 11

Software: Strata (official, no forks), engine 0.1.75.1, Unsloth UD-Q4_K_XL

```

strata launch --family qwen4-35b-a3b --model ud-q4_k_xl --context 32k --vision off --parallel 1 --mtp on --drafting mtp --effort low --tune skip

```

Speed (median of 3, 256 output tokens, temp 0, thinking off)

Test Prompt tokens MTP on: prefill / decode MTP off: prefill / decode

Code request ~60 - / 58 - / 47

Prose request ~60 - / 54 - / 50

Long prompt 1.3k 812 / 55 810 / 49

Long prompt 5.1k 1129 / 57 1376 / 48

Long prompt 20k 1291 / 55 1775 / 49

Long prompt 28k 1282 / 55 1777 / 49

MTP gave me about 8-25% more decode, but cost about 28% of prefill on 20k+ prompts.

Prefill = prompt tokens / time to first token. Long prompts are synthetic log lines, so real documents may differ.

Quality, small hand-made checks (not a real benchmark)

8 checkable questions (sums, dates, logic, JSON extraction, "don't make it up"): 8/8 with and without thinking

3 easy Python functions, run against tests: all passed

Amount-to-words in Spanish (harder): 5/10 cases without thinking, 9/10 with low thinking

3 facts hidden in a ~17k token log: 3/3

Single-file HTML games: both ran with no JS errors, but in the racing game the collision math was wrong. "No errors" is not the same as "playable".

Other things I tried on the same PC

Qwen4 "Balanced" (Strata format), 8k context, MTP off: ~17 t/s

Qwen 3.6 35B UD-Q4_K_XL, 8k, MTP on: 31-38 t/s decode. Its prefill was only 65-74 t/s here because the engine's staging buffers did not fit in the free VRAM, so don't read that as the model's normal prefill. It also sometimes failed to start.

One machine, one setup. If you have an 8 GB card, I'd like to see your numbers.

"""Benchmark for an OpenAI-compatible local server. Usage: python bench.py <label> <sizes,comma> <out.json>

prefill = prompt tokens / time to first token; decode = generated tokens / time after first token."""

import json, random, statistics, sys, time, urllib.request

URL = "http://127.0.0.1:8080/v1"

label, sizes, out = sys.argv[1], [int(x) for x in sys.argv[2].split(",")], sys.argv[3]

model = json.load(urllib.request.urlopen(URL + "/models", timeout=10))["data"][0]["id"]

WORDS = "server cache garden invoice sensor valve report schedule branch water plant system update record check".split()

TASKS = {"code": "Write a Python class implementing an LRU cache with TTL, with docstrings and a usage example.",

"prose": "Write a long, detailed guide about maintaining a restaurant garden in a coastal desert city."}

def run(prompt, max_tokens=256):

body = {"model": model, "messages": [{"role": "user", "content": prompt}], "temperature": 0, "max_tokens": max_tokens,

"stream": True, "stream_options": {"include_usage": True},

"chat_template_kwargs": {"enable_thinking": False}, "reasoning_effort": "off"}

req = urllib.request.Request(URL + "/chat/completions", json.dumps(body).encode(), {"Content-Type": "application/json"})

start, first, usage = time.time(), None, {}

with urllib.request.urlopen(req, timeout=600) as r:

for line in r:

if not line.startswith(b"data:") or b"[DONE]" in line:

continue

d = json.loads(line[5:])

usage = d.get("usage") or usage

if first is None and d.get("choices") and d["choices"][0].get("delta", {}).get("content"):

first = time.time()

end = time.time()

pin, pout = usage["prompt_tokens"], usage["completion_tokens"]

return pin, pout, pin / (first - start), (pout - 1) / (end - first), first - start

def filler(tokens, seed):

rng = random.Random(seed)

lines, n = [], 0

while n < tokens:

lines.append(f"Log {rng.randrange(10**6)}: " + " ".join(rng.choice(WORDS) for _ in range(12)) + ".")

n += 18

return "\n".join(lines)

run("Say hi.", 16) # warm-up

results, seed = [], int(time.time())

for name, prompt in TASKS.items():

rs = [run(f"[run {seed}-{i}] {prompt}") for i in range(3)]

results.append({"test": name, "in": rs[0][0], "out": rs[0][1], "decode": round(statistics.median(r[3] for r in rs), 1)})

print(label, results[-1], flush=True)

for size in sizes:

rs = []

for i in range(3):

seed += 1

rs.append(run(filler(size, seed) + "\n\nSummarize the log above in a detailed report.", 256))

results.append({"test": f"long-{size}", "in": rs[0][0], "out": rs[0][1], "prefill": round(statistics.median(r[2] for r in rs)),

"ttft_s": round(statistics.median(r[4] for r in rs), 1), "decode": round(statistics.median(r[3] for r in rs), 1)})

print(label, results[-1], flush=True)

json.dump({"label": label, "model": model, "results": results}, open(out, "w"), indent=1)


r/Qwen_AI • • 8h ago

Discussion Qwen4-35B-A3B @ 164 tok/s decode and ~ 4500 tok/sec prefill on RTX 5080 (2.9x decode, 11x prefill over stock llama.cpp)

Post image
1 Upvotes

r/Qwen_AI • • 8h ago

Discussion Your Claude + Qwen4-35 setup

Thumbnail reddit.com
1 Upvotes

Do you have your best setup you would like to share?


r/Qwen_AI • • 9h ago

Discussion QFN 3.8 performance 128gb M5M

Post image
0 Upvotes

Just sharing my M5M 128gb numbers.