Repository navigation
Fix GearAssembly UR10e env count - #5843
kellyguo11 merged 1 commit into
Conversation
Lower the default UR10e GearAssembly scene size to 2048 environments so the newly enabled training tasks fit on 16 GB GPUs. Add a regression test for the registered task defaults.
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
PR #5843: Fix GearAssembly UR10e env count
Summary
This PR reduces the default environment count for UR10e GearAssembly tasks from 4096 to 2048 to fit on 16GB GPUs.
Analysis
| Category | Status | Notes |
|---|---|---|
| Architecture/Design | ✅ | Correct pattern - setting num_envs in __post_init__ after super().__post_init__() |
| Implementation | ✅ | Clean, minimal change |
| Test Coverage | ✅ | Regression tests added for both UR10e variants |
| Documentation | ✅ | Changelog fragment included |
Findings: 0 issues
Verdict: LGTM 👍
The implementation follows Isaac Lab patterns correctly:
- Override in
__post_init__after parent initialization - Proper regression tests using
pytest.mark.parametrize - Changelog fragment properly formatted
Optional Enhancement
Consider adding a brief inline comment explaining the GPU memory constraint:
# 2048 envs fits on 16GB GPUs (default 4096 exhausts VRAM)
self.scene.num_envs = 2048Automated review by Isaac Lab Review Bot
Greptile SummaryThis PR fixes GPU OOM on 16 GB cards by lowering the default environment count for the two UR10e GearAssembly rsl_rl training configs from 4096 (inherited from the parent
Confidence Score: 5/5Safe to merge. The change is a single-line override of a numeric config field, verified by a new parametrized test and a smoke run on the target hardware. The fix is minimal and well-contained: one line sets num_envs in the shared UR10e base class, the play-mode subclasses already override to 50 so they are unaffected, and the new regression test directly catches any future reversion of this value. The PR description documents hardware-verified smoke testing on a 16 GB GPU. No files require special attention. Important Files Changed
Class Diagram%%{init: {'theme': 'neutral'}}%%
classDiagram
class GearAssemblyEnvCfg {
+scene: GearAssemblySceneCfg
+scene.num_envs = 4096
}
class UR10eGearAssemblyEnvCfg {
+__post_init__()
+scene.num_envs = 2048
}
class UR10e2F140GearAssemblyEnvCfg {
+__post_init__()
}
class UR10e2F85GearAssemblyEnvCfg {
+__post_init__()
}
class UR10e2F140GearAssemblyEnvCfg_PLAY {
+__post_init__()
+scene.num_envs = 50
}
class UR10e2F85GearAssemblyEnvCfg_PLAY {
+__post_init__()
+scene.num_envs = 50
}
GearAssemblyEnvCfg <|-- UR10eGearAssemblyEnvCfg
UR10eGearAssemblyEnvCfg <|-- UR10e2F140GearAssemblyEnvCfg
UR10eGearAssemblyEnvCfg <|-- UR10e2F85GearAssemblyEnvCfg
UR10e2F140GearAssemblyEnvCfg <|-- UR10e2F140GearAssemblyEnvCfg_PLAY
UR10e2F85GearAssemblyEnvCfg <|-- UR10e2F85GearAssemblyEnvCfg_PLAY
Reviews (1): Last reviewed commit: "Fix GearAssembly UR10e env count" | Re-trigger Greptile |
…nt training fixes from develop (#5855) # Description Cherry pick fixes from the develop branch: - #5805 - #5786 - #5787 - #5793 - #5831 - #5853 - #5841 - #5843 --------- Signed-off-by: sameerchavan0027 <[email protected]> Co-authored-by: Antoine RICHARD <[email protected]> Co-authored-by: hujc <[email protected]> Co-authored-by: sameerchavan0027 <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Description
Lower the default scene size for the UR10e Deploy GearAssembly training configs from 4096 to 2048 environments. These newly enabled rsl_rl tasks were exhausting GPU memory at the inherited default; 2048 was smoke-tested on a 16 GB RTX 5000 Ada laptop GPU.
No new dependencies are required.
Fixes # (none)
Verification:
./isaaclab.sh -p -m pytest source/isaaclab_tasks/test/test_deploy_gear_assembly_cfg.py4096instead of2048.Isaac-Deploy-GearAssembly-UR10e-2F140-v0andIsaac-Deploy-GearAssembly-UR10e-2F85-v0onNVIDIA RTX 5000 Ada Generation Laptop GPU, 16376 MiB../isaaclab.sh -fbefore commit and again after commit.Type of change
Screenshots
N/A
Checklist
pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bumpextension.toml— CI handles that)CONTRIBUTORS.mdor my name already exists there