Early practice attached LoRA only to the attention query and value projections.
Current practice often targets all linear layers (query, key, value, output projections plus the MLP gate, up and down projections), which usually gives better quality for the same rank at modest extra cost.
More targeted modules means more trainable parameters, so adjust rank down if memory is tight.
Loading…