Repository navigation
Load typed experiments alongside external environments - #1594
Merged
Merged
Conversation
Signed-off-by: Bertrand Douillard <[email protected]>
Signed-off-by: Bertrand Douillard <[email protected]>
Signed-off-by: alex <[email protected]>
…ept page Signed-off-by: alex <[email protected]>
alexmillane
requested review from
cvolkcvolk,
peterd-NV,
qianl-nv,
viiik-inside,
xyao-nv and
zhx06
as code owners
November 4, 2026 15:38
Contributor
|
The review stopped before it finished. Please run |
Collaborator
Author
|
/review |
Contributor
|
The review stopped before it finished. Please run Requested in this comment. |
Contributor
[Medium impact] This PR appears safe to merge. SummaryTyped experiments can now load when an unrelated external environment has no typed config.
No actionable issues were found. Tests were not run during this review. Reviews (1) · Last reviewed commit: "Remove the typed environment discovery n..." · Reviewed by Greptile |
This was referenced Nov 4, 2026
alexmillane
force-pushed
the
alex/fix/typed_loader_external_envs
branch
from
November 4, 2026 15:59
68c4f54 to
680b9b8
Compare
xyao-nv
approved these changes
Nov 4, 2026
alexmillane
enabled stacked auto-merge (squash)
November 4, 2026 16:59
alexmillane
added a commit
that referenced
this pull request
Nov 6, 2026
Add the PerfLab benchmark Experiments in `isaaclab_arena_environments/performance/`, and their test plan in the internal developer docs. Replaces #1565 (merged into its base by mistake; review history is there). Stacked on #1594: merge that first. ## Why this change? The PerfLab Experiments and test plan from #1151 no longer run on main: the Python launcher, the Experiment fields and the timing files they use have all changed. ## What changes? - Seven single-Run Experiments in `performance/experiment_configs/`: camera-free, production-camera, Pi0.5, Cosmos, GR00T, same-object and mixed-object. The object workloads share one scene in `performance/scenes/` and differ only in their fruit list. - The test plan in `docs/pages/development_team_internal/perflab_benchmarks.rst`. - `test_performance_benchmark_configs.py` loads each Experiment with the plan's overrides and checks the result. ## Validation - `test_performance_benchmark_configs.py`: 9 passed. - Camera-free, same-object, mixed-object, production-camera and Pi0.5 pass the plan's trial checks on CPU with 1 environment. Not run: on GPU, Cosmos and GR00T. --------- Signed-off-by: Clemens Volk <[email protected]> Signed-off-by: alex <[email protected]> Co-authored-by: Clemens Volk <[email protected]>
cvolkcvolk
added a commit
that referenced
this pull request
Dec 2, 2026
Remove the handling of environments registered without a config. Since #1729, every environment is registered together with its config, so typed Experiments no longer need to skip any. ## Why this change? #1594 made `EnvironmentRegistry.get_environment_cfg_types()` skip environments without a config, because `--external_environment_class_path` and the Isaac Lab callback registered external environments without one. #1729 changed both to go through `import_external_environment_factory`, which registers the factory with its config, the same way `@register_environment` does for built-in environments. So the filter never skips anything, and the assert in `_registered_environment_cfg_type` can't fail. `test_typed_experiment_ignores_unconfigured_external_environment` only covers states that the test itself creates with plain `register()` calls. ## What changes? - `EnvironmentRegistry.get_environment_cfg_types()` returns the config type of every registered environment, keyed by name. - `_registered_environment_cfg_type` in `isaaclab_arena_environments/cli.py` reads the config type directly. - `test_typed_experiment_ignores_unconfigured_external_environment` is removed. Signed-off-by: Clemens Volk <[email protected]>
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.
Load typed Experiments when an unrelated environment without a config is registered. Copy of #1379 by @bdou0716, merged with
main.Fixes #1580.
Why this change?
_registered_environment_cfg_types()asserts that every registered environment has a config.--external_environment_class_pathor the Isaac Lab callback have none, so loading any typed Experiment in the same process fails with "must register a config".test_external_environment.pyleavesfranka_tableregistered, and later loader tests fail.What changes?
EnvironmentRegistry.get_environment_cfg_types(), which returns only the environments that registered a config._registered_environment_cfg_types()uses it. Selecting an environment without a config still fails, with "unknown environment type".Validation
test_typed_experiment_ignores_unconfigured_external_environment.