In-house fine-tuning — retraining an open-weights model on your own data — is gated by one number most buyers never price: memory. The QLoRA paper measured that a 65B-parameter model can be fine-tuned on a single 48GB graphics processing unit (GPU), the card’s own high-speed memory, while keeping full 16-bit task performance [1]. That result turns the “should we own a box?” argument from a token-price debate into arithmetic. Pick the largest model class you will ever own, read its memory floor, and the hardware decision prices itself.

At a glance

This article sizes workstation hardware for in-house fine-tuning of open-weights models. For ML engineers, the QLoRA measurements make one 48GB GPU the floor that owns the 34B–65B model class — a purchase spec, not a token-price guess.

The floor decides the buy

The paper behind this rule is old enough to be load-bearing. I read it three times before I trusted how little it asks of the buyer. In 2023, Dettmers, Pagnoni, Holtzman and Zettlemoyer published QLoRA, a method for adapting large language models cheaply [1]. It leaves the base model frozen and stores it in 4 bits. Training happens only inside small adapter layers bolted on top. The team fine-tuned more than 1,000 models this way, at scales regular fine-tuning could not reach [1]. Their best model family, Guanaco, reached 99.3% of ChatGPT’s results on the Vicuna benchmark. That took 24 hours on one GPU [1].

The method survives because its parts are public. The authors released their code and the CUDA (Compute Unified Device Architecture) kernels — the low-level programs that run 4-bit math on the card — for anyone to reuse [2]. Hugging Face then folded the same 4-bit approach into its transformers library, where the parameter-efficient fine-tuning (PEFT) tooling trains adapters on top of quantized weights [3].

Three mechanisms carry the memory saving. A new 4-bit data type, NormalFloat, stores weights in a format tuned to their normal distribution [1]. Double quantization then compresses even the constants that describe the quantization itself [1]. Paged optimizers absorb memory spikes that would otherwise crash a run [1]. The base model sits frozen and quantized; only the adapters train at higher precision [1].

Here is why this matters for a purchase. The floor is set by the model’s size, not by its brand, so a vendor shipping a better model in the same class does not move the number. It is a fixed figure you can shop against. A team that knows its largest owned class knows its card before anyone quotes a price.

That ordering hurts teams who size hardware from this month’s application programming interface (API) bill. Their box cannot hold the class they actually want to own. It helps teams that invert the order: floor first, tokens second. Then rent only the classes you decline to own.

By the numbers

  • 48GB, one GPU: The memory in which QLoRA fine-tuned a 65B-parameter model while keeping 16-bit performance [1].
  • 99.3% of ChatGPT: Guanaco’s score on the Vicuna benchmark after 24 hours on a single card [1].
  • 1,000+ models: The fine-tune sweep behind the paper’s measurements [1].

Where the floor bites

The teams closest to this decision use the paper’s numbers as a sizing table. A 24GB consumer card holds the 7B–14B class of open-weights models. The 48GB figure is what owns the 34B–65B class outright, on one card, with 16-bit task performance intact [1]. On this desk’s field notes, one legal-tech team saw the inversion pay off: it processed hundreds of thousands of contract clauses monthly, and a five-figure commercial API bill became a four-figure one-time compute spend on its own fine-tuned rig. My reading of that anecdote is that it is the same arithmetic applied to the 14B class — nothing more exotic. Practitioners who already own a card report the trade from the other side: thousands of fine-tunes on one card buy the class the card can hold, at a real cost in throughput on every run — 2,000 fine-tunes on one card cost 5.5% of it [4].

What I’d watch next is the gap between the floor and the spec sheet. The 48GB result is a bare minimum under the paper’s own conditions. Longer sequences, larger batches and optimizer headroom all sit above it, which is why the floor should size the card’s class and never its last gigabyte [1]. Anyone can reproduce the result with public parts: a quantized base model, PEFT adapters, and the OpenAssistant dataset the paper’s runs trained on [3].

The catch

A memory floor is not a workload forecast, in my view. The paper claims the fine-tuning fits and that results survive. It does not claim one 48GB card suits inference traffic, long agent loops, or serving many models at once. A team that buys purely on this floor can still be wrong about the box. But it will be wrong for a measurable reason, not a quoted one. The arithmetic also prices the class you own today: if your largest model is a 14B, the 48GB class is capital expense you can defer, and the floor says so as plainly as it says when you cannot.

Related reading

Sources