LoRA/QLoRA Parameter-Efficient Fine-Tuning (PEFT), VRAM Budgeting & Adapter Lifecycle Management empowers engineers to fine-tune 7B-70B models on single commodity GPUs (e.g. RTX 4090 or A10G) and serve them with zero latency penalty; core components include: 1) LoRA (Low-Rank Adaptation): freezing base weights
W0∈Rd×k and injecting trainable low-rank decomposition matrices
ΔW=rα(B⋅A) (
A initialized with Gaussian,
B=0,
r≪d), training
<1% of total parameters and slashing optimizer memory by
>80%; 2) QLoRA: quantizing frozen base models into NF4 (NormalFloat4) 4-bit representations alongside Double Quantization and Paged Optimizers, enabling 70B fine-tuning on a single 24GB card; 3) Weight Merging & Multi-Tenancy: fusing adapter deltas via
Wfinal=W0+rαBA for zero-overhead deployment, or using S-LoRA/Punica for multi-tenant dynamic adapter hot-swapping.