Repository navigation
Make the Experiment Runner the only evaluation entry point - #1838
Draft
cvolkcvolk wants to merge 48 commits into
Draft
cvolkcvolk wants to merge 48 commits into
cvolkcvolk wants to merge 48 commits into
Conversation
Squashed copy of PR 1804 (xyao/feature/env_graph_python_modules at d7305ff), applied onto main so that this branch can build on it. The docs conflict with PR 1782 keeps main's page and appends the plugin section unchanged. Drop this commit when PR 1804 merges. Signed-off-by: Clemens Volk <[email protected]>
Decorate ExternalFrankaTableEnvironment with @register_environment and SuccessAfterNStepsTask with @register_task, so that an isaaclab_arena.plugins entry point naming the module is enough to select franka_table in any Arena runner. Arena does not declare the module as a plugin itself. The module docstring now shows an experiment_runner.py command-line Run instead of policy_runner.py with --external_environment_class_path. Signed-off-by: Clemens Volk <[email protected]>
Add write_installed_plugin_metadata, a test helper that writes the .dist-info of a package declaring isaaclab_arena.plugins entry points, so that only a child process with that directory on PYTHONPATH loads the plugin. Unlike the private helper in test_arena_env_graph_spec.py, it writes no module, so an entry point can name the in-tree example. Rewrite test_external_environment.py without --external_environment_class_path. A test without simulation checks that the plugin registers franka_table, SuccessAfterNStepsTask and franka_ik_soft. Two subprocess tests run franka_table through an experiment_runner.py command-line Run and register it with environment_registration_callback and --task. Both load the plugin after Isaac Sim starts. The pytest process never imports the example, so tests that list every registered environment do not see franka_table. Signed-off-by: Clemens Volk <[email protected]>
External environments now load only through Arena plugins. Every Arena process loads the installed isaaclab_arena.plugins entry points before it looks up an environment, so experiment_runner.py, the environment subcommands of the other runners and environment_registration_callback find a plugin environment by its name without a flag. Remove the flag from the shared parser and from the Isaac Lab callback, and remove import_external_environment_factory. An environment factory is now registered only by @register_environment when its module is imported. experiment_runner.py rejects the old flag as an unrecognized argument. Delete the flag tests in test_environment_cfgs.py. The plugin tests in test_external_environment.py replace the registration test. The check that rejected a name taken by another factory has no plugin equivalent yet: a plugin that reuses a name gets a warning, and the first registration is kept. Signed-off-by: Clemens Volk <[email protected]>
Rewrite the external environment pages for loading through Arena plugins, now that --external_environment_class_path is gone. external_environments.rst explains the decorator, then the plugin section moved here from external_tasks_and_embodiments.rst under the same arena-plugins label, since this is the first page that needs it. It runs the environment as an experiment_runner.py command-line Run, says that a source folder on PYTHONPATH records no entry points, and shows how to try the in-tree example: install a package whose pyproject.toml declares only the entry point, run it, uninstall it. external_installation.rst moves the code into an inner my_package package, so that the entry point my_package.franka_table_environment imports, shows that entry point in pyproject.toml, runs experiment_runner.py and says where the results go. The concept page no longer sends external environments to the Policy Runner. Signed-off-by: Clemens Volk <[email protected]>
experiment_runner.py built its parser with get_isaaclab_arena_cli_parser(), so it accepted every environment builder flag (--num_envs, --seed, --presets, --env_spec, ...) and then ignored them: the Run used its YAML or default value instead. The parser now has only the AppLauncher flags and the runner's own flags. --enable_cameras and --list_variations move into add_experiment_runner_arguments, with help text that says what they do in the Experiment Runner. The shared parser is unchanged, because environment_runner.py, the Isaac Lab registration callback and the graph-spec environment path still use it. Before Isaac Sim starts, the runner rejects the builder flags and the common policy_runner.py flags with one line per flag that names the override replacing it. The lines come from one table. Builder flags offer both shared.environment_builder.<field> and runs.<name>.environment_builder.<field>, because a Run's own value beats a shared one. Other unknown arguments still fail with "Unrecognized arguments". Signed-off-by: Clemens Volk <[email protected]>
--record_camera_video only turned on camera rendering in AppLauncher. A Run whose environment did not set enable_cameras had no camera_obs observation group, so after Isaac Sim started and the environment was built, CameraObsVideoRecorder failed with "'ObservationCfg' object has no attribute 'camera_obs'". The Experiment Runner now checks the untyped Experiment before Isaac Sim starts: with --record_camera_video, every Run must set environment.enable_cameras, and the error names the Runs that don't. The check uses the same per-Run rule that decides camera support, so a Run that inherits the value from shared passes. policy_runner.py turned the cameras on for the user; the Experiment Runner leaves the Run's recorded configuration unchanged. Signed-off-by: Clemens Volk <[email protected]>
The README still said that runner scripts accept builder options as flags such as --num_envs 4 --seed 7. The Experiment Runner now rejects them, so the README shows the environment_builder overrides instead. The run-experiment skill now says that the runner rejects builder and Policy Runner flags and names the replacing override, and that --record_camera_video needs environment.enable_cameras in every Run. Signed-off-by: Clemens Volk <[email protected]>
Delete test_variations_in_policy_runner.py. Its two rollouts with variations are already covered by Experiment Runner tests: test_experiment_runner_replays_recorded_variation_samples sets light.hdr_image and the wrist camera extrinsics variation on pick_and_place_maple_table with cameras, and test_experiment_runner_graph_spec_camera_run_and_camera_less_run sets both variations on the graph-spec environment. The unknown-variation test moves to test_experiment_runner.py. It runs a command-line Run with light.nonexistent_variation and checks that the Run fails and that the error lists the environment's variation paths. Signed-off-by: Clemens Volk <[email protected]>
test_policy_runner.py keeps the zero-action subprocess smoke test and the in-process --viz none and --distributed tests. The other rollouts move to Experiment Runner tests: - Replay: test_experiment_runner_replays_a_recorded_episode replays the GR1 open-microwave demo. Its Run sets no rollout limit, so the replay policy's length sets the number of steps. - GR1 with an extra object: the two Runs of test_experiment_runner_runs_with_different_env_counts now add cracker_box and tomato_soup_can, which avoids another Isaac Sim start. - Viewport video: test_experiment_runner_records_one_viewport_video_per_rebuild already covers it, so the Policy Runner test is deleted. The zero-action test now lists its arguments directly, because the run_policy_runner helper has no other callers. Signed-off-by: Clemens Volk <[email protected]>
test_rl_train_and_eval_lift_object now evaluates the trained checkpoint in one Experiment Runner Run (lift_object, franka_ik, dex_cube, two steps) and checks that the Run completed. The Run is written to a YAML file under tmp_path, so the checkpoint path needs no quoting as an override value. Signed-off-by: Clemens Volk <[email protected]>
Delete the two Policy Runner tests from the GR00T remote closed-loop e2e file. The Experiment Runner test now runs one Experiment with two Runs, single_env (num_envs 1) and multi_env (num_envs 3), which share the environment, the policy and a 17-step limit, the rollout the Policy Runner tests used. It checks that both Runs completed. Both Runs share one subprocess timeout (GR00T_REMOTE_E2E_TIMEOUT, 900 s in CI). In the last CI job that ran these tests, the first, cold test took 710 s and the later ones about 35 s each. Locally, the second G1 Run in the same process took 23 s. The file keeps its name, which CI selects. Signed-off-by: Clemens Volk <[email protected]>
test_packaging.py checks that experiment_runner is discoverable instead of policy_runner, so removing policy_runner.py later does not break the bare editable-install check. test_arena_env_graph_conversion.py sets sys.argv[0] to environment_runner.py, which still uses the environments CLI parser that the test covers. Signed-off-by: Clemens Volk <[email protected]>
ExperimentRunnerTaskCfg.record_camera_video defaulted to True. Since experiment_runner.py rejects --record_camera_video before startup for a Run without environment.enable_cameras, every camera-less Run submitted to OSMO failed. Make it opt-in, as it is for experiment_runner.py, and list the experiment_runner.* overrides on the multi-node page. Signed-off-by: Clemens Volk <[email protected]>
osmo.submit_arena_experiment required --experiment_cfg, while experiment_runner.py already accepts Runs defined only by overrides. Make the flag optional: without it, experiment_cfg.runs.<name>.* overrides define the Runs, as read_untyped_experiment does for the Experiment Runner. Without a Run override, the error shows the experiment_cfg. prefix that submission needs. Signed-off-by: Clemens Volk <[email protected]>
A policy server that needs another OSMO pool, such as DreamZero's H100 server, runs in its own workflow, so the Experiment Runner task must reach it through osmo workflow port-forward. Port the tunnel from DreamZeroPolicyRunnerTask into PolicyServerTunnel and give ExperimentRunnerTask an optional tunnel: the task logs in with the osmo_token_credential, keeps the port-forward running, waits for its local port, and cancels the server workflow on exit. The task keeps its contract. It always writes experiment_runner_result.json and exits 0, so a failed OSMO login is recorded as a failed Run instead of stopping the script, and the tunnel wait counts against the Run's time budget. Signed-off-by: Clemens Volk <[email protected]>
ArenaExperimentWorkflow co-schedules each Run's server in the Run's group, but DreamZero's server needs an H100 pool while Isaac Sim needs an RTX pool, so DreamZero Runs had no Experiment equivalent of the old DreamZeroEvaluationWorkflow. Register DreamZeroServerTask as a PolicyServerTask that runs in its own workflow, with the H100 defaults of the old server workflow. A PolicyServerTask declares this with separate_workflow_resources and points its client at the server with connect_client_policy, which DreamZero uses to raise initial_connect_wait_s to an hour. submit_arena_experiment now submits one server workflow per such Run, named <osmo.workflow_name>-server-<run_index>, before the Experiment workflow. It reuses the Experiment workflow's priority, timeouts, labels and dry-run setting, and takes pool, resources and image from the server type, overridden by the new policy_server_osmo section. The Run's Experiment Runner task tunnels to the submitted workflow (placeholder IDs on a dry-run). When a later submission fails or times out, the command prints how to cancel the server workflows it already submitted. Signed-off-by: Clemens Volk <[email protected]>
submit_osmo_workflows.py submitted one policy-runner workflow per robolab task and policy through osmo.submit_evaluation_workflow. Build one Experiment instead, with Runs named <task>_<policy> for pi0 and gr00t, and submit it through osmo.submit_arena_experiment. Each Run keeps the old settings: num_envs 10 for pi0 and 6 for GR00T, cameras on with camera video recorded, the five variation settings, and the GR00T DROID policy_config_yaml_path that Gr00tPolicyRunnerTaskCfg used to default to. One Experiment gives one workflow and one collected output with a directory per Run, which isaaclab_arena.visualization.plot_success_rates plots with --policies pi0 gr00t. download_osmo_workflows.py and run_benchmark/plot_success_rates.py only handled the old layout of one workflow per Run, so delete them. Signed-off-by: Clemens Volk <[email protected]>
The Experiment path now covers every policy the old submission CLI offered: zero_action, pi0, GR00T and Cosmos through co-scheduled servers, and DreamZero through a server workflow per Run. Delete osmo/submit_evaluation_workflow.py, PolicyRunnerTask and its policy subclasses, the static runner+server workflows and the DreamZero split workflows. In workflow.py, drop what only the old CLI used: SubmittableWorkflow with task_cfg_type and workflow_cfg_type, the static task declarations (task_cls_list, task_names, lead_list, constructs_groups_directly) and CompositeWorkflow. Workflow now takes only its WorkflowCfg, and subclasses build their own groups. Port the tests of test_osmo_workflow.py that cover shared code to ArenaExperimentWorkflow: required task names on every registered server task, label rendering and parse_labels, a Cosmos Run, the GR00T server command, and the GR00T-free dry-run, which now also imports the DreamZero server task. Signed-off-by: Clemens Volk <[email protected]>
The OSMO DreamZero evaluation was documented only in the docstring of the removed submit_evaluation_workflow.py. Add an "Evaluate on OSMO" section to the DreamZero page: the submit command, the two pools, the osmo-token credential and how to create it, the policy_server_osmo overrides, and when a server workflow has to be cancelled by hand. On the multi-node page, mention servers that run in their own workflow, the policy_server_osmo overrides, submission without an Experiment file, and that plugin environments must be installed both locally and in the image. Fix the osmo.memory default (120Gi). Point the server-client policy page and AGENTS.md at the Experiment workflow instead of the policy runner. Signed-off-by: Clemens Volk <[email protected]>
The catalog pages told readers to pass a Task ID or --env_spec to policy_runner.py. A Run now selects the environment in environment.type, and each catalog page shows a command-line Run. The prose comes from draft PR 1466, with command-line Runs instead of its two single-environment Experiment files. Add the gr1_table_multi_object_no_collision Experiment, which needs nine values and keeps environment.num_envs equal to environment_builder.num_envs. The environment docstring points to it and names config fields instead of --mode and --objects. Fix the kitchen benchmark count (67 specs) on the overview page, and delete isaaclab_arena/examples/README.md: it ran a policy_runner.py that no longer exists, and the Python catalog covers the same environments. Signed-off-by: Clemens Volk <[email protected]>
The deformable pick-and-place, gear insertion and workbench pages ran policy_runner.py. Each command is now an experiment_runner.py command-line Run: environment fields such as pick_object and robot_control go below runs.<name>.environment, cameras come from environment.enable_cameras=true, and the OpenPI evaluation sets environment_builder.num_envs=4. Signed-off-by: Clemens Volk <[email protected]>
The policy concept pages named policy_runner.py next to the Experiment Runner and explained how it turned policy config fields into flags. Describe the fields as Run fields instead: an override sets one, the runner's --device leaves a policy's device alone, and num_envs follows environment_builder.num_envs. The RigidObjectSet page and the Experiment override rules now say that a Run sets builder settings below environment_builder and that the Experiment Runner rejects flags such as --num_envs. Signed-off-by: Clemens Volk <[email protected]>
The skill no longer routes external environments or direct rollouts to policy_runner.py. Environments from other packages load through Arena plugins and run like any registered environment. A request to run policy_runner.py becomes a command-line Run. Name environment_builder.<field> as the place for builder settings, environment.enable_cameras for cameras, and add the rejected --num_envs flag as a failure mode of the per-Run override scenario. Signed-off-by: Clemens Volk <[email protected]>
The remote policy and GR00T errors told users to pass --language_instruction, a policy_runner.py flag that the Experiment Runner rejects. Point them to environment_builder.language_instruction in the Run instead. Also describe CameraObsVideoRecorder without naming policy_runner.py as its caller, and name the GR00T config field rather than a flag in the Pi0RemotePolicyCfg TODO. Signed-off-by: Clemens Volk <[email protected]>
The rigid object set page said the Environment Runner takes --num_envs to show several set members side by side. The Environment Runner asserts a single environment, so point only to the Run field environment_builder.num_envs. Signed-off-by: Clemens Volk <[email protected]>
The Python environment catalog and the environment docstring point to gr1_table_multi_object_no_collision_experiment.yaml, but no test loaded it. Load it with and without the documented heterogeneous override and check that the environment's num_envs, which selects tiled cameras, equals environment_builder.num_envs. Signed-off-by: Clemens Volk <[email protected]>
The deformable pick-and-place and assembly backend checks told users to change --presets and --pick_object. The Experiment Runner rejects --presets, and the deformable page now runs the environment as a Run. Name the flag and the matching Run field in both messages. Signed-off-by: Clemens Volk <[email protected]>
policy_runner.py stays in v0.5 and is removed in v0.6. main() now emits a FutureWarning before it parses arguments, so --help and argument errors show it too. The message names experiment_runner.py, shows a command-line Run, and links the "Script entry points" section of the v0.5 migration guide. Test the warning in-process, like the --distributed warning, and share one SimulationAppContext stand-in between the three in-process tests. The --viz none and --distributed tests ignore the new warning. Signed-off-by: Clemens Volk <[email protected]>
Describe the script changes users must act on in v0.5: - External environments load only as Arena plugins. Show a minimal pyproject.toml, the @register_environment requirement and the scripts that lose --external_environment_class_path. - experiment_runner.py rejects the flags in _REMOVED_FLAG_REPLACEMENTS. The table lists the same 18 flags with their replacements. - osmo.submit_evaluation_workflow is removed. Map its options to submit_arena_experiment overrides, and list the record_camera_video default, the GR00T config path, plugin installation and the robolab script. - policy_runner.py is deprecated. Translate each flag to a Run field, including policy.device, environment.enable_cameras, num_envs in both places, the policy that --list_variations needs and the output layout. - Multi-GPU evaluation with --distributed, deprecated in PR 1459, was missing from the guides. Signed-off-by: Clemens Volk <[email protected]>
The run-experiment skill tells agents to turn a request to run the deprecated policy_runner.py into a command-line Run. Add a scenario that checks this: the agent says the script is deprecated, runs the same environment, policy and rollout limit with experiment_runner.py, and does not pass Policy Runner flags to it. Signed-off-by: Clemens Volk <[email protected]>
The fresh-process plugin test now also parses ["franka_table", "--object", "mug"] with get_isaaclab_arena_environments_cli_parser() and checks the config built from it. This covers the subcommand path that environment_runner.py uses to select a plugin environment. Signed-off-by: Clemens Volk <[email protected]>
_set_environment_builder_field() only returns the hint text that names the shared and per-Run overrides of an environment_builder field. Name it _environment_builder_field_hint() and document its argument. Signed-off-by: Clemens Volk <[email protected]>
experiment_runner.py stopped at the first group of bad arguments: a command with --num_envs 8 and a misspelled --headles named only --num_envs, and the user found the typo on the next attempt. _reject_unrecognized_arguments() now separates the removed flags and their values from the other leftover arguments, and reports both in one parser error: the replacement of each removed flag, then "Unrecognized arguments: ..." for the arguments that are not Hydra overrides. _REMOVED_FLAGS_WITHOUT_VALUE lists the removed switches, so a stray token after --mimic is reported instead of taken as its value. find_non_hydra_overrides() returns the offending tokens so the runner can combine the two messages; assert_hydra_overrides() uses it. Signed-off-by: Clemens Volk <[email protected]>
--list_variations prints each Run's variations and exits before any rollout, so it records no camera video. With --record_camera_video also set, the runner still stopped when a Run did not set environment.enable_cameras. Run the check only when Runs execute. Signed-off-by: Clemens Volk <[email protected]>
experiment_runner.py now has its own parser and builds Runs from typed configs, so it no longer uses arena_env_builder_cfg_from_argparse() or get_arena_builder_from_cli(). Its graph-YAML Runs still parse through get_isaaclab_arena_cli_parser() in legacy_graph_environment_cli.py, so that TODO names the graph-YAML builder instead. Signed-off-by: Clemens Volk <[email protected]>
The test set sys.argv to "experiment_runner.py --env_spec ..." while it built the graph environment, because the graph environment parser used to read sys.argv. parse_graph_environment_cli_args() now parses the Run's own arguments, and nothing in build_arena_builder_from_run_cfg() reads sys.argv, so the patch is no longer needed. The argv also named flags that experiment_runner.py rejects. Signed-off-by: Clemens Volk <[email protected]>
The GR00T e2e test ran the single-env and multi-env Runs in one Experiment Runner process, so both shared one GR00T_REMOTE_E2E_TIMEOUT budget, and the cold Isaac Sim start already takes most of it in CI. Parametrize the test over the two env counts instead. Each case writes one Run and starts its own Experiment Runner subprocess with the full timeout, as the two policy_runner tests did before. Signed-off-by: Clemens Volk <[email protected]>
evaluate_with_experiment_runner() sets its example_environment argument as the Run's environment.type. Call it environment_type and document the arguments and the returned Run statuses. Signed-off-by: Clemens Volk <[email protected]>
The OSMO Experiment Runner task test checked that the rendered command does not call policy_runner.py. The OSMO Policy Runner workflows are gone, so no OSMO code path can produce that command any more; the test already checks that the command calls experiment_runner.py. Signed-off-by: Clemens Volk <[email protected]>
submit_arena_experiment() submitted every DreamZero server workflow before it built the Experiment workflow. When the Experiment workflow then failed a check, such as a short osmo.exec_timeout or an unsafe Run name, the H100 server workflows were already queued. Render the Experiment workflow first, with tunnels to placeholder server workflow IDs, and submit the server workflows only after that. The placeholder ID now ends in the Run index instead of the Run name, because a Run name can hold characters that a workflow ID cannot. A dry-run still shows the placeholder IDs. Signed-off-by: Clemens Volk <[email protected]>
- submit_arena_experiment_from_file: timeout_s applies to each osmo workflow submit, and the return value is described as in submit_arena_experiment. - dreamzero_inference_server.yaml: the submit command does not cancel the server workflow; the Run's Experiment Runner task does. - _patch_osmo_workflow_submit: say which other commands run during a submission. Signed-off-by: Clemens Volk <[email protected]>
When OSMO_LOGIN_YAML_B64 is empty or not valid base64, the Run is recorded as failed, but the exit trap's osmo workflow cancel cannot authenticate either, so the server workflow runs until its exec timeout. The task log now names the server workflow and the command that cancels it, and the DreamZero page lists this case with the other cases that need a manual cancel. Signed-off-by: Clemens Volk <[email protected]>
_REMOVED_FLAGS_WITHOUT_VALUE was a second hand-kept table that had to stay a subset of _REMOVED_FLAG_REPLACEMENTS. Each entry of the new _REMOVED_FLAGS table now says whether the flag takes a value and names its replacement, and _split_removed_flags walks the arguments once without index arithmetic. The table docstring no longer says that --external_environment_class_path belongs to policy_runner.py or the shared parser. A new test checks the takes_value entries against the flags that the shared Arena parser still defines. Signed-off-by: Clemens Volk <[email protected]>
--list_variations exits before any rollout and records no video, but --record_camera_video and --record_viewport_video still set enable_cameras, so listing the variations started camera rendering for nothing. With --list_variations, camera rendering now starts only when a Run enables cameras. Signed-off-by: Clemens Volk <[email protected]>
- Python environment catalog: runs.<name> overrides add Runs only without --experiment_config; with a file, the Runs go in the file. - Policy concepts: runs.<name>.policy.device applies to a policy config with a device field, such as MyPolicyCfg. - v0.5 migration guide: name docker/external_project/install_package.sh with its path and link the external installation page. Signed-off-by: Clemens Volk <[email protected]>
Scenario 11 of the skill's evaluations expects the agent to say that policy_runner.py will be removed in v0.6, but SKILL.md only called it deprecated. Name the release, as the FutureWarning in policy_runner.py does, and tell the agent to say so. Signed-off-by: Clemens Volk <[email protected]>
Bind the camera-video and any-video conditions to named values before the checks that use them, and drop the test that compared the removed-flag table with argparse's private actions. Signed-off-by: Clemens Volk <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make
experiment_runner.pythe only evaluation entry point. Deprecatepolicy_runner.py, load environments from other packages only through Arena plugins, and move OSMO, docs, skills and tests to Experiments.Stacked on #1804: the first commit is a copy of it, applied onto main, and is dropped when #1804 merges.
Why this change?
Arena has two evaluation scripts.
policy_runner.pyevaluates one environment and policy from argparse flags.experiment_runner.pyruns typed Experiments, and since #1737 also Runs given on the command line. Keeping both means two ways to set the same values, two sets of docs and tests, and two OSMO submission paths.The Policy Runner was still the only way to evaluate an environment from another package (
--external_environment_class_path) and to run DreamZero on OSMO. #1804 lets an installed package register its environments throughisaaclab_arena.pluginsentry points, which removes the first reason.experiment_runner.pyalso parsed builder flags such as--num_envsand--seedand ignored them, so a user got the YAML values without an error.What changes?
policy_runner.pywarns with aFutureWarningthat it will be removed in v0.6 and names the replacement command.--external_environment_class_pathandimport_external_environment_factoryare removed. An environment from another package is installed as an Arena plugin. The examplefranka_table_environment.pynow registers itself with@register_environmentand@register_task. Arena declares no entry point for it: tests load it through a throwaway.dist-info, and the docs show the smallpyproject.tomlthat installs it.experiment_runner.pyhas its own parser. Before Isaac Sim starts, it rejects 18 flags of the shared parser and ofpolicy_runner.pyand names the override for each, for example--num_envs→shared.environment_builder.num_envs.--record_camera_videochecks that every Run setsenvironment.enable_cameras.osmo.submit_arena_experiment:submit_evaluation_workflow.pyand the policy-runner tasks and workflows are deleted.policy_server_osmo.*). That Run'sExperimentRunnerTasktunnels to it and cancels it when the Run ends.isaaclab_arena.visualization.plot_success_rates.record_camera_videois now opt-in, as inexperiment_runner.py.migration_guide_v0_5.rstgets a "Script entry points" section with the flag-to-override table.Breaking changes: the removed flag, the flags
experiment_runner.pynow rejects, the removed OSMO submit script and robolab helpers, and the OSMO camera video default. The migration guide covers each.Not in this PR: an error when a plugin registers a name that is already taken (it still warns and keeps the first), and renaming
test_gr00t_remote_closedloop_policy_runner.py, which would touchci.yml.Usage example
Before:
After:
Validation
pyproject.tomlin the container and ran the documented command-line Run onfranka_table. The Run completed, and uninstalling the package removed the environment.Not verified:
osmo-tokencredential. To check it, submitdroid_pnp_dreamzero_experiment.yamlwith one episode and confirm the server workflow is cancelled when the Run ends.