Repository navigation
Frlai/improve leapp export - #7326
Conversation
Greptile SummaryThis PR upgrades the optional LEAPP dependency to 0.6.1 and enriches exports with policy-frequency metadata and the originating environment configuration.
Confidence Score: 5/5The PR appears safe to merge, with no concrete changed-code failure identified. The frequency calculation matches the canonical policy step period for both supported environment families, all exporters apply the same artifact contract, and the updated integration tests validate metadata-to-environment parity. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
C[Environment configuration] --> F[Compute frequency from sim.dt × decimation]
F --> G[LEAPP GraphConfigs]
P[Policy checkpoint] --> E[RL-specific exporter]
G --> E
E --> L[Compile LEAPP graph]
L --> A[Model and graph artifacts]
C --> Y[Write env.yaml]
Y --> A
A --> D[Downstream deployment]
Reviews (1): Last reviewed commit: "bumped pinned leapp version to 0.6.1, le..." | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
Reviewed the LEAPP 0.6.1 integration, including policy-frequency metadata, bundled environment configuration, all four RL export backends, documentation, release metadata, and export-flow tests. The changed producer and artifact paths are consistent across backends.
- Design and architecture: Policy frequency is derived centrally from the environment control period (
sim.dt * decimation) and passed through the existing deferred-import structure used by the RSL-RL, RL-Games, skrl, and SB3 exporters. Each backend writesenv.yamlinto the same graph-specific artifact directory, keeping the bundle layout uniform. - API: No existing Isaac Lab CLI option or export artifact is removed or renamed. The LEAPP dependency is pinned to 0.6.1 to match the newly used graph configuration API, while the new frequency metadata and
env.yamlartifact are documented and included in the package changelog. - Implementation: The graph configuration and environment dump are wired into all four compile paths using the same
env_cfg,save_path, andgraph_name. Integration assertions verify that both artifacts exist and that the graph frequency matches1 / (sim.dt * decimation), including the direct-environment RSL-RL path.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
kellyguo11
left a comment
There was a problem hiding this comment.
@StafaH do you mind checking on the uv.lock changes?
StafaH
left a comment
There was a problem hiding this comment.
Thanks for the PR @frlai. I left a comment about moving the logic in a follow up PR, but on that note, we have also been migrating everyone to move logic to uv run isaaclab. Currently you can do:
uv run isaaclab train <rest of args>
uv run isaaclab benchmark startup <rest of args>
uv run isaaclab teleop record <rest of args>
Might be time to add leapp export, wdyt?
uv run isaaclab export <rest of args>
This would require 1) moving logic to isaaclab_rl and 2) getting hooked up correctly to cli.py
… graph frequency and also dumps the isaac lab env.yaml for convenience.
27a4204 to
91b115e
Compare
|
@StafaH if this looks good can you approve it? we can discuss the migration it isaaclab_rl separately. |
|
run-ci |
|
run-ci |
|
run-ci |
|
Backported to |
# Description Small additive updates for leapp. 1. Pins the leapp version to latest 0.6.1 which improves robustness for slicing operations. Previously this wasn't supported but now new features should automatically enable more types of operations. 2. Adds graph level expected frequency to leapp yaml. This change helps downstream deployment set default frequency based on training configs. 3. Adds the Isaac Lab env.yaml to the exported leapp bundle for convenience. Isaac sim 6.2 will add leapp controller features. the env.yaml is required to set things up. This will make porting the policy and its environment much more convenient. ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - New feature (non-breaking change which adds functionality) - Documentation update ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> (cherry picked from commit b182de0)
Description
Small additive updates for leapp.
Type of change
Release backport
developChecklist
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