You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RayPPOTrainer._dump_generations() missing gts argument in _train_step call #492
In agentlightning/verl/trainer.py, _train_step calls _dump_generations without passing the required gts argument, causing a TypeError at runtime when trainer.rollout_data_dir is set.
Error message
File "agentlightning/verl/trainer.py", line 421, in _train_step
self._dump_generations(
TypeError: RayPPOTrainer._dump_generations() missing 1 required positional argument: 'gts'
Steps to Reproduce
Set rollout_data_dir in the trainer config
Run training — the error is triggered at the rollout generation dump step
Root Cause
_dump_generations is defined with gts as a required positional argument:
Either pass gts=None at the call site, or give gts a default value of None in the function signature to make it optional when ground truth is unavailable.
Activity