# Run AI Faster With Lossless Compressed Memory

**URL:** <https://www.artofsm.art/t/run-ai-faster-with-lossless-compressed-memory/27389>\
**Category:** Content Creators\
**Tags:** gpu, the-stack, machine-learning\
**Created:** [3 November 2026 15:30 UTC](https://www.artofsm.art/t/run-ai-faster-with-lossless-compressed-memory/27389 "2026-11-03T15:30:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![artesia](https://www.artofsm.art/user_avatar/www.artofsm.art/artesia/32/36_2.png) [@artesia](https://www.artofsm.art/u/artesia)\
**Post date:** [3 November 2026 15:30 UTC](https://www.artofsm.art/t/run-ai-faster-with-lossless-compressed-memory/27389/1 "2026-11-03T15:30:28Z")

</div>

[![](https://www.artofsm.art/uploads/default/original/3X/4/e/4ea24aa5571228584f11b644feec4932e60f7617.jpeg "Run AI Faster With Lossless Compressed Memory") ](https://www.youtube.com/watch?v=j3yTkgN2UmY)

The video introduces ZipFusion, a lossless compression technique for the key value cache in AI models that reduces memory bandwidth and increases throughput by keeping data compressed in GPU memory and decompressing on-the-fly during attention, resulting in up to 26% overall speedup without precision loss. While ZipFusion outperforms lossy methods like FP8 in accuracy and concurrency, it currently lacks public implementation and is mainly beneficial for large-scale data center GPUs, with limited immediate impact for individual users.

---

<div class="post-metadata">

**Author:** ![artesia](https://www.artofsm.art/user_avatar/www.artofsm.art/artesia/32/36_2.png) [@artesia](https://www.artofsm.art/u/artesia)\
**Post date:** [3 November 2026 15:51 UTC](https://www.artofsm.art/t/run-ai-faster-with-lossless-compressed-memory/27389/3 "2026-11-03T15:51:00Z")

</div>

The video discusses a new approach called ZipFusion that enables faster AI text generation by using lossless compression on the key value (KV) cache memory during decoding. Traditional lossless compressors, when applied inside the token generation loop, actually slowed down the process because they required unpacking the entire cache before use, which consumed significant time and memory bandwidth. ZipFusion, introduced by Yuetao Chen, Peng Wang, and Hong Xu, overcomes this by keeping the KV cache compressed in GPU memory and decompressing values on-the-fly during the attention step, reducing memory bandwidth usage and speeding up generation.

ZipFusion leverages the structure of BF16 floating-point numbers, which use 16 bits per value, by exploiting the similarity of exponents within small blocks of data. Instead of storing an exponent for each value, ZipFusion stores a shared base exponent for the block and encodes each value’s exponent as a small offset, reducing storage from 16 bits to 12 bits per value. This compression reduces the cache size by about 25% without any loss of precision, as the decompression uses integer bit operations that perfectly reconstruct the original data. This approach contrasts with older compressors that required a costly unpacking step before attention computation.

The benefits of ZipFusion are twofold: it reduces the latency of the attention step by about 20% and increases the number of concurrent conversations that can be served on the same GPU by roughly 24%. For example, on an NVIDIA H100 GPU running Llama 3 8B models, the number of simultaneous conversations increased from 46 to 57, resulting in an overall throughput improvement of 26.3%. However, these gains mostly come from fitting more conversations in memory rather than speeding up individual conversations significantly, which only saw about a 15% speedup.

The video also compares ZipFusion’s lossless compression to the more widely available FP8 lossy compression used in engines like vLLM. FP8 reduces cache memory by half and can increase throughput by around 15%, but it introduces some precision loss, which may not be acceptable for all workloads. ZipFusion’s key advantage is that it preserves exact bit-for-bit accuracy, making it suitable for high-precision tasks where any deviation in cached values is unacceptable. However, ZipFusion currently lacks publicly available code and has only been tested on data center GPUs with large batch sizes, limiting its immediate practical use.

In conclusion, lossless compressed memory like ZipFusion can make AI generation faster by reducing memory bandwidth bottlenecks and allowing more concurrent requests on the same hardware. For users who require exact precision, ZipFusion represents a promising direction, but they must wait for public implementations. Meanwhile, FP8 compression offers a practical, though lossy, alternative for many users today. For individual users running models locally, the benefits of ZipFusion are unclear, and existing setups remain appropriate until further developments occur.

## Useful Links

- [ZipFusion Research Paper on arXiv](https://arxiv.org/html/2610.33719v1) — Directly substantiates and explains the main claim about ZipFusion’s lossless compression method and its performance benefits.
