Unverified50% confidenceFactExact time
GLM-5.4 uses hybrid cross-layer caching, reusing the first pass's distant Key/Value cache, and in the second pass only recomputing and storing KV for the local sliding window (publicly configured as 128 tokens).
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
11/28/2026
First Seen
Valid until: 2/26/2027
Sources
GLM-5.4's Loop Transformer: How 78 Layers Achieve 106 Layers of Depth
bilibili过拟合青年11/24/2026
Related Entities
Related Claims
UnverifiedGLM-5.4 uses a hybrid KV Cache, sharing the sparse KV of the first round across rounds while placing newly generated KV from the second round into a sliding window, to control memory costs under million-token contexts.77% similarUnverifiedKV Cache memory usage is proportional to the number of layers × number of attention heads × context length × precision; GQA reduces cache size by having multiple query heads share the same set of Key-Value heads, and this design has been adopted by the Llama 2/3 and Qwen series.71% similarUnverifiedOn-device deployment often comes with mechanisms such as KV cache quantization (e.g., compressing to 4 or 8 bits), grouped-query attention (GQA), and sliding-window or sparse attention.70% similarUnverifiedMLA jointly compresses the Keys and Values of all heads into low-dimensional latent vectors for caching, which is essentially a low-rank decomposition of the KV cache.70% similarUnverifiedReference Sliding Window Attention (R-SWA) introduces a fixed reference position on top of the sliding window, keeping the KV cache at a constant size during decoding while not sacrificing cross-page context consistency.70% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1211894API
curl https://kongchang.com/api/v1/knowledge/claims/1211894MCP
get_claim(id=1211894)