LoRA freezes the base weights: does that mean activation checkpointing on the base is unnecessary?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
No: freezing the base weight removes its gradient but not its activations; backprop into the LoRA adapters still flows through base-layer Jacobians, so the activations must stay cached and checkpointing still pays.
Imagine a long relay race where only the last runner can keep the medal but every earlier runner must still hand off the baton in the right order. Saying the early runners are not eligible for the medal does not let them skip their leg of the race. The baton still has to travel through their hands or the race breaks. During the learning step, the correction signal that flows back through the network is the baton and the activations are the handoff points. Freezing a weight just means that runner does not get a medal. They still have to be in the race, still have to hand off cleanly, and the only way to do that is to remember where they were when the baton came through the first time. That is exactly why activation memory does not shrink when you freeze weights.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: pick A, separate weight-memory from activation-memory, walk through why base-layer activations are still needed for chain-rule backprop into the adapters, and explain why each distractor encodes a different misreading.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Conflating 'no gradient on the base weights' with 'no activations needed from base layers'. Those are independent properties, and only the first changes when you freeze a parameter.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.