protomotions.agents.peft.prior_setup module#
Shared setup for PEFT agents built on a frozen GPC prior.
- class protomotions.agents.peft.prior_setup.DiscretePriorPEFTSetupMixin[source]#
Bases:
objectLoad the frozen prior and build a PEFT actor around it.
RLFT and SFT use different training loops, but they both need the same frozen prior dependency, adapter initialization, input validation, and slim adapter checkpoint handling. The loading lifecycle itself comes from
PretrainedModulesMixindirectly for SFT and throughFineTuningAgentfor RLFT; this mixin only defines the PEFT-specific load contract.- require_reward_norm_on_load = False#
- pretrained: Dict[str, <Mock object at 0x7fd69473d190>[]]#