Repository navigation
Reduce GearAssembly default environment count - #7215
Conversation
Greptile SummaryThe PR lowers every GearAssembly variant’s default parallel environment count to 1024 and adds regression coverage for all six configurations. It also introduces shared task-discovery utilities, integrates declared task discovery into environment documentation generation, and expands lightweight CI coverage.
Confidence Score: 5/5The PR appears safe to merge because no concrete changed-code failure remains after reviewing the configuration and task-discovery paths. The GearAssembly variants consistently inherit the new tested default, while the discovery and documentation changes preserve the relevant registry filtering and declared-preset contracts without an established reachable regression. Important Files Changed
Reviews (1): Last reviewed commit: "Reduce GearAssembly default environment ..." | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
The GearAssembly default reduction is internally consistent, but this focused configuration fix also includes a substantial, unrelated task-discovery and documentation-tooling feature that should be separated before merge.
- Design and architecture: The shared GearAssembly default of 1024 and removal of the UR10e override provide a coherent single-source configuration for all six variants. However, adding the 366-line task-discovery module, rewiring environment documentation, and changing tools CI materially expands the architecture, review scope, and revert surface beyond the stated fix, contrary to the repository’s smallest-change guidance.
- API: The GearAssembly environment-count setting remains user-overridable, and the reviewed tooling changes retain the existing
is_training_taskimport surface. The concern is not an identified API break but bundling an independent tooling feature with the configuration correction. - Implementation: The GearAssembly implementation, regression coverage, and changelog align with the requested default change. Move the task-discovery module, environment-documentation integration, associated tests, and workflow edits into a separate focused pull request.
Significant concerns. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| @@ -0,0 +1,366 @@ | |||
| # Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md). | |||
There was a problem hiding this comment.
🟡 Warning · Design Architecture — Unrelated tooling feature bundled with defaults fix
The stated change is lowering GearAssembly num_envs, which needs only the env cfg, the UR10e override removal, the test and the changelog. This diff also adds a 366-line discovery module, rewires tools/environ_docs.py onto it, and edits the tools CI workflow. Repository guidelines require the smallest change and focused commits; splitting the tooling work into its own pull request keeps the default change independently reviewable and revertable.
6b28a64 to
4b47b22
Compare
## Summary Cherry-picks the following merged PRs from `develop` onto `release/3.0.0`, preserving each as an individual commit with `-x` provenance: - #7193 — Bake CI pytest deps into the built Docker image - #7077 — Add OVPhysX support to Franka deformable lift tasks - #7175 — Raise on unsupported camera renderer outputs - #7174 — Fix benchmark play inference scope - #7173 — Report resolved backend for play benchmarks - #7172 — Add video recording to play benchmarks - #7215 — Reduce GearAssembly default environment count - #7214 — Remove Kamino preset from open drawer - #7213 — Fix OvPhysX scene gravity randomization - #7212 — Fix OVPhysX material binding device selection - #7189 — Make preview surfaces renderer agnostic - #7206 — Fix OVPhysX benchmark articulation setup All cherry-picks and the final rebase onto the latest `release/3.0.0` tip completed without conflicts. ## Validation - Verified all 12 backported commits have patch IDs identical to their source squash commits and retain their `cherry picked from` footers. - `git diff --check upstream/release/3.0.0..HEAD` - Bash syntax validation for the modified CI shell scripts. - YAML parsing for the modified composite actions. - Changelog validation against `release/3.0.0`. - Targeted pytest coverage for benchmark APIs/play, video recording, GearAssembly defaults, OVPhysX presets and runtime semantics, and renderer-agnostic materials: **81 passed, 4 skipped, 1 deselected**. - The deselected case is an unchanged test that hard-codes a POSIX `/tmp` path and fails on Windows path normalization. - `uv run isaaclab -f` passed all hooks except the changelog hook's known release-branch baseline finding for `source/isaaclab/changelog.d/core-test-config-fixtures.skip`; the targeted release-base changelog check passed. --------- Co-authored-by: Matthew Taylor <[email protected]> Co-authored-by: Antoine RICHARD <[email protected]> Co-authored-by: Mike Yan Michelis <[email protected]> Co-authored-by: Maximilian Krause <[email protected]> Co-authored-by: Octi Zhang <[email protected]> Co-authored-by: Mustafa H <[email protected]>
Summary
Motivation
The recurrent PPO critic can OOM during an LSTM update at the previous task defaults despite successful simulation rollout. The new default avoids advertising a configuration that exceeds typical development GPU memory; users can still override it with
--num_envs.Validation
uv run --extra test --frozen python -m pytest source/isaaclab_tasks/test/contrib/test_gear_assembly_env_cfg.py -q(6 passed)uv run --frozen isaaclab -fuv run --extra test --frozen python tools/changelog/cli.py check developChecklist
source/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.md