Ant Group and vLLM release Humming, a library for running quantised models on GPUs
Humming assembles GPU compute kernels for quantised language models from shared components at run time, and it ships with vLLM 0.29.0. In the developers’ own tests it was faster than or as fast as the comparison kernels in most configurations, but the results have not been independently verified.
On 21 October, Ant Group and the vLLM community open-sourced Humming, a library that generates GPU compute kernels for running quantised language models. vLLM is open-source software for running language models on servers. The Humming repository is hosted on the vLLM project’s GitHub. Pandaily reported that the licence is Apache 2.0 and that the project was released from Ant Group’s inclusionAI organisation.
Quantisation stores a model’s weights, and often its activations (the intermediate results of computation), using fewer bits. The model then takes up less memory and moves less data. This speeds up inference only if the compute kernel, the program that performs matrix multiplication on the GPU, handles that particular format efficiently.
In a blog post, Ant Group and the vLLM community wrote that every combination of bit width, activation format, scaling method, MoE structure and GPU generation has needed its own kernel. Humming converts the storage formats of different quantisation tools into a common representation. It then assembles the kernel from shared CUDA components only at the moment of use (JIT compilation), for the specific matrix size, device and settings. Compiled kernels are stored in a cache. In the authors’ test, compiling a single kernel took 1.82 seconds on an H200 GPU, compared with 23.35 seconds with the CUTLASS library.
Humming supports integer weights from INT1 to INT8 and floating-point weights from FP4 to FP8, with compatible activation formats. On the hardware side, it supports NVIDIA GPUs from the Turing generation onwards and the Zhenwu 810E, a CUDA-compatible AI accelerator made by T-Head, Alibaba’s chip unit. Support for T-Head’s Zhenwu M890 and automatic tuning are still only planned.
The speed figures come from the developers’ own measurements. Pandaily summarised the same joint announcement and noted that the results have not been independently verified. In microbenchmarks run by the vLLM community, W4A16 computation (4-bit weights, 16-bit activations) in dense, meaning non-MoE, layers ran roughly 3–4 times as fast as NVIDIA’s cuBLAS library, the common baseline, at small batch sizes on several devices. In these comparisons cuBLAS computes without quantisation, in 16-bit BF16 format. Against vLLM’s Marlin kernel, which performs quantised computation, Humming was as fast or faster in most tested configurations.
In a full serving run of the DeepSeek-V4.1-Flash model on eight H20 GPUs, the system produced 14–43 per cent more tokens per second, and mean latency to the first token fell by 25–32 per cent. The comparison does not measure the kernel alone. The weights stayed the same, in MXFP4 format, but MoE-layer computation switched from the W4A16 mode of vLLM’s Marlin kernel (BF16 activations) to Humming’s W4A8 mode (FP8 activations). The blog post does not say whether the switch affected the quality of responses. As the table shows, the gap widens as the number of concurrent requests grows.
| Concurrent requests | Marlin W4A16, tokens/s | Humming W4A8, tokens/s | Marlin, latency to first token (ms) | Humming, latency to first token (ms) |
|---|---|---|---|---|
| 1 | 88.30 | 100.77 | 543.13 | 383.80 |
| 2 | 149.33 | 176.38 | 794.31 | 555.66 |
| 4 | 231.99 | 286.12 | 1,422.32 | 971.74 |
| 8 | 287.04 | 383.04 | 2,049.81 | 1,386.91 |
| 16 | 348.96 | 475.89 | 2,463.69 | 1,844.71 |
| 32 | 398.83 | 560.49 | 3,546.74 | 2,465.47 |
| 64 | 442.37 | 633.94 | 5,467.35 | 3,882.94 |
Source: Ant Group and the vLLM community’s own measurement, DeepSeek-V4.1-Flash, 8 × H20, tensor parallelism 8.
From vLLM 0.29.0 onwards, vLLM’s CUDA installation includes Humming. Users enable it with the flags --linear-backend humming and --moe-backend humming. The library can also be installed separately with pip install humming-kernels. It requires PyTorch and a CUDA compiler. The blog post puts the package at about 500 kilobytes, while Pandaily gives about 100 kilobytes.