Skip to content

execute runs in parallel when possible#117

Merged
dphuang2 merged 1 commit intomainfrom
execute-runs-in-parallel
Aug 22, 2025
Merged

execute runs in parallel when possible#117
dphuang2 merged 1 commit intomainfrom
execute-runs-in-parallel

Conversation

@dphuang2
Copy link
Copy Markdown
Collaborator

  • avoids concurrent runs for MCPGymRolloutProcessor since its stateful per-run

@dphuang2 dphuang2 requested a review from xzrderek August 22, 2025 23:15
@dphuang2 dphuang2 merged commit d951083 into main Aug 22, 2025
7 checks passed
@dphuang2 dphuang2 deleted the execute-runs-in-parallel branch August 22, 2025 23:22
for i in range(num_runs):
tasks.append(asyncio.create_task(execute_run(i, config)))

# if rollout_processor is McpGymRolloutProcessor, we execute runs sequentially since McpGym does not support concurrent runs
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would this matter? i thought each task has its own mcp session id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants