Local LLMs on 12 GB of VRAM: what fits and how fast (thestacksentinel.com)

🤖 AI Summary
Recent tests on various local large language models (LLMs) reveal significant insights regarding memory usage and performance capabilities within 12 GB of VRAM. Notably, the Qwen3 1.7B model can accommodate 32,768 tokens of context using any KV cache type, requiring only 4.9 GB, while the Gemma 4 12B similarly supports the same context length at 8.2 GB. The Qwen3 14B model, on the other hand, fits 32,768 tokens with certain cache types at just over 10 GB, but requires 16,384 tokens context for more efficient memory usage with f16 cache (10.9 GB). These findings are significant for the AI/ML community as they highlight the trade-offs between model size, context length, and memory efficiency, especially for developers working with limited hardware. The experiments also underscore the impact of different KV cache types on writing and reading speeds, with variations showing that a q8_0 configuration can improve writing speed by as much as 40.9% in specific scenarios. Overall, this data offers crucial benchmarks for optimizing LLM deployment in resource-constrained environments.
Loading comments...
loading comments...