NVIDIA RTX PRO laptop-family promotional artwork. Image: NVIDIA. This is not a photograph of the tested Lenovo laptop.
My laptop has 64 GB of random-access memory (RAM) and an 8 GB NVIDIA RTX PRO 1000 Blackwell graphics processing unit (GPU). The Qwen3.6-35B-A3B model file occupies 22.66 GB. On 8 November 2026, two native Windows experiments averaged 46–48 output tokens per second, sharing the work between the central processing unit (CPU) and GPU.
Three contributions to llama.cpp, the open-source inference library, helped deliver those speeds: multi-token prediction, dynamic expert caching, then CPU execution of cache misses. Replaying their chronological order revealed a slowdown along the way. Testing the final combination showed that two of those features helped considerably more together than separately.
Why the model can run without fitting in GPU memory
A language model processes text as tokens, which can be words, word fragments or punctuation. Its weights, or parameters, are numbers learned during training. Inference means using those weights to process an input and generate an answer.
Qwen3.6-35B-A3B is a mixture-of-experts (MoE) model. In a dense model, essentially all model parameters participate in processing each token. An MoE model instead uses a learned router to select a subset of expert subnetworks for each token, alongside shared components that still run. The name 35B-A3B distinguishes approximately 35 billion stored parameters from three billion active parameters per token. MoE is therefore a computational optimization: it uses only part of its total parameter capacity for each token, reducing computation compared with a dense model of similar total size. It does not remove the storage requirement, however: different tokens can need different experts, so all the weights must remain accessible.
Quantization reduces weight storage by representing numbers with fewer bits. Our model uses UD-Q4_K_M quantization, which mixes precisions rather than storing every number in four bits. We locally composed the 22.66 GB GGUF file from the base model and the component required for multi-token prediction, following the linked recipe. GGUF is the model format read by llama.cpp. Even after quantization, the file exceeds the GPU’s capacity.
System RAM is the computer’s main working memory; Video random-access memory (VRAM) is the GPU’s own memory. The model can span both. Our starting configuration used automatic static fitting: llama.cpp chose a fixed CPU/GPU weight placement at load time. CPU-assigned weights stayed in RAM and their calculations ran on the CPU. The model already worked; the challenge was making this shared execution faster.
What else needs GPU memory?
Weights compete with attention state and intermediate calculations for VRAM. The context window is the token budget for instructions, documents, conversation and generated output. A larger allocation can leave less memory for expert weights.
Three kinds of caching serve different purposes:
| Mechanism | What it retains | What it saves |
|---|---|---|
| Expert cache | Selected expert weights in VRAM | Repeated weight uploads |
| Key-value (KV) cache | Attention state from processed tokens | Recomputing that state during generation |
| Prompt-prefix reuse | Processed state for an unchanged input prefix | Processing that prefix again on a later request |
Disabling prompt reuse does not disable the KV cache used during generation. Nor does it empty the expert cache. Our q8_0 attention caches reduce the precision of stored attention state, separately from weight quantization. Flash Attention uses a more memory-efficient attention implementation. Both settings stayed fixed in our comparisons.
How the runtime generates text
The runtime is the software that runs the model (here, llama.cpp). It loads the weights, manages memory and CPU/GPU execution, and selects output tokens from the model’s predictions. During prefill, it processes the input. During decoding, the model repeatedly scores possible next tokens and the runtime selects one to extend the text.
Those scores are called logits. The runtime turns them into a probability distribution and applies the configured selection rules. Temperature controls how strongly higher-scoring tokens are favoured; top-k keeps a fixed number of leading candidates, while top-p keeps a set whose cumulative probability reaches a chosen threshold. When sampling is enabled, the runtime randomly draws from the resulting distribution. Greedy decoding instead chooses the highest-scoring token. Repetition penalties or structured-output constraints can also affect selection.
Other inference software, such as vLLM, follows the same principle: the model predicts scores, and the software applies selection rules. Both support common sampling methods, but defaults, implementations and numerical calculations can differ. The same model and similarly named settings therefore do not guarantee identical text.
The speeds reported below measure only how quickly the model generates output tokens. They exclude loading the model and processing the input, so they do not measure how long you wait for an answer to begin.
Three open-source contributions, in chronological order
We used the same llama.cpp b12201 runtime and model throughout. The dates identify when the contributions were merged upstream, rather than different software releases benchmarked against one another.
May: multi-token prediction
Ordinary decoding advances one token at a time. Multi-token prediction (MTP) supports speculative decoding: a cheaper component proposes upcoming tokens and the main model verifies them. Accepted proposals let generation advance several tokens in a verification pass. Proposals cost work too, so a longer draft does not automatically improve speed.
llama.cpp pull request (PR) #22673, merged 16 May 2026, added MTP-head decoding, including support tested with Qwen3.6-35B-A3B. The model file must contain the required component; command-line flags alone cannot supply it.
With static fitting, MTP raised speed from 30.57 to 35.62 tokens/s, a 16.5% gain. We retained a maximum of two draft tokens.
October: dynamic expert caching
PR #29887, merged 7 October, added a bounded GPU cache for expert weights backed by system RAM. Its contents can change as generation progresses. A cache hit means a needed expert is already in GPU memory. A cache miss means it is absent.
Suppose the router requests experts A and B. If A is cached, the GPU runs A. At this stage, if B is missing, the runtime uploads B’s weights and then runs B on the GPU. Reusing resident experts avoids repeated uploads over the PCI Express connection between CPU and GPU.
This differs from static fitting, where assigned portions keep their fixed execution placement. Keeping weights in RAM and computing on the CPU are separate decisions. RAM-backed weights can be uploaded for GPU execution; alternatively, the CPU can calculate directly from its local weights. The useful choice depends on whether faster GPU computation outweighs the transfer cost.
With MTP still enabled, dynamic caching reached 34.26 tokens/s, 3.8% slower than static fitting with MTP. Changing to the cache also changed placement, so this result includes transfers, management and placement together. The cache had not yet delivered a speed advantage.
November: executing cache misses on the CPU
PR #30966, merged 7 November, added CPU execution for a configurable share of eligible expert-cache misses.
We selected --moe-cache-cpu-share 0.95. Once the cache is full, this requests CPU handling of approximately 95% of eligible cache misses under the implementation’s rules. During initial filling, misses populate the GPU cache. The setting does not put 95% of all tokens, weights or computation on the CPU. Cached experts still run on the GPU.
In our example, the GPU can run cached expert A while missing expert B is eligible for CPU execution, avoiding B’s weight upload. Intermediate data still moves between devices. CPU computation was already present in the static baseline; this contribution changes the handling of uncached work.
With MTP and the expert cache retained, throughput reached 47.90 tokens/s, 39.8% above the preceding cache stage.
The complete progression

| Configuration | Decode speed |
|---|---|
| Automatic static fit | 30.57 tokens/s |
| Static fit + MTP | 35.62 tokens/s |
| Expert cache + MTP, GPU execution of misses | 34.26 tokens/s |
| Expert cache + MTP, CPU miss share 0.95 | 47.90 tokens/s |
The complete configuration was 56.7% faster than the static baseline without MTP. Each step depends on the features already enabled. The chronological order therefore tells the development story without assigning independent credit for the total gain.
Do the features help one another?
CPU miss handling supplies the largest final jump in that sequence. Would it help as much without MTP?
We ran a separate matched four-way comparison, keeping the expert cache enabled at 4096 mebibytes (MiB), or 4.29 GB, and crossing MTP off/on with CPU miss share 0/0.95. Everything else stayed fixed.
| Expert-cache miss handling | MTP off | MTP on |
|---|---|---|
| Upload misses for GPU execution, CPU share 0 | 30.51 tokens/s | 34.47 tokens/s |
| CPU handling of eligible misses, CPU share 0.95 | 32.67 tokens/s | 46.11 tokens/s |
With the cache enabled, MTP alone took speed from about 31 to 34 tokens/s. CPU miss handling alone took it to about 33. Together they reached 46.
MTP’s gain rose from 13.0% with GPU execution of misses to 41.1% with CPU miss handling. Conversely, CPU miss handling gained 7.1% without MTP and 33.8% with it. Together, the features delivered 51.1% more throughput than the cache-enabled configuration with neither enabled.
This is a positive interaction, observed in both test blocks, although its size varied. Timings establish the interaction in these configurations without identifying its mechanism. Avoiding weight uploads during speculative verification is a possible explanation we have not isolated.
The cache stayed enabled throughout. This establishes a two-feature interaction within a cached strategy, rather than a three-way test. Its baseline differs from the cache-disabled static baseline above; the two experiments retain their own observations.
How we measured, and what to run
The laptop used an Intel Core Ultra 7 265H CPU and native Windows llama.cpp b12201, commit a2b301831, with the CUDA 13.5 build, using NVIDIA’s GPU-computing platform. Windows Best performance was enabled and PCI Express Link State Power Management was off on AC power.
Each main experiment used eight fresh servers, eight warmups and 24 measured responses: three workloads, each generating 768 tokens, repeated in two blocks with reversed configuration orders. The workloads covered an operating-system explanation, Python code and a workflow summary. Requests used greedy decoding at temperature zero, requested non-thinking output and forced 768 generated tokens by ignoring the end-of-sequence signal. Rates are harmonic means of server-reported decode speeds, excluding warmups; slow observations were retained.
These are small experiments. Baseline and MTP rates shifted by about 10% between blocks in the chronological test. The repeated ordering and ranges make that variability visible. We allocated 65,536 tokens of context but used short prompts; these results establish neither full-context responsiveness nor answer-quality equivalence.
The retained setup used a 4096 MiB expert cache, CPU miss share 0.95, eight CPU threads and at most two MTP draft tokens. It held Flash Attention and q8_0 attention caches fixed. The Qwen Windows recipe provides the launcher, model-composition instructions and configuration details; the benchmark methodology documents the tests.
Conclusion
The open-source contributions improved different parts of the execution path: predicting upcoming tokens, keeping selected expert weights near GPU compute, and avoiding uploads for eligible misses. The intermediate cache slowdown could have prompted us to abandon it. Testing the complete combination revealed a faster strategy, with MTP and CPU miss handling helping one another. On this laptop, coordinating CPU and GPU execution made a model larger than VRAM more practical to run locally.
Enabling these software features on the same laptop increased decode throughput by 56.7% over the static baseline, without replacing any hardware. The contributions changed how the existing hardware was used.
That leaves room for further progress. Better inference software, memory management and CPU/GPU coordination could continue to improve local AI on machines people already own. Future updates will need testing, just as the temporary cache slowdown showed here, but upgrading hardware is not the only way to gain performance. Open-source software can extend what an existing laptop can do.
