A fine-tuning adapter trains two thin matrices beside each frozen layer of a model. Three numbers decide how much it can learn and how big each step is, and popular recipes quietly tie two of them together.
Engineer's view. This is a per-worker rate limit. Tuned at 4 workers, it took the database down at 16, because the load is the sum. A LoRA adapter is a sum of rank-1 pieces, and dividing by rank keeps their total step fixed. Scale alpha with rank and your learning rate silently grows.
TL;DR. To set LoRA rank, alpha and learning rate, hold alpha fixed, use about ten times your full fine-tuning learning rate, and attach the adapter to every linear layer. Then rank only decides how much the adapter can hold, and one short sweep tells you if you have enough.
Explain Like I'm 5
Picture a huge mixing board with millions of knobs, already set well. You may not touch them. Instead you add a few master sliders. Each slider is wired to move a whole pattern of knobs at once.
More sliders let you make more kinds of change. But if every new slider pushes as hard as the first, adding sliders makes every nudge bigger. So each slider's push is divided by how many sliders there are.
Now you can add sliders without relearning how gently to push.
The Problem
You have shipped this bug before, and it had nothing to do with AI.
You set a per-worker rate limit of 50 requests a second. You tuned it with 4 workers and the database was fine. Traffic grew, so you scaled to 16 workers. Nobody touched the limit. The database fell over, because its load was the sum across workers, and the sum had quadrupled.
A second bug often sits next to it. Your cache was sized on the dev dataset and held every key. Production data was ten times bigger. Nothing errored. The hit rate sagged, and the service slowed in a way no alert named.
Fine-tuning a model with an adapter has both bugs. An adapter is a small set of extra weights trained beside a frozen model. Its change to each layer is a sum of small pieces, and the rank is how many pieces there are. Popular recipes tie the scale factor to the rank. Raise the rank and the step size rises too, so the learning rate you tuned is no longer the one you use.
The adapter also has a fixed capacity. When the training data holds more than it can store, loss falls more slowly, and nothing tells you why. Many tutorials make that worse by attaching the adapter to the attention layers only. Those hold a minority of the weights.
The fix: hold the scale factor fixed when you change rank, use about ten times your full fine-tuning learning rate, attach the adapter to every linear layer, and choose rank by checking whether a bigger one learns faster.
Read the full post on The AI Commit
How to Set LoRA Rank, Alpha and Learning Rate When Fine-Tuning a Model carries the rest: the fix and why it works, the code to change for each role, how to tell it worked, when it is the wrong tool, and an interactive model you can play with.
Originally published at theaicommit.com, a daily AI engineering lab for software engineers. The original has an interactive version you can play with, and the full runnable code is on GitHub.

