Tagged articles

KV cache

118 articles · Page 1 of 2
Old Zhang's AI Learning
Old Zhang's AI Learning
Oct 25, 2026 · Artificial Intelligence

vLLM & SGLang Surpass DeepSeek's DeepInfer: General Engines Prevail

vLLM and SGLang matched or exceeded DeepSeek's custom DeepInfer engine on DeepSeek-V4.1-Flash within days by adopting its open-sourced operators and optimizing for model-specific traits, proving general-purpose inference engines remain dominant due to full production-grade systems.

DeepInferDeepSeekKV cache
0 likes · 15 min read
vLLM & SGLang Surpass DeepSeek's DeepInfer: General Engines Prevail
Alibaba Cloud Native
Alibaba Cloud Native
Oct 23, 2026 · Artificial Intelligence

Smart LLM Routing Still Saves 90%+ Despite Cache Loss on Model Switch

Analysis shows HiRoute's intelligent model routing saves over 90% costs despite cache loss when switching models, because switches are infrequent, one-time losses amortize over many requests, cheaper models often cost less even with full reprocessing, and cache discounts only affect input while savings come from output-heavy cheaper models.

AstraHiRouteKV cache
0 likes · 11 min read
Smart LLM Routing Still Saves 90%+ Despite Cache Loss on Model Switch
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Oct 23, 2026 · Industry Insights

High Bandwidth Flash (HBF): A 10x Cost Advantage for Cloud AI Inference?

Alibaba Cloud expert Wu Guanying at the 2026 Advanced Storage Conference presents HBF as a high-bandwidth flash memory offering 8-16x HBM capacity at 1/10 $/GB, suitable for KV cache and model weights in AI inference, but faces challenges in latency, write bandwidth, software stack, and ecosystem maturity, requiring cross-industry collaboration for 2027 sampling and 2028 mass production.

AI inferenceHBFHBM
0 likes · 9 min read
High Bandwidth Flash (HBF): A 10x Cost Advantage for Cloud AI Inference?
Machine Heart
Machine Heart
Oct 21, 2026 · Artificial Intelligence

DeepSeek Open-Sources DeepInfer: Inference Framework Reveals 82% Gross Margin on AI Serving

DeepSeek releases DeepInfer inference framework and deepseek-recipe tokenizer under Apache 2.0, disclosing 155 trillion tokens/day throughput, $38/GPU/hour revenue at list price, and an 82% gross margin assuming $7/GPU/hour rental, with technical details on KV cache retention, speculative decoding, and deployment optimizations.

AI inferenceDeepInferDeepSeek
0 likes · 9 min read
DeepSeek Open-Sources DeepInfer: Inference Framework Reveals 82% Gross Margin on AI Serving
Alibaba Cloud Native
Alibaba Cloud Native
Oct 20, 2026 · Artificial Intelligence

Inference Frameworks Demystified: Core Concepts, Frameworks & Cluster Deployment for LLMs

This comprehensive guide explains inference frameworks for large language models, covering core concepts like Prefill/Decode and KV Cache, comparing major open-source frameworks (vLLM, SGLang, TensorRT-LLM), detailing request processing flow from scheduling to sampling, and identifying who benefits from understanding inference infrastructure.

KV cacheLLM servingMoE
0 likes · 46 min read
Inference Frameworks Demystified: Core Concepts, Frameworks & Cluster Deployment for LLMs
Ops Community
Ops Community
Oct 13, 2026 · Artificial Intelligence

Context Engineering: Why AI Conversations Drift and How to Prevent It

This article explains why AI models lose accuracy in long conversations due to context degradation, detailing six failure mechanisms and five practical strategies—layered context organization, active compaction, retrieval over accumulation, state externalization, and selective retention—to maintain reliable, cost-effective LLM interactions for operations tasks.

AI ReliabilityContext EngineeringKV cache
0 likes · 67 min read
Context Engineering: Why AI Conversations Drift and How to Prevent It
Alibaba Cloud Native
Alibaba Cloud Native
Oct 9, 2026 · Artificial Intelligence

HiRoute Open-Source: Local Agent Routing Engine Cuts Model Costs by 90% in Real Tasks

HiRoute is a local intelligent routing engine that dynamically assigns tasks between economical and powerful AI models, enables Agent collaboration, preserves KV cache via context holding, and integrates decision models like Jev, demonstrating over 90% cost reduction in real-world engineering tasks while maintaining quality.

ContextHoldHiRouteJev
0 likes · 17 min read
HiRoute Open-Source: Local Agent Routing Engine Cuts Model Costs by 90% in Real Tasks
Ops Development & AI Practice
Ops Development & AI Practice
Sep 26, 2026 · Artificial Intelligence

Local LLM Hardware Truths: MoE, CPU/GPU/NPU, and 32GB Mac Mini Tuning

This article explains why CPUs struggle with MoE model prefill but excel at decode, compares dense, SSM, MLA, and BitNet architectures, evaluates CPU, NVIDIA GPU, Apple UMA, and NPU hardware for local LLM inference, and provides a practical tuning guide for running 32B models on a 32GB Mac mini with MLX and Ollama.

Apple SiliconKV cacheLLM inference
0 likes · 21 min read
Local LLM Hardware Truths: MoE, CPU/GPU/NPU, and 32GB Mac Mini Tuning
TonyBai
TonyBai
Sep 24, 2026 · Artificial Intelligence

Jev Engineering: Rethinking Coding Agent Architecture Beyond KV Cache

The article analyzes six systemic flaws in current coding agents caused by KV cache dependency, proposing a Harness framework centered on the Jev decision model that dynamically assembles context, routes models with full cost accounting, progressively discloses tools, binds instructions to context triggers, and shares read-only retrieval across background pipelines.

AGENTS.mdCoding AgentsContext Engineering
0 likes · 38 min read
Jev Engineering: Rethinking Coding Agent Architecture Beyond KV Cache
Tencent Technical Engineering
Tencent Technical Engineering
Sep 22, 2026 · Backend Development

Tencent Backend Veteran's Reset: Mastering LLM Inference Engineering from Zero

A Tencent senior backend engineer with 15 years experience shares his transition to LLM inference engineering, detailing learning paths for model architecture, inference optimization, and self-assessment exercises, while arguing that traditional infrastructure skills remain crucial for AI Infra and Agent Infra development.

AI infrastructureBackend EngineeringKV cache
0 likes · 38 min read
Tencent Backend Veteran's Reset: Mastering LLM Inference Engineering from Zero
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Sep 21, 2026 · Artificial Intelligence

Random KV Cache Eviction Rivals Top Baselines, Boosts Throughput 43%

Salesforce AI Research and UIUC propose Random Attention, a simple KV cache eviction method that randomly retains reasoning tokens while protecting the prompt, matching state-of-the-art baselines across math, science, and code reasoning tasks and improving inference throughput by 32–43% in vLLM serving.

Cache EvictionKV cacheLLM inference
0 likes · 20 min read
Random KV Cache Eviction Rivals Top Baselines, Boosts Throughput 43%
Architects' Tech Alliance
Architects' Tech Alliance
Sep 21, 2026 · Artificial Intelligence

One Storage Array Powers an Entire Inference Cluster: FN Neo's KV Cache Architecture

Sugon's FN Neo redefines centralized all-flash storage for AI inference by turning KV Cache into a shared cluster-level asset, delivering native KV semantics with sub-millisecond latency, super-tunnel contention-free data paths, and three-tier load balancing that yields 6–12× context-length speedups on DeepSeek-R1 and Qwen-2.5 across single-node, multi-node, and real-world AI coding workloads.

AI inferenceFN NeoKV cache
0 likes · 11 min read
One Storage Array Powers an Entire Inference Cluster: FN Neo's KV Cache Architecture
Lao Guo's Learning Space
Lao Guo's Learning Space
Sep 21, 2026 · Artificial Intelligence

M5 Ultra 256GB: Which LLMs Fit? 27B to 200B+ Capacity Analysis

The article analyzes Apple M5 Ultra 256GB unified memory capacity for local LLM inference, showing Q4-quantized models from 27B to 200B+ fit, but KV cache overhead for long contexts reduces headroom; it compares with multi-GPU setups and advises on purchase decisions.

Apple SiliconHardware AnalysisKV cache
0 likes · 8 min read
M5 Ultra 256GB: Which LLMs Fit? 27B to 200B+ Capacity Analysis
Architect
Architect
Sep 14, 2026 · Artificial Intelligence

DeepSeek V4.1 Flash Architecture: The State Lifecycle Behind 1M Context

This article dissects DeepSeek V4.1 Flash's architecture for 1M-token context, explaining how CED reduces prefill compute, CSA2 shares global KV across layers, hierarchical sparse indexing narrows search, FP4 quantization shrinks storage, SWA uses bounded replay for recovery, and Engram adds a conditional memory path—revealing five cost dimensions of long-context deployment.

Bounded ReplayCEDCSA2
0 likes · 21 min read
DeepSeek V4.1 Flash Architecture: The State Lifecycle Behind 1M Context
Architects' Tech Alliance
Architects' Tech Alliance
Sep 11, 2026 · Artificial Intelligence

scaleFabric: IBGDA-Powered GPU-Autonomous Communication Validated at 100K-GPU Scale

Sugon's scaleFabric achieves China's first large-scale IBGDA deployment, letting GPUs directly drive InfiniBand NICs without CPU involvement; validated in 100K-GPU clusters, it eliminates the CPU penalty for small-packet MoE All-to-All communication, cuts latency by two orders of magnitude, and integrates NVMe-over-RDMA and XPU Direct Storage for end-to-end Token acceleration.

All-to-AllGPUDirect RDMAIBGDA
0 likes · 11 min read
scaleFabric: IBGDA-Powered GPU-Autonomous Communication Validated at 100K-GPU Scale
Architect
Architect
Sep 7, 2026 · Artificial Intelligence

Loop Tech Behind GPT-6 Astra: Recurrent Depth, Trade-offs & Agent Verification

This article traces the Loop architecture lineage from Universal Transformer to recurrent depth, examines engineering challenges like placement, state drift, dynamic stopping, and KV cache, and argues that as internal computation decouples from parameters and visible reasoning, Agent verification must rely on external evidence like tests, approvals, and versioned artifacts rather than chain-of-thought alone.

Agent VerificationGPT-6 AstraKV cache
0 likes · 25 min read
Loop Tech Behind GPT-6 Astra: Recurrent Depth, Trade-offs & Agent Verification
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Sep 4, 2026 · Artificial Intelligence

Sliding Window Attention Beats Linear Attention: Microsoft's 0-Training Baseline Matches Costly Post-Training

Microsoft research shows sliding window attention with four attention sinks achieves 99% performance recovery on knowledge tasks without any post-training, matching linear attention methods requiring hundreds of millions of tokens while outperforming them 2-10x on long-context benchmarks.

KV cacheLong ContextMicrosoft research
0 likes · 9 min read
Sliding Window Attention Beats Linear Attention: Microsoft's 0-Training Baseline Matches Costly Post-Training
Architect
Architect
Sep 2, 2026 · Artificial Intelligence

DeepSeek Harness: How 99% Cache Hits Validate Request Prefix Stability

This article analyzes how DeepSeek Harness achieves 99% prompt cache hit rates by enforcing deterministic request assembly, showing that cache hit rates serve as a diagnostic tool for runtime stability rather than just a cost metric.

Agent RuntimeCache Hit RateDeepSeek Harness
0 likes · 25 min read
DeepSeek Harness: How 99% Cache Hits Validate Request Prefix Stability
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Aug 29, 2026 · Artificial Intelligence

Dropping Intermediate Tokens: How Prefix Sliding Achieves Up to 3× Faster Long-Context Reasoning

Prefix Sliding keeps the task prefix and a sliding window of recent tokens while evicting older intermediate tokens from the KV cache, enabling up to three‑fold speedups for long‑chain inference without retraining and extending reinforcement‑learning rollouts beyond 100 k tokens.

AttentionEfficiencyKV cache
0 likes · 11 min read
Dropping Intermediate Tokens: How Prefix Sliding Achieves Up to 3× Faster Long-Context Reasoning
AI Engineering
AI Engineering
Aug 28, 2026 · Cloud Native

Why Round‑Robin Fails for LLM Inference and How llm‑d Fixes It

Round‑robin routing in Kubernetes wipes out KV‑cache benefits for LLM inference, but llm‑d introduces cache‑aware routing, hierarchical eviction, and prefill/decode separation, delivering up to three‑fold throughput gains and halving first‑token latency, as shown in Tesla's production rollout.

Cloud NativeKV cacheKubernetes
0 likes · 7 min read
Why Round‑Robin Fails for LLM Inference and How llm‑d Fixes It
Design Hub
Design Hub
Aug 26, 2026 · Industry Insights

OpenAI’s Real Bet with Jalapeño: Not Just a Faster Chip

OpenAI’s first Jalapeño results show a custom inference chip that prioritizes per‑watt AI work and latency over raw speed, detailing system‑level design, AI‑assisted development, and benchmark gains across multiple large models while outlining the limits of the current data.

AI inference chipJalapeñoKV cache
0 likes · 14 min read
OpenAI’s Real Bet with Jalapeño: Not Just a Faster Chip
ThinkingAgent
ThinkingAgent
Aug 24, 2026 · Artificial Intelligence

Why Quantization and KV‑Cache Are Key to High‑Performance LLM Inference

The article analyzes why the same LLM can exhibit vastly different cost, speed, and concurrency across inference systems, showing that KV‑cache memory management, continuous batching, PagedAttention, quantization trade‑offs, and speculative decoding together determine real‑world throughput and latency.

KV cacheLLM inferencecontinuous batching
0 likes · 39 min read
Why Quantization and KV‑Cache Are Key to High‑Performance LLM Inference
AI Engineer Programming
AI Engineer Programming
Aug 21, 2026 · Artificial Intelligence

Essential Concepts and Terminology for Deploying Large Language Models Locally

This article walks through the core concepts needed before deploying a large language model on‑premises, covering weight precision, quantization methods, model packaging formats, inference engines, GPU memory considerations, KV‑cache sizing, sampling strategies, optional extensions such as LoRA and RAG, and a step‑by‑step decision workflow to match hardware, model, and deployment goals.

DeploymentKV cacheLLM
0 likes · 21 min read
Essential Concepts and Terminology for Deploying Large Language Models Locally
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Aug 18, 2026 · Artificial Intelligence

Why DeepSeek’s Cache Costs Jumped 11‑Fold: Long‑Context Surge and the New “Storage Tax”

DeepSeek raised its cache‑hit price up to 11 times as exploding long‑context demand forces a shift to tiered KV storage, exposing hidden storage, I/O and scheduling costs that turn GPU compute into costly data‑movement, prompting developers to rethink cache strategies.

Cache CompressionDeepSeekHot-Cold Tiering
0 likes · 10 min read
Why DeepSeek’s Cache Costs Jumped 11‑Fold: Long‑Context Surge and the New “Storage Tax”
Machine Heart
Machine Heart
Aug 11, 2026 · Artificial Intelligence

openJiuwen and Ascend Enable Agent “Compute‑Affinity”: Halve First‑Token Latency, Cut Inference Storage by 25%

The openJiuwen platform introduces a semantic coordination layer called Agent Hint, together with SAM and SPM managers, to align agent task states with compute resources, achieving a 57% reduction in first‑token latency, a 27.6% drop in end‑to‑end latency, a 33% increase in cache hit rate, and a 25% decrease in storage peak for multi‑agent inference workloads.

Agent HintAscend NPUCompute Affinity
0 likes · 11 min read
openJiuwen and Ascend Enable Agent “Compute‑Affinity”: Halve First‑Token Latency, Cut Inference Storage by 25%
Data Party THU
Data Party THU
Aug 8, 2026 · Artificial Intelligence

Memory-Efficient Algorithms for Large Language Model Inference

The article reviews Coleman Hooper's 2026 Berkeley PhD thesis, which shows that LLM inference is increasingly limited by memory bandwidth and capacity, and proposes a four‑pronged approach—weight quantization, KV‑cache quantization, selective context loading, and multipole attention—to dramatically improve memory efficiency and throughput.

AttentionKV cacheLLM
0 likes · 12 min read
Memory-Efficient Algorithms for Large Language Model Inference
Machine Heart
Machine Heart
Jul 21, 2026 · Artificial Intelligence

Can Multi-Agent Systems Be Built Like LEGO? Introducing Agent Primitives for Modular Reuse

The paper proposes Agent Primitives—reusable latent building blocks for multi‑agent systems—that replace hand‑crafted pipelines with modular collaboration patterns, communicate via KV‑Cache to avoid natural‑language bottlenecks, and demonstrate significant accuracy, efficiency, and stability gains across diverse tasks and LLM backbones.

AI researchKV cacheLLM communication
0 likes · 12 min read
Can Multi-Agent Systems Be Built Like LEGO? Introducing Agent Primitives for Modular Reuse
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2026 · Operations

How to Deploy vLLM for an OpenAI‑Compatible Inference Service

This guide walks through deploying vLLM on Linux with NVIDIA GPUs and Docker Compose, covering service boundaries, host and container checks, model directory validation, image and parameter verification, minimal startup, Compose configuration, API testing, concurrency tuning, multi‑GPU troubleshooting, Nginx exposure, upgrade/rollback procedures, and daily health checks.

GPUKV cacheLLM inference
0 likes · 18 min read
How to Deploy vLLM for an OpenAI‑Compatible Inference Service
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Jul 16, 2026 · Artificial Intelligence

Cut First‑Token Latency by 3.25×: Introducing HYPIC for Position‑Independent Caching in Hybrid‑Attention LLMs

HYPIC combines position‑independent caching with hybrid‑attention LLMs, reducing first‑token latency by 3.25× and sustaining QPS by 1.66× while keeping quality loss under 2 points, through a segment‑cumulative transition operator, a seam‑window fix for full‑attention layers, and segment‑parallel execution.

HYPICKV cacheLLM inference
0 likes · 13 min read
Cut First‑Token Latency by 3.25×: Introducing HYPIC for Position‑Independent Caching in Hybrid‑Attention LLMs
ThinkingAgent
ThinkingAgent
Jul 5, 2026 · Artificial Intelligence

Building L1 AI Infra: Model Gateways, Smart Routing, and High‑Performance Inference Engines

The article presents a comprehensive, production‑ready guide for the L1 layer of AI infrastructure, detailing how model gateways unify calls, intelligent routing selects the optimal model, inference engines maximize GPU throughput, and quantization and KV‑Cache techniques dramatically cut costs while maintaining performance.

AI infrastructureKV cacheLLM routing
0 likes · 25 min read
Building L1 AI Infra: Model Gateways, Smart Routing, and High‑Performance Inference Engines
Machine Heart
Machine Heart
Jul 3, 2026 · Artificial Intelligence

Avoiding Pitfalls in Heterogeneous Token Factories: Industry‑Level Design Practices for Cross‑Hardware LLM Inference

The article analyzes a recent multi‑institution paper that maps the design space of heterogeneous Prefill‑Decode LLM inference, identifies three core boundary decisions, presents nine deployment best practices, and validates them with a production token‑factory case on MuXi C600 and NVIDIA Hopper GPUs.

KV cacheLLMPrefill Decode
0 likes · 11 min read
Avoiding Pitfalls in Heterogeneous Token Factories: Industry‑Level Design Practices for Cross‑Hardware LLM Inference
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Jul 1, 2026 · Artificial Intelligence

SQL‑Driven Text Classification with Hologres AI Function: Prompt Design to KV‑Cache Tuning

This article demonstrates how Hologres AI Function enables end‑to‑end text classification directly in the database using a single SQL call, covering data preparation, prompt engineering, batch inference, accuracy evaluation (up to 95%), and cost analysis with KV‑Cache optimization that reduces token charges to as low as 0.11 CNY for 200 reviews.

AI FunctionHologresKV cache
0 likes · 12 min read
SQL‑Driven Text Classification with Hologres AI Function: Prompt Design to KV‑Cache Tuning
AI Tech Publishing
AI Tech Publishing
Jun 29, 2026 · Artificial Intelligence

Understanding the Full LLM Inference Pipeline: From Tokenization to Streaming Output

The article walks through every stage of LLM inference—from tokenization and embedding, through transformer layers, prefill (compute‑bound) and decode (memory‑bound) phases, KV‑cache management, attention redesign, quantization, and serving infrastructure—explaining how each step consumes time and resources and how to identify bottlenecks.

Attention optimizationDecodeKV cache
0 likes · 14 min read
Understanding the Full LLM Inference Pipeline: From Tokenization to Streaming Output
DataFunSummit
DataFunSummit
Jun 21, 2026 · Artificial Intelligence

Unified Scheduling Optimization for xLLM in Complex Business Scenarios

This article analyzes how the xLLM open‑source LLM inference engine tackles the coexistence of multiple priority levels and strict SLO latency targets by introducing a dynamic, SLO‑aware batch scheduler and a PD‑separation architecture that improve throughput and SLO satisfaction across diverse workloads.

Hierarchical Block ManagerKV cacheLLM inference
0 likes · 13 min read
Unified Scheduling Optimization for xLLM in Complex Business Scenarios
DataFunTalk
DataFunTalk
Jun 19, 2026 · Artificial Intelligence

How NVIDIA Dynamo Boosts Multi‑Node Distributed Inference MFU for Agentic AI

The article explains how NVIDIA Dynamo tackles the production bottlenecks of Agentic AI by using KV‑Cache‑aware routing, a three‑stage multimodal inference architecture, and intelligent cache scheduling on Kubernetes to improve multi‑node throughput (MFU) while maintaining latency SLAs.

Agentic AIKV cacheKubernetes
0 likes · 3 min read
How NVIDIA Dynamo Boosts Multi‑Node Distributed Inference MFU for Agentic AI
DataFunSummit
DataFunSummit
Jun 17, 2026 · Artificial Intelligence

Why Agentic AI Inference Is Slow and How NVIDIA Dynamo 1.1 Solves It

Developers deploying Agentic AI face multi‑turn latency caused by repeated token recomputation, KV‑cache eviction, and cold‑starts, and NVIDIA Dynamo 1.1 addresses these issues with KV‑cache‑aware routing, multi‑level cache offload, priority scheduling, and Prefill/Decode separation, as demonstrated in an upcoming Kubernetes‑based live session.

AI inferenceAgentic AIKV cache
0 likes · 3 min read
Why Agentic AI Inference Is Slow and How NVIDIA Dynamo 1.1 Solves It
Baidu Intelligent Cloud Tech Hub
Baidu Intelligent Cloud Tech Hub
Jun 10, 2026 · Artificial Intelligence

LU‑KV Sets New SOTA at ICML 2026 by Redefining KV Cache Eviction

A joint effort by Baidu Baige and Fudan University introduces the LU‑KV framework, which treats KV‑cache budget allocation as a global combinatorial optimization problem, achieving only 0.52% relative performance loss at 80% compression and establishing a new efficiency‑accuracy SOTA on LongBench.

Cache EvictionEfficiencyICML 2026
0 likes · 5 min read
LU‑KV Sets New SOTA at ICML 2026 by Redefining KV Cache Eviction
Old Zhang's AI Learning
Old Zhang's AI Learning
Jun 7, 2026 · Artificial Intelligence

Hands‑On LLM Local Deployment: vLLM Inference Optimizations Explained

The article explains why LLM inference is memory‑bound, introduces vLLM’s three core optimizations—Continuous Batching, PagedAttention, and Prefix Caching—shows how to launch a vLLM server, run Python code to benchmark performance, and examines KV‑Cache memory usage with concrete numbers.

KV cacheLLM inferencePagedAttention
0 likes · 11 min read
Hands‑On LLM Local Deployment: vLLM Inference Optimizations Explained
Network Intelligence Research Center (NIRC)
Network Intelligence Research Center (NIRC)
Jun 4, 2026 · Artificial Intelligence

How DeepSeek‑V4 Achieves Million‑Token Context via Aggressive KV‑Cache Compression

DeepSeek‑V4 reaches a million‑token context window by aggressively compressing its KV‑cache and employing a hybrid attention scheme that combines Compressed Sparse Attention (CSA) for selective top‑k retrieval with Heavily Compressed Attention (HCA) for full‑attention over heavily merged entries, alongside mixed‑precision storage and other engineering optimizations.

Compressed Sparse AttentionDeepSeek-V4Heavily Compressed Attention
0 likes · 7 min read
How DeepSeek‑V4 Achieves Million‑Token Context via Aggressive KV‑Cache Compression
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Jun 2, 2026 · Artificial Intelligence

OSCAR Beats TurboQuant: 2‑Bit KV‑Cache for Fast, Stable Long‑Context Inference

OSCAR presents an attention‑aware rotation scheme that compresses KV caches to true 2‑bit, cutting memory usage by up to 8× and boosting decode throughput by up to 7×, while preserving inference quality within a few points of BF16 across multiple models and long‑context benchmarks, outperforming TurboQuant.

2-bit QuantizationKV cacheLong-context inference
0 likes · 13 min read
OSCAR Beats TurboQuant: 2‑Bit KV‑Cache for Fast, Stable Long‑Context Inference
Machine Heart
Machine Heart
Jun 2, 2026 · Artificial Intelligence

Training Transformers to Be Compression‑Friendly: A New Memory‑Discard Paradigm

The article analyzes the KV‑Cache memory bottleneck of long‑context Transformers, introduces the KV‑CAT (KV‑Compression Aware Training) approach that simulates cache compression during pre‑training, and presents experiments showing unchanged base abilities while dramatically improving post‑training compression, retrieval and long‑text QA performance.

KV cacheKV-CATLarge Language Models
0 likes · 10 min read
Training Transformers to Be Compression‑Friendly: A New Memory‑Discard Paradigm
Old Zhang's AI Learning
Old Zhang's AI Learning
May 31, 2026 · Artificial Intelligence

vLLM 0.22 Release: Production-Ready DeepSeek V4 and Extreme KV Cache Compression

The vLLM 0.22 stable release introduces production‑grade DeepSeek V4 support, massive kernel fusions, up to 10‑20× speedups, Batch Invariance with 28.9% latency gain, a Rust front‑end, multi‑level KV cache offload that can double context length, and broad hardware coverage across NVIDIA, AMD, CPU and RISC‑V, making it a pivotal upgrade for inference infrastructure teams.

Batch InvarianceDeepSeek-V4KV cache
0 likes · 13 min read
vLLM 0.22 Release: Production-Ready DeepSeek V4 and Extreme KV Cache Compression
Machine Heart
Machine Heart
May 30, 2026 · Artificial Intelligence

Can MIT’s Attention Matching Cut LLM Memory 50× Without Accuracy Loss?

MIT researchers introduce Attention Matching, a latent‑space KV‑cache compaction technique that reduces large‑language‑model memory usage up to 50‑fold with negligible precision loss, outperforming token‑pruning, summarization, and prior compaction methods across benchmarks like QuALITY, LongHealth, and AIME‑2025.

Attention MatchingKV cacheLLM
0 likes · 13 min read
Can MIT’s Attention Matching Cut LLM Memory 50× Without Accuracy Loss?
Baidu Intelligent Cloud Tech Hub
Baidu Intelligent Cloud Tech Hub
May 27, 2026 · Artificial Intelligence

Optimizing Large Model Inference Architecture for the Agent Era: Engineering Practices and Challenges

The article analyzes the architectural challenges of large‑model inference in the Agent era—such as memory‑intensive MLA structures, MoE communication overhead, exploding KV‑Cache size, and tool‑call accuracy—and presents a series of engineering solutions including hierarchical KV‑Cache pooling, sequence parallelism, offloading strategies, and chip‑level adaptations to achieve higher throughput and lower token costs.

AI InfraAgentDeepSeek
0 likes · 15 min read
Optimizing Large Model Inference Architecture for the Agent Era: Engineering Practices and Challenges
DataFunTalk
DataFunTalk
May 26, 2026 · Industry Insights

Why DeepSeek’s Permanent Price Cut Aims at a $10 Trillion AI Market

DeepSeek’s 75% permanent API price reduction is analyzed as a strategic move to shrink KV‑cache memory, lower hardware dependence, trigger a demand surge, reshape the AI hardware ecosystem, and capture an estimated $10 trillion market opportunity.

AI HardwareAI PricingAI infrastructure
0 likes · 13 min read
Why DeepSeek’s Permanent Price Cut Aims at a $10 Trillion AI Market
Architect
Architect
May 25, 2026 · Artificial Intelligence

From KV Cache to Harness: How DeepSeek Is Shifting Costs to the System Layer

DeepSeek’s recent V4 release shows that as model inference becomes cheaper, the dominant expenses are moving to system‑level components such as KV cache, memory, storage, compilers, scheduling, hardware adapters, and the emerging Agent Harness layer, reshaping AI infrastructure economics.

AI infrastructureDeepSeekEngram
0 likes · 23 min read
From KV Cache to Harness: How DeepSeek Is Shifting Costs to the System Layer
Old Zhang's AI Learning
Old Zhang's AI Learning
May 23, 2026 · Artificial Intelligence

The Underrated Lifesaving Template for Qwen Local Deployment

This article analyzes the hidden pitfalls of Qwen's official Jinja chat template, explains how the community‑maintained Qwen‑Fixed‑Chat‑Templates v19 fixes rendering errors, KV‑Cache loss, token waste and agent dead‑locks, and provides step‑by‑step installation instructions for LM Studio, llama.cpp, vLLM and MLX.

KV cacheLLMQwen
0 likes · 10 min read
The Underrated Lifesaving Template for Qwen Local Deployment
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
May 20, 2026 · Artificial Intelligence

How New LLM Architectures Like Gemma 4 and DeepSeek V4 Cut Long‑Context Costs

The article surveys recent open‑weight LLM releases—Gemma 4, Laguna XS.2, ZAYA1‑8B and DeepSeek V4—detailing how KV‑cache sharing, per‑layer embeddings, layer‑wise attention budgeting, compressed convolutional attention and manifold‑constrained hyper‑connections dramatically reduce memory and compute for ultra‑long contexts while preserving model quality.

Attention optimizationKV cacheLLM
0 likes · 25 min read
How New LLM Architectures Like Gemma 4 and DeepSeek V4 Cut Long‑Context Costs
Old Zhang's AI Learning
Old Zhang's AI Learning
May 16, 2026 · Artificial Intelligence

vLLM 0.21.0 Arrives: Speculative Decoding Now Supports Reasoning Models

The vLLM 0.21.0 release brings five major updates—including Transformers v4 deprecation, a C++20 build requirement, KV offload with hybrid memory, speculative decoding that respects thinking budgets, and a Blackwell token‑speed backend—while offering detailed upgrade guidance for different user groups.

C++20KV cacheLarge Language Models
0 likes · 12 min read
vLLM 0.21.0 Arrives: Speculative Decoding Now Supports Reasoning Models
Lao Guo's Learning Space
Lao Guo's Learning Space
May 12, 2026 · Artificial Intelligence

Demystifying the Core Technologies Behind ChatGPT, GPT‑4, and DeepSeek

This article breaks down the key algorithms that power large‑language models—Transformer, Mixture‑of‑Experts, Flash Attention, KV‑Cache, Multi‑Token Prediction, quantization, Chain‑of‑Thought and Retrieval‑Augmented Generation—explaining how each contributes to the performance of ChatGPT, GPT‑4 and DeepSeek.

Flash AttentionKV cacheLarge Language Models
0 likes · 10 min read
Demystifying the Core Technologies Behind ChatGPT, GPT‑4, and DeepSeek
AI Waka
AI Waka
May 12, 2026 · Artificial Intelligence

Is 3‑Bit KV Cache the Ultimate Solution? An In‑Depth Evaluation of Google’s TurboQuant

Through ten experiments on three LLMs, this study measures TurboQuant’s 3‑bit KV‑cache compression, revealing that while quality remains strong, speed gains vary by model, memory savings depend on implementation, and attention‑entropy analysis explains why 2‑bit compression degrades performance.

Attention EntropyInference PerformanceKV cache
0 likes · 14 min read
Is 3‑Bit KV Cache the Ultimate Solution? An In‑Depth Evaluation of Google’s TurboQuant
Node.js Tech Stack
Node.js Tech Stack
May 9, 2026 · Artificial Intelligence

Redis Founder Crafts DeepSeek V4 AI Inference Engine, Node.js Star Applauds

Redis creator Salvatore Sanfilippo (antirez) released DS4, a Metal‑only C inference engine tailored for DeepSeek V4 Flash on high‑end Macs, featuring narrow model focus, 2‑bit quantization, disk‑based KV cache, benchmark speeds around 26 tokens/s, and a dual OpenAI/Anthropic compatible server.

2-bit QuantizationAI inference engineDeepSeek-V4
0 likes · 13 min read
Redis Founder Crafts DeepSeek V4 AI Inference Engine, Node.js Star Applauds
Lao Guo's Learning Space
Lao Guo's Learning Space
May 7, 2026 · Artificial Intelligence

Gemma 4 MTP Deep Dive: Speculative Decoding & KV‑Cache Sharing for 3× Faster Inference

The article explains why large‑language‑model inference is bottlenecked by memory‑bandwidth, then details Google’s Gemma 4 MTP technique—using a small draft model with speculative decoding and shared KV‑Cache—to parallelize token prediction, achieving up to three‑fold speed gains without any loss in output quality, and provides step‑by‑step local deployment instructions.

Gemma 4KV cacheLarge Language Models
0 likes · 11 min read
Gemma 4 MTP Deep Dive: Speculative Decoding & KV‑Cache Sharing for 3× Faster Inference
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Apr 29, 2026 · Artificial Intelligence

Deploy DeepSeek‑V4 on Ascend NPU with Kthena in 3 Minutes (Prefill‑Decode Separation)

This guide walks through deploying the DeepSeek‑V4‑Flash model on Ascend NPU using Kthena’s ModelRoute, detailing the Prefill‑Decode (P/D) separation architecture, KV cache transfer via Mooncake, configuration of ModelServing and ModelRoute resources, and flexible scaling of Prefill and Decode replicas for optimal performance.

Ascend NPUDeepSeek-V4KV cache
0 likes · 22 min read
Deploy DeepSeek‑V4 on Ascend NPU with Kthena in 3 Minutes (Prefill‑Decode Separation)
AI Tech Publishing
AI Tech Publishing
Apr 29, 2026 · Artificial Intelligence

Why Do AI Agents Forget and Hallucinate? A Complete Guide to KV‑Cache Memory Mechanisms

The article explains that AI agents’ forgetting and hallucinations stem from token‑level attention scores causing key‑value cache eviction before retrieval, then surveys KV‑cache basics, naive growth, streaming‑LLM windowing, SnapKV’s attention‑guided compression, token‑retention studies, Memory Sparse Attention, compares these methods, and discusses practical system pitfalls and design implications.

AI AgentsAttentionKV cache
0 likes · 20 min read
Why Do AI Agents Forget and Hallucinate? A Complete Guide to KV‑Cache Memory Mechanisms
Old Zhang's AI Learning
Old Zhang's AI Learning
Apr 26, 2026 · Artificial Intelligence

Why Deploying DeepSeek‑V4 Locally with vLLM Is So Challenging

The article dissects DeepSeek‑V4’s local deployment using vLLM, explaining the steep hardware requirements, the complex heterogeneous KV‑cache architecture, and the aggressive kernel‑fusion and multi‑stream optimizations that together make high‑context inference both memory‑intensive and engineering‑heavy.

DeepSeek-V4GPU memoryKV cache
0 likes · 15 min read
Why Deploying DeepSeek‑V4 Locally with vLLM Is So Challenging
Architect
Architect
Apr 25, 2026 · Artificial Intelligence

DeepSeek V4: 1M‑Token Context’s Impact on Model, Inference, Cache & Agents

The DeepSeek V4 technical report shows how a 1 million‑token context forces a redesign of attention, KV‑cache, optimizer, quantization and inference budgeting, turning long‑context capability from a costly showcase into a production‑ready feature for agents, search and Chinese professional tasks.

1M contextAgentic SearchAttention optimization
0 likes · 28 min read
DeepSeek V4: 1M‑Token Context’s Impact on Model, Inference, Cache & Agents
AI Tech Publishing
AI Tech Publishing
Apr 20, 2026 · Artificial Intelligence

How Claude Code Achieves 92% Prompt Cache Hit Rate and Cuts Costs by 81% – A Deep Dive

This article explains the mechanics of prompt‑caching for large language models, breaks down static versus dynamic context, details KV‑cache operation and its pricing, and shows how Claude Code’s 30‑minute programming session reached a 92% cache hit rate that reduced inference costs by 81%, concluding with three production‑grade design rules.

AI AgentsAnthropic APIClaude Code
0 likes · 13 min read
How Claude Code Achieves 92% Prompt Cache Hit Rate and Cuts Costs by 81% – A Deep Dive
Geek Labs
Geek Labs
Apr 20, 2026 · Artificial Intelligence

A Complete Open‑Source Guide to LLM Internals: From Tokenization to Inference Optimization

This open‑source tutorial breaks down large language model internals into 11 detailed topics—covering BPE tokenization, attention mathematics, backpropagation, transformer architecture, KV‑Cache, Paged and Flash Attention, and frontier techniques—each with numeric derivations and Python code, making it ideal for developers and interview preparation.

AttentionFlash AttentionKV cache
0 likes · 5 min read
A Complete Open‑Source Guide to LLM Internals: From Tokenization to Inference Optimization
Old Zhang's AI Learning
Old Zhang's AI Learning
Apr 11, 2026 · Artificial Intelligence

Mastering SGLang: KV Cache and RadixAttention for Faster LLM Inference

This article reviews the DeepLearning.ai short course on SGLang, explains why large‑language‑model inference is slow, details how KV Cache reduces the computation from O(n²) to O(n), introduces RadixAttention for cross‑request caching, and presents code examples and benchmark results showing up to 10× speedup in real‑world RAG scenarios.

KV cacheLLM inferencePython
0 likes · 13 min read
Mastering SGLang: KV Cache and RadixAttention for Faster LLM Inference
AI Tech Publishing
AI Tech Publishing
Apr 5, 2026 · Artificial Intelligence

Why the First Token Is Slow: A Deep Dive into KV Cache for LLM Inference

The article explains how KV cache eliminates redundant computations in autoregressive LLM generation, detailing the attention mechanism, the O(n²) waste of recomputing K and V, the cache‑based solution, its impact on time‑to‑first‑token, and the memory‑vs‑speed trade‑off.

AttentionKV cacheLLM
0 likes · 7 min read
Why the First Token Is Slow: A Deep Dive into KV Cache for LLM Inference
AI Step-by-Step
AI Step-by-Step
Apr 5, 2026 · Artificial Intelligence

How Context Engineering Powers Dynamic Business Data Assembly for LLM Agents

The article explains why relying solely on handcrafted prompts leads to hallucinations in LLM agents and presents six concrete context‑engineering practices—XML isolation, hierarchical ordering, KV caching, vector reranking, async memory compression, and minimal few‑shot examples—illustrated with a full e‑commerce refund‑handling case study.

AgentContext EngineeringKV cache
0 likes · 10 min read
How Context Engineering Powers Dynamic Business Data Assembly for LLM Agents
DeepHub IMBA
DeepHub IMBA
Apr 4, 2026 · Artificial Intelligence

Building Mini-vLLM from Scratch: KV‑Cache, Dynamic Batching, and Distributed Inference

This article walks through constructing Mini-vLLM, a from‑scratch LLM inference engine that tackles the O(N²) attention cost with KV‑cache, boosts throughput via dynamic batching, adds observability with Prometheus/Grafana, supports gRPC, and scales across multiple workers, with benchmark numbers demonstrating its CPU‑only performance.

DockerKV cacheLLM
0 likes · 12 min read
Building Mini-vLLM from Scratch: KV‑Cache, Dynamic Batching, and Distributed Inference
ShiZhen AI
ShiZhen AI
Apr 2, 2026 · Artificial Intelligence

How KV Cache Works and Why Large Model Outputs Cost Five Times More Than Inputs

The article explains the KV Cache mechanism that stores previously computed key/value vectors to avoid redundant Transformer calculations, delivering roughly a 5× speedup, while also detailing why generating output tokens is far more expensive than processing input tokens due to serial generation and memory trade‑offs.

KV cacheLLM inferenceMemory Optimization
0 likes · 9 min read
How KV Cache Works and Why Large Model Outputs Cost Five Times More Than Inputs
SuanNi
SuanNi
Mar 26, 2026 · Artificial Intelligence

TurboQuant: Google’s 6× KV Cache Compression With Zero Accuracy Loss

TurboQuant, a new technique from Google Research, dramatically compresses key‑value caches by up to six times without precision loss, using PolarQuant and QJL algorithms to transform vectors into polar coordinates and apply quantized Johnson‑Lindenstrauss transforms, thereby boosting inference speed and enabling longer context handling for large language models.

AI compressionKV cacheTurboQuant
0 likes · 13 min read
TurboQuant: Google’s 6× KV Cache Compression With Zero Accuracy Loss
Smart Era Software Development
Smart Era Software Development
Mar 23, 2026 · Artificial Intelligence

From Context Engineering to Harness Engineering: Redefining Engineer Value in the AI Era

AI coding can generate code ten times faster, yet developers spend 70% of their time on non‑coding tasks such as testing, deployment and review, turning AI into a new bottleneck; the proposed solution, Harness Engineering, equips models with agents, KV‑Cache and multi‑agent workflows so engineers shift from writing code to designing AI‑friendly environments and orchestrating full‑lifecycle development.

AI codingAI-native toolsAgent
0 likes · 18 min read
From Context Engineering to Harness Engineering: Redefining Engineer Value in the AI Era
MaGe Linux Operations
MaGe Linux Operations
Mar 10, 2026 · Artificial Intelligence

Why Your LLM Service Hits CUDA OOM and How to Diagnose GPU Memory Issues

This guide explains the five common sources of GPU memory consumption in large‑model inference services, provides a step‑by‑step diagnosis workflow—from static usage and KV‑Cache analysis to concurrency and K8s scheduling—offers concrete command‑line checks, scripts, configuration examples, and actionable remediation and monitoring recommendations.

GPU memoryKV cacheLLM OOM
0 likes · 28 min read
Why Your LLM Service Hits CUDA OOM and How to Diagnose GPU Memory Issues
AI Explorer
AI Explorer
Mar 3, 2026 · Artificial Intelligence

How LMCache’s Lightning‑Fast KV Cache Slashes LLM First‑Token Latency

LMCache separates the KV cache from a vLLM instance into a shared service, dramatically cutting first‑token latency for repeated text, enabling multiple GPU instances to reuse cached vectors, improving hardware utilization, and supporting use cases such as long‑document QA, multi‑GPU load balancing, and prompt‑engineering, with a quick Docker‑based demo.

DockerKV cacheLLM inference
0 likes · 6 min read
How LMCache’s Lightning‑Fast KV Cache Slashes LLM First‑Token Latency
DeepHub IMBA
DeepHub IMBA
Mar 3, 2026 · Artificial Intelligence

The Evolution of KV Cache Management: From Continuous Allocation to Unified Hybrid Memory Architecture

The article traces five eras of KV cache management for LLM inference—from its absence before Transformers to the emerging unified hybrid memory architecture—comparing vLLM, SGLang, and TensorRT‑LLM and offering a decision framework for selecting the right solution in various deployment scenarios.

KV cacheLLM inferenceMemory Management
0 likes · 16 min read
The Evolution of KV Cache Management: From Continuous Allocation to Unified Hybrid Memory Architecture
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Feb 28, 2026 · Artificial Intelligence

How DualPath Revives Idle Network Cards to Break Long‑Context I/O Bottlenecks in DeepSeek V4

The article analyzes the KV‑Cache storage I/O bottleneck that limits agentic LLM inference, introduces the DualPath architecture with a storage‑to‑decode data path and RDMA‑based scheduling, and shows up to 1.87× offline and 1.96× online throughput gains on large‑scale GPU clusters.

DeepSeekDualPathKV cache
0 likes · 13 min read
How DualPath Revives Idle Network Cards to Break Long‑Context I/O Bottlenecks in DeepSeek V4
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Feb 27, 2026 · Artificial Intelligence

Can DeepSeek’s DualPath Break GPU Bottlenecks and Ignite an Agentic AI Surge?

DeepSeek’s new DualPath inference framework, co‑developed with leading Chinese universities, decouples compute from KV‑Cache memory access to eliminate I/O stalls in multi‑round agentic workloads, delivering up to nearly 2× higher throughput and dramatically reducing job‑completion time across several large‑scale LLMs.

AI infrastructureAgentic InferenceDeepSeek
0 likes · 13 min read
Can DeepSeek’s DualPath Break GPU Bottlenecks and Ignite an Agentic AI Surge?
Code Archaeology
Code Archaeology
Feb 2, 2026 · Artificial Intelligence

Manus's $2B Agent Architecture: Context Engineering Strategies Revealed

The article analyzes the planning-with-files technique — three Markdown files for task planning, knowledge storage, and state tracking — and its alignment with Manus's context engineering strategies (reduce, offload, isolate context), while detailing Manus's tech stack including multi-model routing, E2B sandbox, MCP protocol, and KV cache optimization.

AI AgentsContext EngineeringE2B sandbox
0 likes · 11 min read
Manus's $2B Agent Architecture: Context Engineering Strategies Revealed
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 26, 2026 · Artificial Intelligence

How We Scaled a 3.5B MoE LLM for Real‑Time Search Relevance

This article details the engineering challenges and solutions for deploying a 3.5 billion‑parameter MoE LLM in Taobao's search relevance pipeline, covering large‑batch scheduling, dynamic load balancing, intra‑batch KV‑Cache reuse, and MoE kernel tuning to meet sub‑second latency requirements.

KV cacheLLMMoE
0 likes · 15 min read
How We Scaled a 3.5B MoE LLM for Real‑Time Search Relevance
PaperAgent
PaperAgent
Jan 21, 2026 · Artificial Intelligence

Inside DeepSeek’s FlashMLA Update: What’s New in the MODEL1 Architecture

DeepSeek’s recent FlashMLA update introduces the new MODEL1, featuring a tighter KV-Cache layout, an extra two-stage cache, and a fixed 512×512 head dimension, with four code changes detailed in a public GitHub commit and illustrated by comparative diagrams.

AI architectureDeepSeekFlashMLA
0 likes · 3 min read
Inside DeepSeek’s FlashMLA Update: What’s New in the MODEL1 Architecture
Code Archaeology
Code Archaeology
Jan 19, 2026 · Artificial Intelligence

LLM Inference Optimization: Metrics, Model & Service Techniques

This article systematically covers LLM inference optimization across performance metrics (TTFT, TPOT, throughput, goodput, MFU, MBU), model-level techniques (quantization, distillation, pruning, speculative decoding, attention optimizations), and service-level strategies (continuous batching, prefill/decode separation, prompt caching, parallelism) to improve latency, throughput, and cost-efficiency.

KV cacheLLM inferencePrompt Caching
0 likes · 14 min read
LLM Inference Optimization: Metrics, Model & Service Techniques
AI2ML AI to Machine Learning
AI2ML AI to Machine Learning
Dec 27, 2025 · Artificial Intelligence

Why Jeff Dean Champions Speculative Decoding: The Underlying Ideas

Jeff Dean highlighted speculative decoding as a lossless inference acceleration technique that can boost large language model throughput by 2–3×, and the article breaks down its core concepts—including parallel token verification, draft‑target model collaboration, rejection sampling theory, and practical optimizations such as continuous batching and tree‑based verification.

Draft-Target ModelKV cacheLarge Language Models
0 likes · 8 min read
Why Jeff Dean Champions Speculative Decoding: The Underlying Ideas
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Dec 22, 2025 · Artificial Intelligence

Boost LLM Inference with KV‑Cache‑Aware Routing on Alibaba Cloud ACK GIE

This article explains why KV‑Cache hit rate is critical for large‑model inference, describes vLLM's automatic prefix caching, outlines the distributed cache challenges, and provides a step‑by‑step guide to deploying Alibaba Cloud ACK Gateway with Inference Extension's precise‑mode prefix‑cache‑aware routing, backed by benchmark results.

Alibaba CloudKV cacheKubernetes
0 likes · 18 min read
Boost LLM Inference with KV‑Cache‑Aware Routing on Alibaba Cloud ACK GIE
AI2ML AI to Machine Learning
AI2ML AI to Machine Learning
Dec 21, 2025 · Artificial Intelligence

Why KV Caching Is Critical for Efficient LLM Inference

The article breaks down the principles of KV caching in large language models, explaining how Q/K/V behavior differs between training and inference, the role of prompts, cache size trade‑offs, and the complexities of concurrent inference, all backed by concrete examples and references.

Concurrent InferenceKV cacheLLM inference
0 likes · 7 min read
Why KV Caching Is Critical for Efficient LLM Inference
ShiZhen AI
ShiZhen AI
Dec 4, 2025 · Artificial Intelligence

What Is a Context Window? Explaining LLM Memory Capacity

The article explains that a context window defines an LLM's token‑level memory capacity, shows how longer windows cause quadratic computation growth, introduces KV Cache as a way to extend context without exploding resources, and covers advanced techniques like Ring Attention, NIAH benchmarking, and attention decay in long sequences.

Context WindowKV cacheLLM
0 likes · 6 min read
What Is a Context Window? Explaining LLM Memory Capacity
Software Engineering 3.0 Era
Software Engineering 3.0 Era
Nov 23, 2025 · Artificial Intelligence

Advanced AI Context Engineering: Building Operable Worlds (Part 2)

This article examines how to evolve AI prompt engineering into full‑stack context and environment engineering, detailing six practical design patterns from the Manus system, the limits of Vibe Coding, the Spec‑Driven development workflow, and concrete steps to give models a persistent, controllable world for long‑term tasks.

AIAgentContext Engineering
0 likes · 18 min read
Advanced AI Context Engineering: Building Operable Worlds (Part 2)