Urgent.News

What's breaking now, across thousands of outlets.

AI

Nobody talks about RAM. Every local-LLM regret is a RAM problem.

Originally published at mrsaynothing.dev . Walk into any local-LLM thread and the arguments are about GPUs. VRAM benchmarks, 24 GB cards, CUDA versus ROCm, whether the 3060 is still the people's card. Meanwhile the number that actually decides whether your model runs is sitting in the other slot, unbenchmarkable and unmarketed: how much RAM the machine has. VRAM sells the dream. RAM decides…

In discussions about local-LLMs, the focus is often on GPUs, with VRAM benchmarks and card comparisons taking center stage. However, the true determinant of whether a model runs smoothly is the amount of RAM available on the machine, a fact often overlooked. A Ryzen desktop with 32 GB of RAM and an RTX 3060 with 12 GB of VRAM was used to test the llama3.1:8b model, which requires 4.9 GB of download size but reserves 7.0 GB before answering a single prompt.

This represents a 43% context tax, and the model keeps 7,963 of the 12,288 MiB of VRAM for itself. The RAM, not the weights, is the budget constraint. The memory requirements of llama.cpp, including the model weights, KV cache, and compute buffer, determine how much context can be retained. Quantization levels, like GGUF Q4, are not compromises but necessary measures to fit memory requirements within hardware capabilities.

Different quantization levels lead to different memory usages, affecting whether models can run smoothly on machines with limited RAM. While GPUs are important, they are secondary to the availability of sufficient RAM for local-LLM operations.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

More from Saturday 19 September →