top of page

From Marlin to Humming: Response Speed and SLO on DeepSeek-V4.1-Flash-1017 (Part 2)

Nov 6
11 min read

1. Introduction: how does response speed change with Humming?

Hi, I'm Yongrae Cho. I work on AI infrastructure R&D on the AIEEV engineering team.

In Part 1, we explained what Humming is, the MoE kernel Ant Group and the vLLM community open-sourced in October 2026, and how it differs from Marlin, the kernel vLLM has relied on for a long time. The key point is that both kernels read the same 4-bit weights but multiply them at different precisions. On the H100, Marlin unpacks the weights to BF16 before multiplying, while Humming W4A8 aligns them to FP8. FP8 tensor cores on the H100 deliver twice the peak throughput of BF16. [1]


In Part 2, we look at when this difference actually shows up in production serving. We served DeepSeek-V4.1-Flash-1017, the MoE model DeepSeek released on October 17, 2026, and swapped Marlin for Humming. Here we share measurements of how user-facing response speed (SLO) changed with load. [2] [3]



Key takeaways


  • At low load, there was almost no difference. With requests sent one at a time, a decode step that produces one token took 9.5ms vs. 9.3ms. Here most of the time goes to reading weights from memory, so differences in multiplication speed do not show.

  • The gap widened as load increased. At 64 to 72 concurrent requests, decode steps got 19 to 21% shorter. At the traffic level where the Marlin setup first missed the SLO, the Humming setup cut TTFT p95 from 3.85s to 0.81s and TPOT p95 from 31.3ms to 17.1ms.

  • Capacity went up too. Peak throughput measured at a fixed 72 concurrent requests rose 23 to 25%, and GPU energy per request fell 19%. The maximum arrival rate that still meets the SLO (goodput) rose 5 to 26% depending on the run.

  • FP8 compute trades accuracy for speed. Validate accuracy separately on your own service's tasks before adopting it.



2. The test model: what does DeepSeek-V4.1-Flash-1017 look like?

Figure 1 summarizes the architecture of DeepSeek-V4.1-Flash-1017 based on its public model configuration (config.json). According to the model card, it has 763B total parameters and a maximum context of 1 million tokens. [2]


Architecture of DeepSeek-V4.1-Flash-1017: input tokens and embeddings, 40 transformer layers (attention and MoE), Engram tables attached at layers 1 and 14, the DSpark draft module, the output head and a legend of weight formats
Figure 1. Architecture of DeepSeek-V4.1-Flash-1017 (based on the public config.json). Colors indicate weight formats. The blue FP4 routed experts are what the MoE kernels in this post compute, and the orange Engram tables can be offloaded to CPU memory. The vision encoder for image input is omitted.
  • 40 transformer layers: Each layer has attention and an MoE layer. Attention is designed to shrink the KV cache. It combines a sliding window over the most recent 128 tokens, per-layer KV compression and an indexer that selects the 512 most important positions. [2]

  • MoE layers: The router picks 6 of 384 routed experts for each token, and 1 shared expert is always computed. [2]

  • Engram tables (layers 1 and 14): A conditional memory module DeepSeek introduced in January 2026. It hashes runs of consecutive tokens (n-grams of up to 4) and looks them up directly in a large embedding table to mix into the model. It is another axis of sparsity used alongside MoE. This model keeps a table of about 380 million entries per layer. Because lookup positions are determined by the input tokens alone, the tables can sit in CPU memory and the needed parts can be prefetched. [2] [4] In this deployment, we also offloaded the Engram tables to CPU memory (about 23.6 GiB per GPU).

  • DSpark draft module (3 layers): A module for speculative decoding that proposes several upcoming tokens for the main model to verify in one pass. We used 5 draft tokens in this setup. [2]

  • Weight formats: Routed expert weights are stored in FP4 (MXFP4, where 32 4-bit values share one scale), and most other weights such as attention are stored in FP8 (one scale per 32×32 block). [2] The FP4 routed experts are exactly what the MoE kernels in this post compute. Storing them in 4 bits cuts the data read from memory to a quarter of 16 bits, but they must be unpacked before computation.



3. Low load vs. high load: when does the difference appear?

As Part 1 showed, Humming W4A8 on the H100 uses FP8 tensor cores with twice the peak throughput of BF16. So is Humming always faster? Not quite. Matrix multiplication speed is set by the slower of two things: reading weights from memory and computing on tensor cores. With few tokens multiplied at once, most of the time goes to reading weights, so faster math gives similar results. Humming, with its FP8 tensor cores, pulls ahead only once there are enough tokens for compute to become the bottleneck.


A restaurant analogy

Figure 2 frames this as a restaurant. The delivery truck is memory, the chef is the tensor core and the number of guests is the number of tokens computed at once. With few guests, the chef waits on ingredients, so both kernels perform about the same. When guests pile up and orders back up, Humming pulls ahead with its faster FP8 chef.

Restaurant analogy. With few guests, the delivery truck (memory) is the bottleneck, so Marlin and Humming are similar. With many guests, the chef (tensor core) is the bottleneck, and Humming with its FP8 chef pulls ahead
Figure 2. The two kernels as a restaurant. Both receive the same amount of ingredients (4-bit weights). The biggest difference is how fast the chef works (BF16 vs. FP8). That is why the gap appears when the chef is busy, in other words under heavy load.

In real serving

In the decode phase, which produces one token at a time, each token uses only 6 of 384 experts. So even with dozens of concurrent requests, each expert handles only a few tokens on average. This is the memory-bound regime. Prefill, which reads a long input for the first time, multiplies thousands of tokens at once. Even a single request sends roughly 100 or more tokens to each expert, making it compute-bound. As load grows, more tokens are computed together in each step and prefill for new requests gets mixed in more often, so the compute-bound share grows.


What the published results show

The results published on the vLLM blog (Figure 3) follow the same pattern. Serving DeepSeek-V4.1-Flash on H20 × 8 (TP8) and switching the MoE path from Marlin W4A16 to Humming W4A8, the improvement in time per output token (TPOT) grew from 8.5% at 1 concurrent request to 30.5% at 64. The gain in output throughput also grew, from 14% to 43%. Time to first token (TTFT), on the other hand, dropped 25 to 32% regardless of concurrency. [1] This matches the explanation above. The benefit of FP8 tensor cores shows as more concurrent requests make compute the bottleneck, while prefill, which multiplies thousands of tokens at once, is compute-bound regardless of concurrency.


vLLM's published results. As concurrent requests grow from 1 to 64, the TPOT reduction grows from 8.5% to 30.5% and the output throughput gain from 14.1% to 43.3%, while the TTFT reduction stays similar at about 30%
Figure 3. Published results from the vLLM blog [1], redrawn. Improvements from switching the MoE path from Marlin W4A16 to Humming W4A8 while serving DeepSeek-V4.1-Flash on H20 × 8 (TP8). TTFT and TPOT show reductions in mean values, and output throughput shows the increase. Because the GPU differs, we compare only the shape of the curves, not the numbers, with our H100 measurements.

By the numbers

Figure 4 is a simplified view of this relationship using the H100's nominal specs. With 4-bit weights, BF16 tensor cores saturate first once each expert handles more than about 74 tokens. Below that, both kernels read the same 4 bits and sit on the same line. Above it, Marlin hits the BF16 ceiling while Humming W4A8 climbs to the FP8 ceiling, which is twice as high (about 148 tokens). [5]


Peak matrix multiplication speed by the number of tokens per expert. Up to about 74 tokens both kernels share one line. Beyond that, Marlin stays at the BF16 ceiling while Humming W4A8 rises to the FP8 ceiling, twice as high
Figure 4. Peak matrix multiplication speed by the number of tokens per expert (simplified model). We approximate the arithmetic intensity of 4-bit weights as about 4 FLOP/byte per token and use the H100 SXM nominal values: dense BF16 989 and FP8 1,979 TFLOPS (half the sparsity figures in NVIDIA's spec sheet) and 3.35 TB/s of memory bandwidth. Real kernels fall below these lines due to overhead such as unpacking weights.

4. What switching to Humming really means: two moves

Going from Marlin W4A16 to Humming W4A8 actually makes two moves at once (Figure 5).

  • ① Kernel swap (Marlin W4A16 → Humming W4A16): Inputs stay in BF16 and only the kernel changes. The numbers computed are the same, so only speed changes. Any speedup comes with no impact on accuracy.

  • ② Lower precision (Humming W4A16 → Humming W4A8): Inputs are reduced to FP8 to use FP8 tensor cores with twice the peak throughput. This trades accuracy for speed.

Two steps: a kernel swap from Marlin W4A16 to Humming W4A16, and a precision reduction to Humming W4A8. Our measurement applied both steps at once
Figure 5. The two moves from Marlin W4A16 to Humming W4A8. Humming W4A16 in the middle is a step we did not measure separately this time.

The two moves should be evaluated separately. Activations occasionally contain values much larger than the rest (outliers). The numerical error from reducing them to 8 bits can surface in tasks where errors accumulate, such as long contexts or reasoning. Per-token dynamic scaling reduces this error but does not eliminate it, so adopting ② requires measuring accuracy on real tasks. You can set the activation format with vLLM's quantization config (--quantization-config.moe.activation). [1]

Both vLLM's published results (DeepSeek-V4.1-Flash, H20 × 8) and our measurements apply ① and ② together. In our setup, we explicitly set Humming's input format to FP8 (e4m3). A three-way comparison that separates the two moves (Marlin W4A16, Humming W4A16, Humming W4A8) is left for a future experiment.


5. Switching on DeepSeek-V4.1-Flash-1017

What we measured

We looked at two latencies users feel. One is the time from sending a request to receiving the first token (TTFT). The other is the average interval between the tokens that follow (TPOT). The maximum request arrival rate that keeps both within target is called goodput. [6] For this test, we defined the SLO as each request meeting both TTFT of 2 seconds or less and TPOT of 25ms or less, for at least 95% of requests. MLPerf Inference, the industry-standard inference benchmark, sets the TTFT target for the Llama 2 70B server scenario at 2 seconds. For TPOT, it uses 200ms to match human reading speed and 40ms for the interactive scenario. Our 25ms target is stricter than both TPOT targets. [7] [8]

For both setups, we used AIEEV's Air Container to deploy the official vLLM 0.32.0 image on the same H100 80GB × 8 node (NVLink) and served it through an AirCloud endpoint. [9] [10] The key differences are the MoE backend (Marlin → Humming) and the expert input precision (BF16 → FP8). Tensor parallelism 8, max-num-seqs 72, FP8 KV cache, prefix caching and speculative decoding were the same. The load was synthetic requests modeled on a conversation summarization service (about 16k input tokens and about 0.7k output tokens on average). We sent the same request sequence, with identical arrival times and content, to both setups for a paired comparison.


Caveats when reading the results

  • We did not measure each factor's contribution separately. We applied the kernel swap and input quantization together, and adjusted some serving settings in the same redeployment. The results below show the difference between the two setups.

  • We did not measure accuracy. Because output length was fixed in the load, this measurement says nothing about response quality.

  • Measurement conditions. The two setups were measured on different days, once per arrival-rate step. TTFT is a client-side measurement that includes the gateway round trip (about 25ms). These results come from synthetic load and are not a performance guarantee for AirCloud.


At low load: almost no difference between the two kernels

With requests sent one at a time, decode steps took 9.5ms with Marlin and 9.3ms with Humming, a gap of only 2% (Figure 6, left). User-facing latency was also well under the SLO (2 seconds, 25ms) for both kernels: TTFT p50 was 0.28s vs. 0.23s, and TPOT p50 was 2.7ms vs. 2.5ms. This is exactly what Section 3 described. In the memory-bound regime, differences in multiplication speed do not show.

The one exception is prefill. Server-measured prefill time dropped 32%, from 0.22s to 0.15s. Prefill multiplies thousands of tokens at once even for a single request, so it is compute-bound. vLLM's published results (Figure 3) show the same pattern. At 1 concurrent request, TTFT fell 29% while TPOT fell only 8.5%. [1]


As load grows: the gap widens

The gap between the two lines widened as more requests ran concurrently. At 64 concurrent requests, decode steps went from 99.2ms to 78.6ms, 21% shorter. At 72, they went from 106.9ms to 86.6ms, 19% shorter (Figure 6, right). In vLLM's published results (Figure 3), the TPOT improvement also grew with load, from 8.5% at 1 concurrent request to 22.2% at 8 and 30.5% at 64. [1] The benefit of FP8 tensor cores shows up in the results as the workload moves into the compute-bound regime.


Bar chart showing a 2% reduction in decode step and 32% reduction in prefill at low load, and a line chart where the decode step gap widens as concurrent requests increase
Figure 6. Time relative to Marlin at low load (left, requests sent one at a time) and decode step time by number of concurrent requests (right). Values are server-measured means. Triangles are repeat measurements of the Humming setup with a different request sequence.

Through the lens of user SLOs: the gap appears under heavy load

The paired comparison with the same request sequence showed the same pattern (Figure 7). At low arrival rates, both kernels exceeded 95% joint SLO attainment. As load increased, the Marlin setup was the first to fall below the target, at about 2.3 req/s (87.9%). The Humming setup handled the same requests and held 97.5%, cutting TTFT p95 from 3.85s to 0.81s and TPOT p95 from 31.3ms to 17.1ms. At about 2.8 req/s, the Marlin setup's attainment dropped to 23.3% while the Humming setup stayed at 89.3%.


Joint SLO attainment and TPOT p95 by actual arrival rate. At low arrival rates both kernels meet the SLO, and from about 2.3 req/s Marlin is the first to fall below the target
Figure 7. Joint SLO attainment (left) and TPOT p95 (right) by actual arrival rate. Lines are paired comparisons using the same request sequence, and triangles are repeat measurements of the Humming setup. The light band marks the arrival rate where the Marlin setup first missed the SLO, and dashed lines mark the SLO targets (95%, 25ms).

In terms of capacity, peak throughput measured at a fixed 72 concurrent requests rose 23 to 25%. GPU power stayed about the same, so GPU energy per request fell 19%. However, the maximum arrival rate that still meets the SLO (goodput) rose 5 to 26% depending on the run, less than peak throughput. When requests arrive in bursts, steps containing long prefills pile up back to back, and the TPOT of requests already decoding rises along with them. Kernel speed alone does not shrink this tail. [11] Chunked prefill, scheduling and prefill-decode disaggregation are the next topics we plan to compare under the same SLO targets. [6]


6. Summary: when should you use Humming?

In one line: Humming is an MoE kernel that builds kernels for your format and GPU, and thanks to its W4A8 path that multiplies 4-bit weights in FP8, it was faster than Marlin where compute gets heavy. At low load the two were similar, and Humming pulled ahead as load increased. On Hopper GPUs like ours, which cannot multiply 4-bit values directly, here is how to choose.


  • Many concurrent requests, and throughput and SLO matter → Humming W4A8. It must pass accuracy evaluation on your service's tasks. If it does not, step back to W4A16.

  • Low request volume → no need to rush the switch. Token generation speed is nearly the same, so decide based on whether time to first token for long inputs matters to you.

  • Accuracy-sensitive → stay on W4A16. Marlin and Humming W4A16 compute the same numbers, so pick whichever is faster for your model's shapes.

  • On Blackwell → start the comparison over. With FP4 tensor cores, a path that multiplies 4-bit values directly enters the comparison.


Compare it on your own service with Air Container

All we did in this comparison was set the official vLLM image and serving arguments, deploy with Air Container, redeploy with a different MoE backend and input precision, and measure under the same load. You can compare serving settings such as kernels and precision against your own service's SLO without preparing a separate GPU server. The same kernel has different effects depending on GPU generation, concurrency and SLO. Services with heavy concurrency like ours saw large gains, but services with few requests may see almost no difference, and input quantization also requires checking accuracy. The most reliable approach is to measure it yourself against your own SLO with load that resembles your workload.


Get started with DeepSeek-V4.1-Flash-1017 on Air Container


👉 How to use: Air Container docs

📒 Deployment guide: Deploy a container

🏃 Try it now: AirCloud console

🗣️ Talk to us: AIEEV technical team



References

Blog
bottom of page