AI & ML
MINE: Entropy-coded Memory-efficient Inference for Large Language Models
arXiv cs.DC0 views
arXiv:2611.09424v1 Announce Type: cross Abstract: We present MINE (Memory-efficient INference Engine), a lossless entropy coding approach that accelerates single-stream inference of Large Language Models (LLMs), where existing lossless compression methods yield speedups only for specific data types such as \texttt{BF16} and under additional assumptions. Single-stream decoding is strongly memory-bound, since every weight must be streamed from memory once per generated token and requests cannot be batched in local or low-latency deployments. At the core of MINE is dtANS-LLM, a GPU entropy coding scheme adapted from the prior dtANS to the needs of LLM inference. It exploits the non-uniform distribution of weights, which persists even after quantization, and exposes hyper-parameters that trade compression ratio against decoding cost. We auto-tune these parameters for each tensor and GPU to obtain the Pareto front between model size and decoding latency. MINE integrates into vLLM as a plugin and selects the best kernel configuration for a given memory budget. On Llama~3.1~8B~Instruct with a 2.1-bit EntQuant checkpoint, MINE achieves speedups of 2.52$\times$ and 1.48$\times$ over the fastest baseline on an RTX~4060~Ti and an RTX~5090, at effective bitrates of 2.24 and 3.43~bits per weight. MINE is available as open source.
Source:https://arxiv.org/abs/2611.09424PreviousLoad Balancing with Item Fragmentation and More Bins than Items: Linear-Time and ExactNextConsensus-Constrained Dual-Federated Optimization with Client-Side Dynamic Weighting for Distributed Android Device Threat Defense
Related posts
Scientists May Have Discovered a Massive Starless Galaxy
0Wired
Why my dataclass test failed when the values matched
0dev.to
A pre-launch mobile app testing checklist for small teams
0dev.to
How to Check a PDF’s Metadata: Acrobat, Windows, macOS and the Command Line
0dev.to
![AMR AI and Embodied Intelligence — Ch.20: Multi Agent Robotics [KR]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzd2oflt3xqsm741q8o02.png)
AMR AI and Embodied Intelligence — Ch.20: Multi Agent Robotics [KR]
0dev.to
![AMR AI and Embodied Intelligence — Ch.21: AI Safety for Robotics [KR]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9sq8mphrqy5pbxzp0qga.png)
AMR AI and Embodied Intelligence — Ch.21: AI Safety for Robotics [KR]
0dev.to