Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. LLMs /
  4. What is QLoRA?
LLMs

What is QLoRA?

Updated September 26, 2026 Read 3 min

QLoRA is a fine-tuning method that loads a base model in 4-bit precision and trains small LoRA adapters on top, cutting memory use enough to fine-tune very large models on a single GPU.

Contents 11
  1. 01Key takeaways
  2. 02QLoRA explained in simple terms
  3. 03The memory problem it solves
  4. 04The three innovations
  5. 05How QLoRA training works
  6. 06A worked example
  7. 07Trade-offs to know
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

QLoRA (quantized low-rank adaptation) is a fine-tuning method that loads a frozen base model in 4-bit precision and trains small LoRA adapters on top of it. Because the large base model is quantized and never updated, memory use drops dramatically. QLoRA was introduced by Tim Dettmers and colleagues in 2023 and made fine-tuning very large open-weight models possible on a single GPU.

Key takeaways

  • QLoRA = 4-bit frozen base model + trainable LoRA adapters.
  • The paper showed a 65-billion-parameter model fine-tuned on one 48 GB GPU.
  • Three key techniques: NF4 quantization, double quantization and paged optimizers.
  • Quality was reported to be close to 16-bit full fine-tuning on the tasks tested.
  • The saved adapter is small and can be merged or swapped.

QLoRA explained in simple terms

Normal fine-tuning is like renovating a building while keeping full architectural drawings of every room in memory. QLoRA compresses the drawings into a compact form you can still read, and then only designs a few small extensions. You need a far smaller desk to work on, yet the finished building does the job.

The memory problem it solves

ApproachApproximate GPU memory for a 7B model
Full fine-tuning in 16-bitRoughly 70–120 GB including optimiser state
LoRA on a 16-bit baseAround 16–20 GB
QLoRA on a 4-bit baseAround 6–8 GB

Exact figures depend on sequence length, batch size and settings, but the pattern holds: QLoRA brings large-model fine-tuning within reach of a single consumer or mid-range GPU.

The three innovations

  1. NF4 (4-bit NormalFloat): a 4-bit data type designed for weights that follow a roughly normal distribution, preserving accuracy better than plain 4-bit integers.
  2. Double quantization: the quantization constants themselves are quantized, saving additional memory per parameter.
  3. Paged optimizers: optimiser state can be moved between GPU and CPU memory when spikes occur, preventing out-of-memory crashes during long sequences.

How QLoRA training works

  1. Load the base model in 4-bit NF4 and freeze it.
  2. Attach LoRA adapters to attention and often feed-forward layers.
  3. During the forward pass, weights are dequantized on the fly for computation.
  4. Gradients flow to the adapters only; the base model never changes.
  5. Save just the adapter, typically tens to a few hundred megabytes.

A worked example

A small team wants a support assistant based on a 13-billion-parameter open model. Full fine-tuning would need multiple high-end GPUs. With QLoRA on a single 24 GB GPU, they:

  • Load the model in 4-bit NF4.
  • Set LoRA rank 16 with a learning rate of 2e-4.
  • Use gradient accumulation to reach an effective batch size of 32.
  • Train for 2 epochs on 8,000 examples.

The result is a small adapter file, deployable on top of the same quantized base model.

Trade-offs to know

  • Training is slower per step than 16-bit LoRA because of dequantization work.
  • Very low precision can slightly affect sensitive tasks such as maths and code.
  • Serving usually runs the quantized base model, so inference quality reflects quantization too.
  • Adapters are tied to the specific base model and quantization setup.

Limitations

  • Still requires a GPU with enough memory for the quantized model.
  • Slower throughput than full-precision training.
  • Does not overcome the base model’s underlying limits.
  • Quality gains depend on data, as with any fine-tuning.

Common Use Cases

01

Single-GPU fine-tuning

Adapt large open models on one consumer or mid-range GPU.

02

Budget-conscious teams

Customise models without renting multi-GPU clusters.

03

Private deployments

Fine-tune on-premises where data cannot leave the building.

04

Rapid experimentation

Test many adapter variants cheaply.

05

Regional language models

Adapt open models to Indian and other languages affordably.

06

Edge-oriented models

Produce quantized, adapted models for local deployment.

Frequently Asked Questions

A fine-tuning method that combines a 4-bit quantized frozen base model with trainable LoRA adapters to cut memory use.

4-bit NormalFloat, a data type designed for normally distributed weights that preserves accuracy better than plain 4-bit integers.

It can reduce requirements several times over, allowing models that would need multiple GPUs to be trained on one.

The original paper reported results close to 16-bit fine-tuning, though very sensitive tasks can show small differences.

LoRA trains adapters on a full-precision base model. QLoRA does the same on a 4-bit quantized base model.

Related Terms

  • LoRA
  • Model Quantization
  • Parameter-Efficient Fine-Tuning
  • Fine-Tuning
  • Gradient Accumulation
  • Open-Weight Model

Related AI Terms

What is an Attention Head?An attention head is a single attention unit inside a transformer layer, with its own query, key and…What is Prefix Tuning?Prefix tuning is a parameter-efficient fine-tuning method that learns trainable vectors inserted into the attention keys and values…What is an Attention Mechanism?An attention mechanism is a technique that lets a neural network focus on the most relevant parts of…What is Self-Attention?Self-attention is a mechanism where each position in a sequence attends to every other position in the same…What is Multi-Head Attention?Multi-head attention runs several attention operations in parallel, each with its own learned projections, so a model can…What is RoPE (Rotary Positional Embedding)?RoPE (rotary positional embedding) encodes a token's position by rotating its query and key vectors by an angle…

Contents

  1. 01Key takeaways
  2. 02QLoRA explained in simple terms
  3. 03The memory problem it solves
  4. 04The three innovations
  5. 05How QLoRA training works
  6. 06A worked example
  7. 07Trade-offs to know
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • LLMs

Related Terms

  • What is an Attention Head?
  • What is Prefix Tuning?
  • What is an Attention Mechanism?
  • What is Self-Attention?
  • What is Multi-Head Attention?
  • What is RoPE (Rotary Positional Embedding)?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 26, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}