vision), PaliGemma reads the images and the prompt (language), and the action expert turns PaliGemma’s keys and values into actions (action_expert). Both training APIs take targets, which say where training goes, and a method:
Targets
Combine them freely:
["language.mlp", "action_expert"] puts LoRA on PaliGemma’s MLPs and the whole expert. In Python they’re relay.sft.TARGETS.
Examples
Defaults
LoRA goes on the action expert (["action_expert"]), as π0.5’s reference fine-tuning does; full fine-tuning trains the whole model (["all"]).
Sizes
Measured on one H100, batch of 4, one camera:
Training anything in
vision or language runs SigLIP and PaliGemma with gradients, recomputing each layer in the backward pass, so those steps use more memory and time than training the expert alone. Lower batch_size if a large one runs out of memory.
Trained weights are exported with the adapters merged in, so a LoRA fine-tune serves like any other checkpoint.