A LoRA adapter stores a low-rank update next to a frozen weight (shape (d_out, d_in)), with of shape (r, d_in) and of shape (d_out, r). For deployment you can merge it into the weight, so inference costs nothing extra:
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial