~/talk

Optimizing CPU LLM Inference in PyTorch: Lessons From VLLM

Talkat PyTorch Conference Europe 2026 · 2026-04-07..04-08· [machine-learning]
links:none on file
links:none on file
slides:none on file

vLLM on Arm moves from barely running to about sixfold faster by combining system and kernel work: replacing glibc malloc with MiMalloc yields +133% throughput, fixing a hot atomic loop with Arm LSE adds ~+9%, and exposing pre‑packed BF16 weights through oneDNN avoids repacks for +16%. Attention gets custom QKV/BF16 microkernels and a vectorized cubic softmax (page‑attention 4x, overall +12%), int8/+int4 quant kernels add ~+78% and +6% respectively while keeping ~99% BF16 accuracy, and a shared‑memory communicator cuts tensor‑parallel latency by 43%.

AI-written summary · about

  1. 0:00CPU LLM inference intro
  2. 1:04VLLM stack on Arm CPUs
  3. 2:50Practical CPU LLM deployments
  4. 3:53VLLM challenges on Arm
  5. 4:56System bottlenecks
  6. 6:24Memory alloc with MiMalloc
  7. 7:06Thread scaling in libgomp
  8. 9:58Deep stack integration overhead
  9. 13:09Kernel optimizations for attention
  10. 15:17Quantization for linear layers
  11. 17:25Large models across NUMA nodes
  12. 19:10Tensor parallelism for latency
  13. 22:22Optimizations summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.