mlsanityData to 14 Oct 2026

Anatomy of a Quantized Agent: VRAM Stability and Forecasting in Code-Synthesis Agentic Workloads

arXiv 2608.15117 ↗First posted 15 Aug 2026cs.AI cs.DC cs.LGcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

also in 1 more
Abstract (arXiv)

Analytical models of peak VRAM consumption for LLM inference decompose memory into weight-storage, KV-cache, and activation terms parameterized by step count, tool invocations, and context expansion. We evaluate this decomposition empirically within a strictly scoped measurement study: a LangGraph-based CUDA-kernel-synthesis agent (AgentK), a 4-bit quantization family (Q4 K M), a single NVIDIA H100 GPU, and four LLM backbones across 1,920 trajectories. Focusing on peak-memory forecasting behavior, we report two primary observations. First, closed-form analytical models achieve competitive accuracy when provided with two empirical constants: loaded-weight VRAM and a fixed activation-memory overhead. Supplied with live GPU readings and ground-truth trajectory parameters, the closed-form model matches or outperforms the best learned baseline on three of the four backbones (test MAPE 2.2-4.4% vs. 3.4-6.5%, p = 0.76). The exception is the smallest backbone (Phi-4-mini), where minimal VRAM variance (CV 0.3%) causes dynamic modeling to underperform simple regression. Second, compile success strictly bifurcates by backbone capacity (from 5.7% for Phi-4-mini to 62.0% for Qwen2.5-Coder-14B), demonstrating that functional code synthesis remains constrained by intrinsic LLM capabilities rather than available memory. Furthermore, because overall peak-memory variance is remarkably low across all backbones (CV 0.3-9.4%), learned prompt-feature regression offers statistically insignificant improvements over a constant-mean baseline. Consequently, we find no justification for deploying complex predictive VRAM models in highly quantized, weight-dominated regimes. We release the evaluated corpus and anonymized framework to support replication.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 28 references that are in the map. First posted on arXiv 15 Aug 2026.

Builds on

23 of 28 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Tasks16 May
  2. 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation27 Feb
  3. 2026Agent Memory Below the Prompt: Persistent Q4 KV Cache for Multi-Agent LLM Inference on Edge Devices17 Feb
  4. 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimization23 Oct
  5. 2025Justitia: Fair and Efficient Scheduling of Task-parallel LLM Agents with Selective Pampering19 Oct
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 17

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
  3. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 238
  4. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
  5. 2025Agentic Large Language Models, a surveycited by 108
  6. 2024NEO: Saving GPU Memory Crisis with CPU Offloading for Online LLM Inferencecited by 37
  7. 2024InferCept: Efficient Intercept Support for Augmented Large Language Model Inferencecited by 33
  8. 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Modelscited by 24
  9. 2026Anatomy of Agentic Memory: Taxonomy and Empirical Analysis of Evaluation and System Limitationscited by 21
  10. 2024LLMem: Estimating GPU Memory Usage for Fine-Tuning Pre-Trained LLMscited by 12
  11. 2025KVComp: A High-Performance, LLM-Aware, Lossy Compression Framework for KV Cachecited by 7
  12. 2025XQuant: Breaking the Memory Wall for LLM Inference with KV Cache Rematerializationcited by 4
5 more
  1. 2025Scalable Processing-Near-Memory for 1M-Token LLM Inference: CXL-Enabled KV-Cache Management Beyond GPU Limitscited by 4
  2. 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraintscited by 2
  3. 2026Maestro: Workload-Aware Cross-Cluster Scheduling for LLM-Based Multi-Agent Systemscited by 2
  4. 2026SelfMem: Self-Optimizing Memory for AI Agentscited by 2
  5. 2025xMem: A CPU-Based Approach for Accurate Estimation of GPU Memory in Deep Learning Training Workloadscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Silicon Showdown: Performance, Efficiency, and Ecosystem Barriers in Consumer-Grade LLM Inference
  2. 2026Evaluating Inference Compute for Generative AI: A Framework for Enterprise Workloads
  3. 2026Where Does the Energy Go? Profiling LLM Agent Inference on Blackwell GPUs ↗
  4. 2026Memory-Bound but Not Bandwidth-Limited: The Physical AI Inference Gap in Batch-1 LLM Decode
  5. 2026Heterogeneous Computing: The Key to Powering the Future of AI Agent Inference
  6. 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents
  7. 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware
  8. 2026D2K-Bench: Can LLM Agents Turn Expert Designs into Efficient GPU Kernels?