Beyond LoRA: Can you beat the most popular fine-tuning technique?

AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.

Why it matters

Engineers defaulting to LoRA for fine-tuning may be accepting worse accuracy or higher memory use, since Hugging Face's new benchmarks show alternatives like OFT and Lily beating it.

Read this as

LoRA is the near-universal method for cheaply fine-tuning AI models, used in about 98% of Hugging Face adapters that name a technique. Hugging Face built benchmarks comparing over 40 alternatives under identical conditions and found LoRA is good but not always best: OFT beat it on both image quality and memory, and Lily scored higher on math tests. Anyone fine-tuning models should compare techniques rather than defaulting to LoRA.

Hugging Face's benchmarks challenge the default choice in fine-tuning: LoRA dominates usage (98.4% of tagged adapters) partly through momentum, not merit. On image generation, OFT scored 0.708 similarity at 9.01 GB versus LoRA's 0.697 at 9.97 GB, strictly beating it. Teams can cut training memory or lift accuracy by switching techniques, and PEFT now converts non-LoRA adapters to LoRA so serving tools like vLLM still work. The cost is re-evaluating existing fine-tuning setups.

Hugging Face added PEFT benchmarks covering 40+ techniques: LLM fine-tuning of Llama-3.2-3B on MetaMathQA (GSM8K eval) and image generation on FLUX.2-klein-base-4B (cat plushy, dino similarity). On math, rank-stabilized LoRA hit 53.2% at 22.6 GB (vanilla LoRA only 48.1%), Lily reached 54.9% at 25.6 GB; on images, OFT strictly dominated LoRA (0.708 vs 0.697 similarity, 9.01 vs 9.97 GB). Limitations: hyperparameter sweeps are incomplete, some techniques lack quantization support, and adapter-to-LoRA conversion is only partially implemented.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Hugging Face LoRA PEFT Llama-3.2-3B FLUX.2-klein-base-4B OFT vLLM

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.5a0

Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.

datasette-charts 0.4a0

Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.