Local LLM Deployment: A Low-VRAM Quantization Selection Guide

    This guide explains how to choose quantized model files for local LLM deployment when VRAM is limited. It covers how to estimate your VRAM budget, compares four quantization tiers by memory usage and accuracy, explains why the embedding table should stay at full precision, and shows how per-tensor mixed precision reallocates memory. It also outlines a practical selection workflow for 8 GB, 10 GB, and 12 GB GPUs.

    1. The Real Bottleneck in Local Deployment Is Your VRAM Budget

    Over the past year, quantized weights for smaller models and sparse mixture-of-experts (MoE) architectures have been released, lowering the barrier to local deployment. But in practice, developers rarely ask “can it run?” The harder question is “how much headroom is left once it runs?” When the VRAM budget is maxed out, context length gets squeezed and batch concurrency drops, so the experience falls off a cliff. That is why the first step in model selection is not checking leaderboard scores, but doing the VRAM math.

    A practical estimate: weight memory ≈ parameter count × bytes per parameter, plus the activation and cache overhead of the inference runtime. Take a sparse MoE model as an example. If the expert weights are stored in 4-bit floating point and the model has many expert shards, the total weight footprint usually lands around 20 GB. With a conventional uniform 4-bit quantization scheme, the same model typically needs about 16 GB. These two numbers define how much room you have for every tradeoff that follows.

    2. VRAM and Accuracy Across Four Quantization Tiers

    A research group published a set of per-tensor quantized files that split the same model into four budget tiers. They work well as a selection reference:

    • Smallest tier: average bit width ~2.75 bits, 8.05 GB on the GPU, 8.98 GB including the vocabulary, average score across three benchmarks holds at 94.3;
    • Second tier: average bit width ~3.0 bits, 9.79 GB, average score holds at 98;
    • Third tier: average bit width ~3.25 bits, 10.61 GB, average score holds at 97.7;
    • Recommended tier: average bit width ~3.5 bits, 11.43 GB, average score holds at 99.2.

    Mapping these to hardware: an 8 GB GPU can only fit the smallest tier; 10 GB can run the third tier; with 12 GB or more, go straight to the recommended tier. Note that these figures come from the publisher’s model card and public papers and have not been reproduced locally, so community feedback should be treated separately. The real takeaway is a single point: an 8 GB GPU goes from “watching others run it” to “it runs, but accuracy drops by about six points.”

    3. Why the Embedding Table Must Keep Full Precision

    This is the most overlooked point, and the one that should be explained first. The embedding table is essentially a lookup table: you input a token and it maps directly to a row of vectors, with no matrix multiplication involved. Since it never goes through the compute-heavy path, compressing it yields no speed benefit at all.

    In mainstream inference frameworks, this layer always resides in system memory regardless of the GPU layer settings and does not occupy VRAM. Compressing the vocabulary to 4-bit reduces the download size by about 0.7 GB, but saves not a single byte of VRAM, while introducing a deviation between the first-layer input and the original. Keeping full precision costs only a little extra disk space, and in return the input end stays perfectly aligned. It is a classic zero-cost gain.

    4. Where the Saved VRAM Comes From: Per-Tensor Mixed Precision

    Traditional quantization is one-size-fits-all: the entire model uses a single format, with names like Q4_K_M. The new approach selects a format per tensor individually and assembles the best combination under a given total budget.

    The method is an offline search: first compress each tensor under every candidate format to build a candidate pool; then, under the total budget constraint, pick a configuration that minimizes overall reconstruction error. This is essentially a constrained combinatorial optimization problem, commonly approximated in engineering with greedy search plus local search.

    The logic looks like this:

    1. # Pseudocode: per-tensor format selection under a budget constraint
    2. candidates = {name: build_candidates(tensor) for name, tensor in model}
    3. budget = 11.43 # GB, target tier
    4. selection = search_min_error(candidates, budget=budget)

    The allocation does not follow the intuition that “bigger is always better.” The same attention weight might get 6-bit precision in a smaller tier but only 5-bit in a larger one, because the budget has been shifted to more sensitive layers. This shows that the value of mixed precision lies in reallocation, not in raising everything across the board.

    1. Measure your VRAM headroom first: run a baseline with your target context length, record peak usage, and reserve 1–2 GB for the runtime.
    2. Then pick a tier: match against the table above, and choose one tier lower rather than running right at the limit.
    3. Verify the input end: confirm the embedding table has not been compressed, to avoid first-layer precision drift.
    4. Run a small-sample evaluation: test three or more metrics on your own business corpus and cross-check against the official scores.
    5. Add a cloud fallback: for scenarios your local machine cannot handle, use a container platform to host the inference service, distribute weights with object storage, and track VRAM and latency metrics with monitoring and alerting, forming a hybrid “local trial run + cloud elasticity” architecture.

    6. Conclusion

    The key to low-VRAM local deployment is not finding some “strongest quantization,” but understanding how the VRAM budget gets reallocated per tensor. Get three things right, keeping the embedding table at full precision, using mixed precision, and matching the tier, and even an 8 GB GPU can deliver a usable inference experience. Let cloud elasticity cover the remaining gap.