KV Cache
Tag · 10 posts
-

Sparse Attention Explained: How DSA Lets GigaChat 4 Read 2,048 Tokens Out of a Million
DeepSeek Sparse Attention uses a cheap lightning indexer to pick the 2,048 most relevant earlier tokens, cutting core attention cost at long context. How…
-

Hybrid Linear Attention Explained: Why Ling-3.2-air Mixes KDA and MLA Layers
What linear attention is, why labs mix it with a few full-attention layers, and what Ling-3.2-air’s 5:1 KDA-to-MLA design means for memory, speed and…
-

Context Compaction Explained: Why NVIDIA Researchers Say Agents Rarely Need Long Context
NVIDIA’s “You don’t need long context” paper shows frequent compaction and selective reading keep agent accuracy close to full-history baselines at a fraction of…
-

Inside Hy4 flash: LatentMoE, Hybrid Attention and Engram Explained (220B, 12B Active)
Tencent opened the Hy4 flash weights on November 18, 2026. A plain-English guide to how LatentMoE, sparse plus sliding-window attention, Engram n-gram tables and…
-

7 Ollama Settings That Make Local Models Faster and Smarter on an 8–16 GB GPU
Ollama’s defaults give most GPUs just a 4K context. These seven settings fix the most common slow, forgetful local model problems, with a starter…
-

How to Install llama.cpp v1.0.0 on Mac, Windows and Linux (and What’s New)
llama.cpp hit v1.0.0 on November 13. Here’s how to install it on any OS, run a model with one command, and try the new…
-

Prompt Caching Explained: How to Cut Input Costs by Up to 96% (Claude, OpenAI, Gemini, Muse)
How prompt caching works, what Claude, OpenAI, Gemini and Muse charge for cached tokens and cache writes, the minimum prompt sizes, and how to…
-

Context Windows Explained: What 1M Tokens Really Means (and Why Models Still Forget)
What counts toward a model’s context window, how big windows are now (1M tokens on Gemini 4 and Claude Opus 5.5), why recall fades…
-

How Much VRAM Do You Need to Run a Local LLM? Weights, KV Cache and a Quick Formula
Add up three numbers (weights, KV cache, overhead) to know if a model fits your GPU. Charts of Gemma 4 and Qwen3.8 sizes vs…
-

Token Counting and Context Budgets: How to Avoid a Surprise API Bill
Count tokens with the official tokenizer, include tools, thinking and retrieved documents, and watch price steps such as Haiku 5.5’s 100k-prompt band and Luna’s…