Add the Cosmos workflow - #1005
Conversation
- Add CosmosServerTask, serving a baked-in checkpoint over the shared policy-server port. - Add CosmosPolicyRunnerTask, pointing policy_runner.py at that server's host token. - Pair the two in CosmosPolicyRunnerWorkflow and register it as `--policy cosmos`. - Cover the rendered workflow in test_osmo_workflow.py. Signed-off-by: alex <amillane@nvidia.com>
446e391 to
ce89035
Compare
Greptile SummaryAdds Cosmos as an OSMO evaluation backend that co-schedules a remote policy runner and a checkpoint-serving sidecar.
Confidence Score: 5/5The PR appears safe to merge, with the new Cosmos workflow consistently wired to the existing OSMO task and remote-policy abstractions. The generated runner and server commands agree on host discovery and port configuration, the server image and checkpoint defaults match the repository's Cosmos build scripts, and the runner image contains the policy package and required client dependency. Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Submit as submit_evaluation_workflow
participant OSMO
participant Runner as CosmosPolicyRunnerTask
participant Server as CosmosServerTask
User->>Submit: --policy cosmos
Submit->>OSMO: Submit CosmosPolicyRunnerWorkflow
par Gang-scheduled tasks
OSMO->>Server: Start baked Cosmos checkpoint server
OSMO->>Runner: Start Isaac Lab evaluation
end
Runner->>Server: Connect via host token on port 8000
loop Evaluation rollout
Runner->>Server: Send observations and prompt
Server-->>Runner: Return action chunk
end
Reviews (1): Last reviewed commit: 446e391 | Re-trigger Greptile |
🤖 Isaac Lab-Arena Review BotSummaryAdds a Cosmos server task, a Cosmos policy-runner task, and a workflow pairing them, then registers it as Findings🟡 🔵 Test Coverage
VerdictMinor fixes needed |
Summary
Run Cosmos policies on OSMO.
Detailed description
CosmosServerTaskserves the checkpoint baked into the server imageCosmosPolicyRunnerTaskruns the policy runner configured to point at the cosmos server.CosmosPolicyRunnerWorkflowpairs the two.