DigestAI news desk

Cut through the AI noise.

Research

BlockLock fixes LLM inference batching for reproducible outputs

BlockLock is a new method for ensuring that large language model (LLM) inference produces the same output for a given request, no matter what other requests are in its batch. Existing approaches either constrain every operator in the batch or isolate prefill stages, which limits shared compute or requires padding decode stages. BlockLock instead fixes the geometry of the protected request while…

1 source primary source

Key points

  • BlockLock fixes LLM inference geometry to guarantee reproducible outputs per request, even in batched deployments
  • Two modes tested: BlockLock-Rows (fixed-width rows) and BlockLock-Pack (terminal-anchored packing with dummy segment)
  • Latency drops **53.5–55.0%** and throughput rises **115.2–122.2%** vs. vLLM Batch-Invariant on five models

The authors propose two modes: BlockLock-Rows, which uses fixed-width rows, and BlockLock-Pack, which isolates a dummy segment and extracts the target request’s KV state for decode. Tests on five dense models—Qwen3-8B/14B, Llama-3.1-8B-Instruct, and Gemma-3-4B/12B-IT—across three GPUs (NVIDIA A6000, A100, H100) show both modes preserve target sequences and Top20-logit bits. BlockLock-Rows cuts latency by 53.5–55.0% and boosts throughput by 115.2–122.2% over vLLM’s batch-invariant method, without requiring custom kernel implementations.

Read the original at arXiv cs.AI · by Xiuyuan Qi, Pedro Reviriego, Javier Conde, Shanshan Liu primary sourceOpen source ↗
Topics · follow one to build your own front page
Qwen3-8BQwen3-14BLlama-3.1-8B-InstructGemma-3-4B-ITGemma-3-12B-IT

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Research

All →

Related stories