<blockquote> <p><em>Originally published on the <a href="https://hostingpodium.com/blog/sizing-gpu-vram-kv-cache-local-llm-inference-fp16-int4/" rel="noopener noreferrer">HostingPodium Enterprise Engineering Blog</a>.</em></p> <p><strong>Free SRE, AI & Developer Diagnostics:<…
dev.to — LLM tag
TIER_1English(EN)·Mr Say Nothing·
<p>+++<br /> title = "The best local LLM for coding: pick by VRAM first"<br /> description = "24 GB → Qwen3 Coder 30B A3B; 12–16 GB → Qwen2.5 Coder 14B at Q4; 8 GB → 7B at Q4. Drop the quant one notch before the model size, and leave 1–2 GB of VRAM for the KV cache."<br /> +++</p…
dev.to — LLM tag
TIER_1English(EN)·Carlos Cabrales III·
<p><strong>TLDR:</strong> Whether a local model fits on your hardware is arithmetic, not vibes: weights at your quant, plus the KV cache at your context length, plus a stated allowance for runtime buffers. For Qwen3-8B at Q4_K_M with a 32k context, that sum is <strong>10.02 GB</s…
<p>24 GB is the 32B tier. A 32B model at 4-bit needs about 20 GB, which leaves roughly 4 GB for context and runtime on a 24 GB card. The same card runs 14B at 8-bit (about 15 GB) or 24B at 4-bit (about 15 GB). It does not fit 32B at 8-bit (about 35 GB) or 70B at 4-bit (about 43 G…
<p><a class="article-body-image-wrapper" href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqru8oqf0klp1qn8escij.webp"><img alt="A router linked to a row of e…
<p>A 70B model in 4-bit quantization only takes ~38 GB on disk—yet deploying it on a single 48 GB L40S often crashes with <code>CUDA out of memory</code> as soon as concurrent users connect. Why? Because <strong>KV cache</strong> and CUDA runtime buffers consume far more VRAM tha…
<p>Everyone says "8 GB is enough for a 7B model at Q4", but I wanted actual numbers from a machine I own, not a chart from someone else's review. So I ran three models through Ollama on a laptop RTX 4060 with 8 GB of VRAM, watched <code>nvidia-smi</code> during generation, and wr…
<p>The weights of an LLM take roughly <strong>parameters × bytes per parameter</strong>. At INT4 a 7B model is about 4 GB, a 14B about 8 GB, a 32B about 16 GB and a 70B about 35 GB. The KV cache and runtime overhead come on top.</p> <p>That puts 7B–14B comfortably on 24 GB, 32B a…
3/n Utiliser du vieux pour faire du neuf. Allouer au GPU de l'espace sur notre SSD comme VRAM à sa disposition : une révolution ? Une solution théorique pour faire tourner des très gros modèles à poids ouvert (très lentement) sur des machines d'entrée de gamme ? Que l'optimisatio…