QLoRA (2023) › The Problem
History of Language AIAll chapters QLoRA (2023) › The ProblemOne section · Sections in this chapter2 / 7 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Fine-tuning large language models faced fundamental computational barriers in 2023. Full-parameter fine-tuning required loading entire models into GPU memory at full precision, which meant that fine-tuning a 13-billion-parameter model could require over 50 gigabytes of VRAM just to store the model weights. Gradients and optimizer states added additional memory overhead, making fine-tuning even a 7-billion-parameter model impractical on consumer hardware. Researchers who wanted to adapt models for specific tasks, domains, or applications often had no viable path forward without access to expensive cloud computing resources or institutional computing clusters.
Traditional fine-tuning involved updating all model parameters during training. While this approach could produce excellent results, it required substantial computational resources. For example, fine-tuning GPT-3.5 would require loading its 175 billion parameters into memory, along with gradients for those parameters and optimizer states. The memory requirements scaled linearly with model size, making fine-tuning progressively more expensive as models grew larger. By 2023, fine-tuning even moderately sized models like LLaMA-7B required multiple high-end GPUs, creating barriers that prevented many researchers from participating in model adaptation.
Parameter-efficient fine-tuning techniques like LoRA addressed the training efficiency problem by only fine-tuning small adapter matrices while keeping the base model frozen. However, LoRA still required loading full-precision base model weights into memory. A 7-billion-parameter model stored at 16-bit precision required approximately 14 gigabytes of memory just for the weights. Longer contexts and larger batches increased the memory needed for activations. LoRA reduced the number of parameters that needed training, but it didn't solve the memory bottleneck that prevented fine-tuning on consumer hardware.
The computational barriers created a fundamental inequality in access to language model adaptation. Large technology companies and well-funded research institutions could afford the computational resources to fine-tune large models, while people and institutions with limited budgets were effectively excluded. This inequality meant that the benefits of large language models were concentrated among those who already had substantial resources, limiting innovation and diverse perspectives in model development. The democratization of language AI required solutions that could make fine-tuning accessible to a broader community of researchers and developers.