Embedl-optimized · llama.cpp
- huggingface
- Ryzen AI Max+ 395
- Labels
- Image
- Text
- VLM
- Generation
- Build
- Embedl-optimized
- Precision
- GGUF: Q5_K / Q6_K experts
- Runtime
- llama.cpp b12977 (Vulkan) with Embedl optimizations
- Context length
- 8,192 tokens
Alibaba's Qwen4 mixture-of-experts model, 35B parameters with about 3B active per token plus a 20B-entry n-gram table, for chat, reasoning and long context, with images.
Methodology
- Throughput: one user, real conversations from the public OpenAssistant set in the model's chat template, thinking off, 2,048 tokens in, 128 out, greedy, no prompt reuse. Average of 20 requests after 3 warm-up requests. End-to-end is the whole request.
- Power and memory: sampled on the device during those runs. Idle is the device at rest before the run; energy per token is the run's energy over its generated tokens; peak memory is the model server's.
- Accuracy: full test sets, greedy, thinking off: GSM8K 1,319, IFEval 541 and MMLU-Pro 1,008 questions (72 per subject). Measured with the same GGUF on an NVIDIA H200 (llama.cpp, one request at a time), and the BF16 original the same way, scored question by question.
- Baseline BF16: the 16-bit original (BF16, 105.8 GiB of weights) does not fit in this machine's 61.6 GiB of memory (45.6 GiB system memory plus a 16 GiB GPU carve-out), so it has no throughput on this device. The headline is those 105.8 GiB over this build's 40.8 GiB peak memory.
- Build: Embedl's GGUF of Qwen4-35B-A3B (routed experts Q5_K gate/up and Q6_K down, dense layers Q6_K, MTP head Q8_0, n-gram table Q5_0, Embedl importance matrix) on Embedl's llama.cpp runtime (llama.cpp b12977 with Embedl's FlashHead; Vulkan). The model's own MTP head drafts up to 2 tokens a step through a FlashHead output layer, and the model checks every token with its full output head, so the accepted tokens are the model's own.
- Reproduce:
embedl bench Qwen/Qwen4-35B-A3B/ryzen-ai-max-395on your device.