[KongchangAI]
ConceptLoomKV

LoomKV

A lossless KV cache compression technique that compresses the high bytes of BF16 values using a two-level 3-bit codebook. It supports an external storage tier (tier mode) and a GPU pool (pool mode), increasing the effective capacity of the KV cache without loss of precision.

Timeline (last 90 days)

Nov 25

LoomKV adopts a lossless compression scheme, and the decompressed KV values are bit-for-bit identical to the original BF16 values.

Unverified50%
Nov 25

The compression core of LoomKV is a two-level 3-bit codebook calibrated per attention head, applied to the high byte of BF16 (the sign bit plus the upper 7 exponent bits), while the low bits are retained separately.

Unverified50%
Nov 25

Tested across nine models, LoomKV compresses BF16 KV to 0.71 of its original size and FP8 KV to 0.85 to 0.87.

Unverified50%
Nov 25

LoomKV's tier mode introduces a TileStream mechanism in the external storage layer, so that writes are recorded at exact lengths, length readback is moved off the load path, and retrieval decompresses directly into scattered GPU pages.

Unverified50%
Nov 25

On the AgentX workload, LoomKV's tier mode makes the compressed tier layer behave like an original layer with 1.4x capacity amplification.

Unverified50%
Nov 25

Near LMCache's LRU cliff, the effective throughput of tier mode is 2.7 to 3.6 times that of the original layer, with average TTFT reduced by 1.9 to 3.1 times.

Unverified50%
Nov 25

For repeated prompts, the SSD-to-DRAM promotion mechanism can reduce TTFT by up to 1.7 times.

Unverified50%
Nov 25

Tier mode is bit-for-bit identical to the original tier layer, with no semantic deviation in reuse behavior.

Unverified50%
Nov 25

LoomKV's pool mode uses FragPack to pack variable-length records into shared-budget GPU pages, which are read in place by a fused decode attention kernel.

Unverified50%
Nov 25

The fused decode attention kernel is faster than FlashAttention-3 on BF16, with numerical accuracy on par with the latter.

Unverified50%

4 more timeline events

All Facts (14)

Unverified

LoomKV adopts a lossless compression scheme, and the decompressed KV values are bit-for-bit identical to the original BF16 values.

50%
Unverified

The compression core of LoomKV is a two-level 3-bit codebook calibrated per attention head, applied to the high byte of BF16 (the sign bit plus the upper 7 exponent bits), while the low bits are retained separately.

50%
Unverified

Tested across nine models, LoomKV compresses BF16 KV to 0.71 of its original size and FP8 KV to 0.85 to 0.87.

50%
Unverified

LoomKV's tier mode introduces a TileStream mechanism in the external storage layer, so that writes are recorded at exact lengths, length readback is moved off the load path, and retrieval decompresses directly into scattered GPU pages.

50%
Unverified

On the AgentX workload, LoomKV's tier mode makes the compressed tier layer behave like an original layer with 1.4x capacity amplification.

50%
Unverified

Near LMCache's LRU cliff, the effective throughput of tier mode is 2.7 to 3.6 times that of the original layer, with average TTFT reduced by 1.9 to 3.1 times.

50%
Unverified

For repeated prompts, the SSD-to-DRAM promotion mechanism can reduce TTFT by up to 1.7 times.

50%
Unverified

Tier mode is bit-for-bit identical to the original tier layer, with no semantic deviation in reuse behavior.

50%
Unverified

LoomKV's pool mode uses FragPack to pack variable-length records into shared-budget GPU pages, which are read in place by a fused decode attention kernel.

50%
Unverified

The fused decode attention kernel is faster than FlashAttention-3 on BF16, with numerical accuracy on par with the latter.

50%
Unverified

When the tier layer is sufficient to hold the working set, pool mode can fit 1.31 to 1.34 times the GPU tokens; in a scenario where the original layer can only hold 8 long requests, it can admit 12 long requests, with queue length and effective throughput roughly comparable to the original layer.

50%
Unverified

On the trace of an AI IDE, tier mode and pool mode improve effective throughput by 1.24 times and 1.59 times, respectively.

50%
Unverified

In scenarios where the original capacity is already sufficient, LoomKV's compression brings at most a 2.2% throughput loss.

50%
Unverified

LoomKV is built on LMCache and vLLM, and does not require modifying the engine itself.

50%

Source Articles