Repository navigation
Fix the submit and download commands on the multi-node evaluation page - #1824
Conversation
The multi-node evaluation page ran `python osmo/submit_arena_experiment.py`. `osmo` is not an installed package, so running the file by path fails with `No module named 'osmo'` in the native uv environment. It only worked in the container because `isaaclab.sh` adds the working directory to PYTHONPATH. Use `python -m osmo.submit_arena_experiment` from the repository root, as the script's own help text and the Experiments concept page already do. Signed-off-by: Clemens Volk <cvolk@nvidia.com>
The download commands on the multi-node evaluation page used the IDs `robolab_2tasks_pi_and_cosmos_100ep-1` and `robolab_20tasks_pi_extrinsics-1`. OSMO appends a number to the workflow name that every submission under that name shares, so a reader's run gets a different ID. The commands also hardcoded the team Swift prefix, although the page tells readers to set their own `osmo.output_url`. Download from the path in the collect task's `Uploaded` log line, and explain how the workflow ID and `osmo.output_url` form that path. Signed-off-by: Clemens Volk <cvolk@nvidia.com>
Confidence Score: 5/5
[Low impact] The documentation changes appear safe to merge. SummaryUpdates the multi-node evaluation guide:
No actionable issues found. Review checks were based on source and existing tests; no commands were executed. Reviews (1) · Last reviewed commit: "Stop hardcoding workflow IDs in OSMO dow..." · Reviewed by Greptile |
🤖 Isaac Lab-Arena Review BotSummaryThis PR changes every submit command on the multi-node evaluation page to Findings🔵 Improvement: docs/pages/example_workflows/multi_node_evaluation/multi_node_evaluation.rst:291 (outside the diff). The overrides table gives VerdictShip it |
…valuation page (#1824) (#1825) Cherry-pick #1824 into `release/0.4.0`, so the v0.4 multi-node evaluation page runs the OSMO submit script as a module and no longer hardcodes workflow IDs and the Swift prefix in its download commands. #1824 is merged. The two commits are cherry-picked from its branch, apply without conflicts, and match the merged change. --------- Signed-off-by: Clemens Volk <cvolk@nvidia.com>
Run the OSMO submit script as a module on the multi-node evaluation page, and stop hardcoding workflow IDs and the Swift prefix in its download commands.
Why this change?
The page ran
python osmo/submit_arena_experiment.py.osmois not an installed package, so running the file by path fails withModuleNotFoundError: No module named 'osmo'in the native uv environment. It works in the container only becauseisaaclab.shleaves an empty entry inPYTHONPATH, which adds the working directory.The download commands used the workflow IDs
robolab_2tasks_pi_and_cosmos_100ep-1androbolab_20tasks_pi_extrinsics-1. OSMO adds a number to the workflow name that all submissions under that name share, so a reader's run gets a different ID. The page's example name is already at-22. The commands also hardcoded the team Swift prefix, although the page asks readers to set their ownosmo.output_url. With a wrong path,osmo data downloadprints "Data has been downloaded", exits 0, and downloads nothing.What changes?
python -m osmo.submit_arena_experiment, run from the repository root. The script's help text and the Experiments concept page already use this form.<UPLOADED_PATH>, the path from the collect task'sUploadedlog line. The page explains that this path isosmo.output_urlwith{{workflow_id}}replaced by the workflow ID, and how OSMO numbers workflow IDs.Validation
--dry_runadded (or with--list_overrides).--list_overridesworks in the module form, and the old script path fails withNo module named 'osmo'.