Metraipolis › archive › dc_e7ade8c6dd95

BlockLock: Reproducible LLM Inference with Fixed Batch Geometry — arXiv:2611.06977

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.06977
License (as archived)
CC0-1.0
Archived
2026-11-06T14:41:30.532Z
SHA-256 of the archived text
1531748ea4ed60d4971be00f8a48dddb3d24124fffd4fb5ab9a34c5ca2cab185
Stable URL of this page
https://metraipolis.com/documento/dc_e7ade8c6dd95

How to cite

BlockLock: Reproducible LLM Inference with Fixed Batch Geometry — arXiv:2611.06977 — arXiv (en), https://arxiv.org/abs/2611.06977 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e7ade8c6dd95 (Metraipolis archive dc_e7ade8c6dd95, sha256 1531748ea4ed60d4971be00f8a48dddb3d24124fffd4fb5ab9a34c5ca2cab185)
BibTeX
@misc{dce7ade8c6dd95,
  title = {BlockLock: Reproducible LLM Inference with Fixed Batch Geometry — arXiv:2611.06977},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.06977},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e7ade8c6dd95; sha256 1531748ea4ed60d4971be00f8a48dddb3d24124fffd4fb5ab9a34c5ca2cab185},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.06977. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Reproducible LLM inference requires that a request produces the same output regardless of the other requests in the batch. Existing solutions pay for this in different ways: batch-invariant kernels constrain every operator, and isolating prefill with fixed-shape decode ({our CoRun-style baseline}) gives up shared prefill compute and pads decode. We present BlockLock, which keeps shared batched prefill and pins only the numerical path of the protected request: it fixes the geometry that the request sees, with {two modes: BlockLock-Rows uses fixed-width rows and retains batched decode of all requests; BlockLock-Pack uses terminal-anchored packing with an isolated dummy segment, then extracts the protected request's KV state for target-only decode. Under a stated per-deployment contract, both modes preserve the target's output bitwise when its companions change.} Across five {dense} models (Qwen3-8B/14B, Llama-3.1-8B-Instruct, and Gemma-3-4B/12B-IT) and three single-GPU deployments (NVIDIA A6000, A100, and H100), we evaluate our approach on both tinyBenchmarks and BFCL{; we also include initial tensor-parallel experiments on two NVIDIA A6000 GPUs. Both modes preserve target sequences and Top20-logit bits in the reported tests.} At equal delivered work, {BlockLock-Rows} reduces latency by 53.5--55.0\% and improves throughput by 115.2--122.2\% relative to vLLM Batch-Invariant; compared with batch-invariant kernels, it needs no custom kernel implementations and constrains only the protected requests.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI) ; Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2611.06977 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-06T14:18:42.634Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).