ROLL icon indicating copy to clipboard operation
ROLL copied to clipboard

AssertionError in list_of_dict_to_dict_of_list during validation in AgenticPipeline

Open lowdy1 opened this issue 1 year ago • 1 comments

When running start_agentic_pipeline.py, the pipeline crashes during validation with an AssertionError inside list_of_dict_to_dict_of_list. It seems that the rollout batches from different workers return dictionaries with inconsistent keys, causing the concatenation to fail.

Run cmd:

bash examples/qwen2.5-0.5B-agentic/run_agentic_pipeline_sokoban.sh

Error Trace:

ray.exceptions.RayTaskError(AssertionError): ray::RolloutScheduler.get_batch()
  File "roll/distributed/scheduler/protocol.py", line 96, in list_of_dict_to_dict_of_list
    assert key in output
AssertionError

lowdy1 avatar Aug 28 '25 06:08 lowdy1

Thank you for pointing out the issue. We are currently fixing the list_of_dict_to_dict_of_list function.

Schnabel-8 avatar Aug 28 '25 08:08 Schnabel-8