Skip to content
Tech News
← Back to articles

Qwen3.8-27B at 256K on a 24GB RTX PRO 4000 SFF (432 GB/s): 50 tok/s with MTP

read original more articles
Why This Matters

This article highlights the importance of optimized AI infrastructure, demonstrating that careful configuration and component synergy can significantly enhance inference throughput even on high-capacity models. It underscores that achieving peak performance often depends on the interplay of hardware, software, and workload tuning rather than solely on larger models or more powerful hardware.

Key Takeaways

AI INFRASTRUCTURE

I gave Qwen3.8's MTP drafter another 69.2 MiB of precision. Throughput fell from 50.44 to 37.02 tokens per second. That result sums up the whole experiment: the best local inference setup is rarely made from the individually "best" parts.

I wanted a dense 27B model, its full 262,144-token context, multimodal input, maximum useful quality, and speculative decoding on an NVIDIA RTX PRO 4000 Blackwell SFF with 24 GB of VRAM. The server also had to survive real agent work after printing model loaded . The experiment followed a hunch I had written about earlier: careful operation may matter as much as moving to a larger model.

The finished system averages 50.44 tok/s in the current ten-run production series. On a strict runtime A/B, the custom llama.cpp build reaches 55.40 tok/s versus 45.42 for clean master, a 21.97% gain. Against target-only greedy decoding, embedded MTP moves 21.19 to 59.46 tok/s, or 2.81 times the throughput. At the far end of a genuinely occupied 256K cache, it still produces 12.61 tok/s without an out-of-memory failure.

Those numbers came from different gates and should stay separate. Combining them into one heroic speedup would make a better headline and a worse benchmark.

The winning setup came from the fit between the quant, drafter, CUDA kernels, memory layout, and workload. No component won on its own.

The target was deliberately unreasonable

Qwen3.8 27B is a 64-layer dense model. Its repeating pattern contains three Gated DeltaNet layers followed by one full-attention layer, giving 48 recurrent layers and 16 conventional attention layers. It has a native 262,144-token context, a one-layer MTP head, and a separate 27-layer vision encoder.

The hardware is lopsided in a useful way:

GPU0: RTX PRO 4000 Blackwell SFF, 24 GB GDDR7 with ECC, a 192-bit memory interface, 432 GB/s peak memory bandwidth, 24,467 MiB reported capacity, and sm120a. It holds the target, embedded MTP, recurrent state, graphs, and the 256K KV cache.

... continue reading