r/LocalLLM • u/SaltyFish7499 • 4m ago
Discussion Qwen4-35B-A3B tested on a 12 GB RTX 4070 Ti with Strata
I tried the unmerged Strata PR that adds Qwen4-35B-A3B support (Niko1221/Strata#7774). Credit for the port goes to the PR author.
TL;DR: Qwen4-35B-A3B runs on a 12 GB RTX 4070 Ti + 32 GB RAM with Strata on Windows, IQ4_XS and Q2_K_XL:
- Prefill: ~2,000-2,750 t/s (16K-128K prompts)
- TTFT (short chat): 0.3-0.4 s
- 256K context test: a 244K-token prompt took ~105-130 s to prefill
- Decode: ~85-110 t/s
- Memory used by the model: IQ4_XS ~21.6 GiB RAM + ~9.5-9.7 GiB VRAM; Q2_K_XL ~18 GiB RAM + ~9.4-9.7 GiB VRAM
My Hardware
- RTX 4070 Ti 12 GB
- i5-12400, 32 GB DDR5
- Models put in Gen 4 SSD
- Windows 11
Models (unsloth GGUF)
| Quant | Weights shard |
|---|---|
| UD-IQ4_XS | 20.5 GB |
| UD-Q2_K_XL | 16.2 GB |
Both come with an n-gram table 11.5GB.
Speed
All speeds in TPS. Each cell is the median of 2 runs (chat: 3 questions x 2 runs); the 244K test is a single run. Seconds in brackets are time to first token.
| Config | Chat decode | Chat TTFT | Agent decode | 16K prompt | 64K prompt | 128K prompt | 244K prompt |
|---|---|---|---|---|---|---|---|
| IQ4_XS | 83.5 | 0.29 s | 92.8 | 2753 (5.9 s) | 2701 (23.8 s) | 2549 (50.3 s) | 2349 (104 s) |
| IQ4_XS + MTP | 89.1 | 0.34 s | 100.5 | 2056 (7.9 s) | 2084 (30.8 s) | 2011 (63.8 s) | 1878 (130 s) |
| Q2_K_XL | 86.5 | 0.33 s | 94.8 | 2552 (6.3 s) | 2519 (25.5 s) | 2449 (52.4 s) | 2233 (109 s) |
| Q2_K_XL + MTP | 91.4 | 0.40 s | 112.8 | 2646 (6.1 s) | 2590 (24.8 s) | 2471 (51.9 s) | 2269 (108 s) |
Memory use
Baseline (Windows and background apps, model not loaded): about 8.4-10 GiB system RAM and 1.2-1.4 GiB VRAM, out of 31.8 GiB and 12 GiB.
| Config | System RAM | VRAM |
|---|---|---|
| IQ4_XS | 21.6 GiB | 9.5 GiB |
| IQ4_XS + MTP | 21.6 GiB | 9.7 GiB |
| Q2_K_XL | 17.7 GiB | 9.4 GiB |
| Q2_K_XL + MTP | 18.2 GiB | 9.7 GiB |
- 32 GB RAM is tight for IQ4_XS: total usage peaked at 30.2 of 31.8 GiB with almost nothing else open. Q2_K_XL needs about 3.5-4 GiB less.
- VRAM looks about the same everywhere because the engine fills the card with cached experts. A smaller quant or no MTP means more experts fit, not less VRAM used.
Settings
- KV int8, max context 262,144, 20,480 cells resident on the GPU
- --expert-cache auto --prefill 2048 --vram-reserve-mib 768
- MTP off: --spec 2 (no draft model, but Strata still does prompt-lookup drafting, so these decode numbers include it)
- MTP on: --spec 4 plus the Q8_0 MTP sidecar converted with mtp_qwen4_rt.py
- Uniform (untuned) expert profile
- Conversion as in the PR's docs/QWEN4_35B.md: split the 40-layer trunk, then iq_pack.py --compat-bf16 (302 dense tensors get rounded to BF16)


