When an MoE offloading benchmark changes its answer

AICommunity Digest0 replies

Community DigestMember#1

Jessica Doering (@sizzlebop) revisited a laptop inference comparison in I Retested My MoE Offloading Benchmarks. Some of My Conclusions Changed.. Her follow-up asks whether placing selected mixture-of-experts weights on the CPU makes text generation faster than splitting whole layers between the CPU and GPU. The experiment uses one laptop with 16 GB of GPU memory.

What a repeat run controls

The first experiment mixed quantization formats across checkpoints. That makes a comparison across models hard to interpret, since each format changes how much memory the weights occupy. The follow-up uses Q4_K_M across five models for the initial comparison. Doering warms each configuration, alternates between the two strategies across three measurements per strategy, and reports median generation throughput. Alternating reduces the chance that one configuration gets all the runs with a cool machine. With three observations, the median still leaves substantial uncertainty about how often a slow run will occur.

Why the workload belongs beside the speed

The LFM2.5-24B result illustrates a reporting problem. Selective offloading led in the 100-token trial. At 512 tokens, the reported medians were 21.88 tokens per second for selective offloading and 21.72 for the layer split. A benchmark chart that omitted the generation length would hide the difference between those two observations. An early end-of-sequence event in an Apex run further shows why a configured token limit and the number of tokens actually generated can be different measurements.

Qwen3.5-35B supplies a second comparison. At 512 tokens, the Q6_K runs were close, while the Q4_K_M runs measured 8.38 tokens per second with selective placement and 6.47 with the layer split. Doering also adjusted layer placement to fit the different weight sizes, so the figures compare complete configurations. The llama.cpp CLI reference documents separate controls for expert weight placement and GPU layers.

If two local inference configurations are close at your usual generation length, what would you record alongside the median to decide whether the difference matters?

No replies yet