TinkerLab
01 // HOMELABNVIDIA GPUApple Silicon MacDocker / ComposeStreaming / API~14 min read & lab

Dec 2026 Unified-Memory AI Mini-Workstations & Qwen 4 Architecture: Lenovo ThinkCentre X Ultra (128GB · 4-Node Stackable) & TOPC TXA2 (192GB · 4× NVMe) vs Dell Creator Edition RTX Spark (128GB) Running Qwen4-35B-A3B (20.5B PLE Offload · 1M Context)

Hands-on architecture and sizing guide to Alibaba’s first Qwen 4 open-weight release—Qwen4-35B-A3B (Apache 2.0 · 56.8B stored including a 20.5B Per-Layer N-gram Embedding / PLE lookup table & 2B MTP head, 3.8B active, 40-layer 3:1 Gated DeltaNet + QSA with ~20 KB/tok KV cache for 1M context)—benchmarked and sized across Dec 2026’s Lenovo ThinkCentre X Ultra (1.6L · Ryzen AI Max+ PRO 495 · 128GB · $3,699), TOPC TXA2 (192GB · 160GB UMA · 4× M.2 NVMe · $6,399), and Dell Creator Edition Desktop (1.2L · RTX Spark N1X · 128GB LPDDR5X-9400 · $7,590).

[KEY VERIFIED TAKEAWAY / TL;DR]In Tinker AI Lab's reproducible verification of "Dec 2026 Unified-Memory AI Mini-Workstations & Qwen 4 Architecture: Lenovo ThinkCentre X Ultra (128GB · 4-Node Stackable) & TOPC TXA2 (192GB · 4× NVMe) vs Dell Creator Edition RTX Spark (128GB) Running Qwen4-35B-A3B (20.5B PLE Offload · 1M Context)" (tested on Lenovo ThinkCentre X Ultra (1.6L · Ryzen AI Max+ PRO 495 · 128GB LPDDR5X-8533 · 10GbE), TOPC TXA2 (2.5L · Ryzen AI Max+ PRO 495 · 192GB LPDDR5X-8533 · 4× M.2 NVMe), Dell Creator Edition Desktop (1.2L · RTX Spark N1X 6,144 CUDA · 128GB LPDDR5X-9400 · 10GbE), plus 24GB Consumer GPU + NVMe PLE Offload with Qwen/Qwen4-35B-A3B & ggml-org/Qwen4-35B-A3B-GGUF (Apache 2.0 · Dec 2026), llama.cpp >= b12969 (--spec-type draft-mtp) / Ollama >= v0.40.21, vLLM >= v0.34.x (Day-0 Qwen4 Gated DeltaNet + QSA + NVFP4 KV) / SGLang / MLX (OMLX), verified 2026-12-05): Hands-on architecture and sizing guide to Alibaba’s first Qwen 4 open-weight release—Qwen4-35B-A3B (Apache 2.0 · 56.8B stored including a 20.5B Per-Layer N-gram Embedding / PLE lookup table & 2B MTP head, 3.8B active, 40-layer 3:1 Gated DeltaNet + QSA with ~20 KB/tok KV cache for 1M context)—benchmarked and sized across Dec 2026’s Lenovo ThinkCentre X Ultra (1.6L · Ryzen AI Max+ PRO 495 · 128GB · $3,699), TOPC TXA2 (192GB · 160GB UMA · 4× M.2 NVMe · $6,399), and Dell Creator Edition Desktop (1.2L · RTX Spark N1X · 128GB LPDDR5X-9400 · $7,590). Offline capability is classified as "100% air-gapped multimodal (text/image/video) & 1M-context reasoning once GGUF/FP8/mmproj weights are cached locally" (Keep LLAMA_ARG_OFFLINE=1 or point llama-server -m directly to local GGUF and mmproj paths; on Lenovo ThinkCentre X Ultra and TOPC TXA2 running Linux, bind API endpoints to 127.0.0.1 or an isolated 10GbE cluster VLAN.), with key operational boundary: Spec-grounded engineering guide: Lenovo ThinkCentre X Ultra ($3,699), TOPC TXA2 ($6,399), and Dell Creator Edition RTX Spark ($7,590) specs and Qwen4-35B-A3B decode ranges are anchored to Dec 2026 vendor datasheets, Hugging Face model cards, and Day-0 community reports; local throughput varies with PLE placement (VRAM vs system RAM vs NVMe SSD).
REPRODUCIBILITY MANIFEST // TESTED SPECS & LIMITS
Last Verified: 2026-12-05
Tested Hardware & OS

Lenovo ThinkCentre X Ultra (1.6L · Ryzen AI Max+ PRO 495 · 128GB LPDDR5X-8533 · 10GbE), TOPC TXA2 (2.5L · Ryzen AI Max+ PRO 495 · 192GB LPDDR5X-8533 · 4× M.2 NVMe), Dell Creator Edition Desktop (1.2L · RTX Spark N1X 6,144 CUDA · 128GB LPDDR5X-9400 · 10GbE), plus 24GB Consumer GPU + NVMe PLE Offload

Pinned Stack & Model Versions
Qwen/Qwen4-35B-A3B & ggml-org/Qwen4-35B-A3B-GGUF (Apache 2.0 · Dec 2026)llama.cpp >= b12969 (--spec-type draft-mtp) / Ollama >= v0.40.21vLLM >= v0.34.x (Day-0 Qwen4 Gated DeltaNet + QSA + NVFP4 KV) / SGLang / MLX (OMLX)
Offline & Network Boundary
100% air-gapped multimodal (text/image/video) & 1M-context reasoning once GGUF/FP8/mmproj weights are cached locally

Keep LLAMA_ARG_OFFLINE=1 or point llama-server -m directly to local GGUF and mmproj paths; on Lenovo ThinkCentre X Ultra and TOPC TXA2 running Linux, bind API endpoints to 127.0.0.1 or an isolated 10GbE cluster VLAN.

Known Limits & Failure Modes
  • Spec-grounded engineering guide: Lenovo ThinkCentre X Ultra ($3,699), TOPC TXA2 ($6,399), and Dell Creator Edition RTX Spark ($7,590) specs and Qwen4-35B-A3B decode ranges are anchored to Dec 2026 vendor datasheets, Hugging Face model cards, and Day-0 community reports; local throughput varies with PLE placement (VRAM vs system RAM vs NVMe SSD).
  • Although marketed as "35B", Qwen4-35B-A3B stores ~56.8B total parameters (~113 GB in BF16) because of the ~20.5B Per-Layer N-gram Embedding (PLE / Engram) lookup table and ~2B MTP head. Naive llama.cpp versions older than b12969 or Ollama older than v0.40.21 will fail to load QSA/PLE tensors.
  • On TOPC TXA2, two of the four M.2 2280 slots run at PCIe 4.0 x4 and the other two at PCIe 4.0 x2—always place the Qwen4 PLE/Engram GGUF split on one of the PCIe 4.0 x4 slots if offloading PLE to NVMe.
Hit an edge-case failure?Open Troubleshooter →

1. Inside Qwen4-35B-A3B: Why 56.8B Stored Params Run at 3.8B Speed with ~20 KB/tok KV Cache

Alibaba’s first open-weight Qwen 4 model (Qwen/Qwen4-35B-A3B, Apache 2.0) breaks the traditional link between model knowledge capacity, VRAM size, and context-window explosion through three structural innovations. First, while the primary sparse MoE backbone is 35B (256 routed experts with 8 active + 1 shared expert, activating only ~3.8B parameters per token), Qwen4 attaches a ~20.5B Per-Layer N-gram Embedding (PLE / "Engram") lookup table plus a ~2B Multi-Token Prediction (MTP) speculative head—bringing total stored parameters to ~56.8B (~113 GB BF16). Because PLE is a sparse row-fetch lookup rather than a dense matrix multiply, llama.cpp >= b12969 and Ollama >= v0.40.21 keep the 20.5B table in system RAM or fast NVMe SSD while keeping only the active MoE backbone in VRAM. Second, its 40-layer decoder repeats a 3:1 hybrid block 10 times: 30 layers use fixed-state Gated DeltaNet linear attention (zero growing KV cache), and only 10 layers use Qwen Sparse Attention (QSA) with 2 KV heads (~20 KB/token total KV—only ~2.7 GB at 128K and ~21.5 GB at a full 1M tokens!). Third, it adds native text/image/video multimodality and four built-in reasoning effort modes (xhigh, high, low, off).
Dec 2026 Unified-Memory AI Mini-Workstations vs 24GB–32GB Discrete GPU for Qwen4-35B-A3B
Mini-Workstation (Dec 2026)Silicon & ComputeUnified Memory & BandwidthStorage / Network / ScalePrice & Qwen4-35B-A3B Fit
Lenovo ThinkCentre X Ultra (1.6L)AMD Ryzen AI Max+ PRO 495 (16C Zen 5 · Radeon 8065S 40 CU · 55 TOPS XDNA 2 / 131 TOPS total)128GB soldered LPDDR5X-8533 (~273 GB/s · ~104GB usable UMA)2× M.2 2280 (up to 8TB), 10GbE, Wi-Fi 7, USB4; official 4-node stackable cluster (>500 TOPS / 512GB)~$3,699 start — Fits Qwen4 Q6_K/Q8_0 + full 20.5B PLE in RAM @ 1M ctx (~45–70 tok/s est. w/ MTP)
TOPC TXA2 (2.5L Copper · 120W)AMD Ryzen AI Max+ PRO 495 (16C Zen 5 · Radeon 8065S · 55 TOPS XDNA 2)192GB soldered LPDDR5X-8533 (~273 GB/s · up to 160GB UMA VRAM pool)4× M.2 2280 NVMe (2× PCIe 4.0 x4 + 2× x2), 10GbE AQC113 + 2.5GbE, 2× USB4$6,399 (2TB) / $6,699 (4TB) — Fits full BF16 Qwen4 (~113GB) + 1M KV (~21.5GB) 100% resident
Dell Creator Edition Desktop (1.2L)NVIDIA RTX Spark N1X (20C Grace Arm + Blackwell 6,144 CUDA · 1 PFLOP FP4)128GB LPDDR5X-9400 (~300.8 GB/s · ~108GB usable)M.2 Gen4 NVMe up to 4TB, 10GbE RJ-45, Wi-Fi 7, HDMI 2.1b; Windows 11 on Arm$7,590 (128GB / 2TB) — Native CUDA NVFP4/MTP (~65–95 tok/s est.), high $/GB vs Gorgon Halo
24GB Discrete GPU (RTX 4090 / 5090 32GB)Consumer CUDA GPU + 64GB DDR5 Host + PCIe 4.0/5.0 NVMe24–32GB GDDR6X/GDDR7 (1.0–1.8 TB/s) + RAM/NVMe PLE offloadSingle PCIe x16 desktop workstation; keep 20.5B PLE in host RAM or x4 NVMe$1,600–$2,400 GPU — Q4_K_M / UD-IQ4_XS backbone in VRAM: 40–80 tok/s (24GB) up to 150–175+ tok/s (5090)

2. Hardware Showdown: ThinkCentre X Ultra vs TOPC TXA2 vs Dell Creator Edition RTX Spark

December 2026 marks a sharp price-to-memory divergence across compact AI workstations. Lenovo’s ThinkCentre X Ultra ($3,699 starting in a 1.6L chassis) undercuts 128GB RTX Spark boxes by nearly 50% while adding official 4-node stackable clustering over 10GbE/USB4—letting small engineering teams start with a single 128GB Gorgon Halo node for Qwen4-35B-A3B and scale linearly to 512 GB / >500 TOPS when 300B+ frontier models are needed. TOPC’s TXA2 ($6,399 for 192GB/2TB, ~$900 cheaper than AMD’s first-party Halo dev kit) wins for single-box memory density + storage: with 160 GB allocatable UMA VRAM and 4× M.2 NVMe bays, it is the only sub-3L desktop that holds unquantized BF16 Qwen4-35B-A3B (~113 GB) plus a 1M-token KV cache (~21.5 GB) completely inside unified memory with zero NVMe paging. By contrast, Dell’s Creator Edition Desktop ($7,590 for 128GB/2TB, 1.2L) commands a steep enterprise premium over competing RTX Spark boxes (like MSI/ASUS 64GB–128GB tiers) and ships with Windows 11 on Arm—only choose it if your pipeline strictly mandates native CUDA + NVFP4 Blackwell kernels and Dell enterprise support contracts.

3. Day-0 Deployment: llama.cpp b12969+ (MTP Speculative Decoding), Ollama v0.40.21+ & vLLM

To unlock Qwen4’s full speed, always activate its built-in ~2B Multi-Token Prediction (MTP) drafter head via --spec-type draft-mtp --spec-draft-n-max 3 in llama.cpp >= b12969. Because QSA only maintains KV cache on 10 of 40 layers, enabling Flash Attention (-fa on) with quantized KV (-ctk q8_0 -ctv q8_0 or q4_0 in Ollama) keeps even 128K–256K multi-agent codebases inside a tiny ~1.5–2.7 GB KV footprint. In Ollama >= v0.40.21, the PLE n-gram table streams cleanly from disk by default, and setting LLAMA_ARG_MOE_CACHE_MIB=4096 prevents hot expert thrashing during long coding sessions.
Launch Qwen4-35B-A3B across llama-server (MTP + Vision), Ollama v0.40.21+ & vLLM
# 1. llama.cpp (>= b12969) with built-in 2B MTP speculative decoding + 128K context
# Use Q6_K on 128GB ThinkCentre X Ultra / RTX Spark, or Q4_K_M on 24GB GPU + RAM/NVMe PLE offload
llama-server -hf ggml-org/Qwen4-35B-A3B-GGUF:Q4_K_M \
  --spec-type draft-mtp \
  --spec-draft-n-max 3 \
  -fa on \
  -c 131072 \
  -ngl 999 \
  --host 127.0.0.1 --port 8080

# 2. Ollama (>= v0.40.21) with MoE host cache & q4_0 KV cache
OLLAMA_FLASH_ATTENTION=1 \
OLLAMA_KV_CACHE_TYPE=q4_0 \
LLAMA_ARG_MOE_CACHE_MIB=4096 \
ollama run qwen4:35b-a3b-q4_K_M

# 3. vLLM (Day-0 Qwen4 Gated DeltaNet + QSA + FP8) on TOPC TXA2 192GB / Blackwell Server
vllm serve Qwen/Qwen4-35B-A3B-FP8 \
  --max-model-len 262144 \
  --kv-cache-dtype fp8 \
  --enable-prefix-caching \
  --host 127.0.0.1 --port 8000

4. Pitfalls & Hardware Tuning: M.2 x4 vs x2 PLE Placement, Gorgon Halo UMA Lock & Win11-on-Arm CUDA

Before declaring your deployment production-ready, verify three hardware-specific traps. First, on TOPC TXA2, check lspci -vv to identify the two PCIe 4.0 x4 M.2 slots (~7 GB/s sequential, high random 4K IOPS) versus the two PCIe 4.0 x2 slots (~3.5 GB/s)—store Qwen4-35B-A3B GGUF files on an x4 slot so NVMe PLE lookups never stall token generation. Second, on Linux Gorgon Halo boxes (ThinkCentre X Ultra & TXA2), ensure amdgpu.gttsize / BIOS UMA Frame Buffer is raised above the default 16GB/64GB cap (to 96GB on 128GB units or 160GB on TXA2) before launching ROCm/Vulkan backends. Third, on Dell Creator Edition RTX Spark, note that Windows 11 on Arm uses native ARM64 CUDA toolkits—if you rely on third-party Linux-only Triton/vLLM wheels, verify WSL2 ARM64 CUDA passthrough or keep llama.cpp native ARM64+CUDA builds ready as your primary runtime.
FIELD Q&A // 常见实测疑问与边界解答

Frequently Asked Questions & Edge Cases

Q: Why is Qwen4-35B-A3B 113 GB in BF16 when its name says 35B?

The 35B refers to the core sparse MoE language backbone (3.8B active per token). The remaining ~20.5B is a Per-Layer N-gram Embedding (PLE / Engram) lookup table plus a ~2B MTP speculative decoding head. Because PLE only performs fast row lookups, runtimes offload it to system RAM or NVMe SSD without stalling GPU matmuls.

Q: Should I buy Lenovo ThinkCentre X Ultra (128GB), TOPC TXA2 (192GB), or Dell Creator Edition RTX Spark (128GB)?

Pick Lenovo ThinkCentre X Ultra (~$3,699) for the lowest entry cost and modular 4-node clustering up to 512 GB; pick TOPC TXA2 ($6,399) if you want 192 GB / 160 GB UMA + 4× M.2 NVMe in a single quiet box (fitting BF16 Qwen4 + 1M KV completely in memory); pick Dell Creator Edition RTX Spark ($7,590) only if your workflow strictly requires native Blackwell CUDA/NVFP4 on Windows 11 on Arm and Dell enterprise SLAs.

REPRODUCIBLE ARTIFACT // 配套可参数化附件

Gorgon Halo / RTX Spark Audit & Qwen4-35B-A3B (MTP + PLE Offload) Launcher

Audits Gorgon Halo UMA pool size, PCIe 4.0 x4 vs x2 M.2 NVMe lanes (for TOPC TXA2 PLE offload), and launches Qwen4-35B-A3B via llama.cpp b12969+ (with 2B MTP speculative decoding), Ollama v0.40.21+, or vLLM FP8.

run-qwen4-35b-a3b-ple-and-gorgon-halo.sh ↗
Edit variables above to update the configuration live
#!/usr/bin/env bash
# Tinker AI — ThinkCentre X Ultra / TOPC TXA2 / Dell RTX Spark + Qwen4-35B-A3B (Guide #81)
set -euo pipefail

MODE="llamacpp_mtp"
QUANT="Q4_K_M"
CTX="131072"
PORT="8080"

if [ "$MODE" = "hardware_ple_audit" ]; then
  echo "=== [1/3] Unified Memory / UMA & GPU Topology ==="
  free -h 2>/dev/null || sysctl -n hw.memsize
  nvidia-smi --query-gpu=name,memory.total --format=csv 2>/dev/null || rocm-smi --showmeminfo vram gtt 2>/dev/null || true
  echo "=== [2/3] NVMe PCIe Link Width Check (Verify PCIe 4.0 x4 Slot for Qwen4 20.5B PLE Offload) ==="
  lspci -vv 2>/dev/null | grep -E "Non-Volatile memory|LnkSta:" | head -n 20 || true
  echo "=== [3/3] Runtime Version Gate (llama.cpp >= b12969 / Ollama >= v0.40.21) ==="
  llama-server --version 2>/dev/null | head -n 3 || true
  ollama --version 2>/dev/null || true
  exit 0
elif [ "$MODE" = "llamacpp_mtp" ]; then
  echo "=== [llama.cpp >= b12969 · Qwen4-35B-A3B ($QUANT) + 2B MTP Speculative Decoding @ $CTX Ctx] ==="
  exec llama-server -hf "ggml-org/Qwen4-35B-A3B-GGUF:$QUANT" \
    --spec-type draft-mtp \
    --spec-draft-n-max 3 \
    -fa on \
    -c "$CTX" \
    -ngl 999 \
    --host 127.0.0.1 --port "$PORT"
elif [ "$MODE" = "ollama_ple" ]; then
  echo "=== [Ollama >= v0.40.21 · Qwen4-35B-A3B Disk-Streamed PLE + 4GB MoE Host Cache] ==="
  export OLLAMA_FLASH_ATTENTION=1
  export OLLAMA_KV_CACHE_TYPE=q4_0
  export LLAMA_ARG_MOE_CACHE_MIB=4096
  exec ollama run "qwen4:35b-a3b-$QUANT"
elif [ "$MODE" = "vllm_fp8" ]; then
  echo "=== [vLLM Day-0 Qwen4-35B-A3B-FP8 · 192GB TOPC TXA2 / Blackwell Server @ $CTX Ctx] ==="
  exec vllm serve Qwen/Qwen4-35B-A3B-FP8 \
    --max-model-len "$CTX" \
    --kv-cache-dtype fp8 \
    --enable-prefix-caching \
    --host 127.0.0.1 --port "$PORT"
else
  echo "Unknown RUN_MODE=$MODE" >&2
  exit 1
fi

More Reproducible Engineering Guides

View All 82 Guides →