Spaces:
Sleeping

SavK1 Claude Sonnet 4.6 commited on
Commit
22d40fb
·
1 Parent(s): 1b68f93

fix(train_v3): use PMOpsGRPOTrainer to fix reward kwarg plumbing

Browse files

PatchFastRL strips custom rollout keys before calling reward_func,
so the 'reward' key never arrived. PMOpsGRPOTrainer overrides
_calculate_rewards to inject pre-computed rewards from the rollout
batch directly, bypassing the broken kwargs path entirely.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

1 file changed +62 -62
training/train_v3.ipynb+62-62