Repository navigation
Remove RSL-RL policy scoring and restore ANYmal PPO defaults - #9218
AntoineRichard wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Compatibility and deprecation (3). Other reviewed categories look good.
- PR description: The title and body match the scoring removal and default restoration; reported focused tests, formatting, Sphinx, and changelog checks cover that scope, explicitly exclude simulation/GPU validation, and make no performance claim.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: Breaking changes: --evaluate, score_policy, neural action clipping, and the neural experiment default lose their prior contracts; preserve them through deprecation with targeted warnings, migration and removal guidance, and transition tests.
- Implementation: Implementation looks good.
- Style consistency: Style consistency looks good.
- Test quality: Test quality looks good.
Significant concerns. Posted 3 inline findings.
Automated review; human maintainers own approval decisions.
| parser.add_argument( | ||
| "--external_callback", default=None, help="Fully qualified path to an externally defined callback." | ||
| ) | ||
| parser.add_argument( |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Deprecate scoring before removal
Documented --evaluate commands now fail parsing, and score_policy callers lose the function. Keep both functional through deprecation with targeted warnings, migration and removal guidance, and old/new path tests.
| self.experiment_name = preset(default="anymal_c_flat", newton_nerd="anymal_c_flat_nerd") | ||
| # Under physics=newton_nerd the task clips its joint targets to the range the model was recorded on. Clipping | ||
| # the actions to the same range lets the policy observe the action that was applied. | ||
| self.clip_actions = preset(default=self.clip_actions, newton_nerd=ANYMAL_C_NERD_TARGET_REACH / 0.5) |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Transition neural action clipping
Removing the newton_nerd override changes the agent's action bound while deployment still clips joint targets. Preserve the prior default through deprecation with a targeted warning, explicit override guidance, and transition tests.
| # Under physics=newton_nerd the task clips its joint targets to the range the model was recorded on. Clipping | ||
| # the actions to the same range lets the policy observe the action that was applied. | ||
| self.clip_actions = preset(default=self.clip_actions, newton_nerd=ANYMAL_C_NERD_TARGET_REACH / 0.5) | ||
| self.experiment_name = "anymal_c_flat" |
There was a problem hiding this comment.
🟡 Warning · Compatibility — Transition the neural experiment default
physics=newton_nerd now selects anymal_c_flat instead of anymal_c_flat_nerd, changing run and checkpoint lookup. Preserve the prior selection through deprecation with a targeted warning, explicit override guidance, and transition tests.
[Medium impact] The PR appears safe to merge. SummaryRemoves unreleased RSL-RL policy scoring and restores ANYmal C flat PPO defaults.
Acknowledged intent: AntoineRichard explicitly requests removal of policy scoring, restoration of the concrete experiment name and inherited clipping, and preservation of existing changelog fragments. Reviews (1) · Last reviewed commit: "Remove RSL-RL policy scoring and restore..." · Reviewed by Greptile |
Description
Remove the RSL-RL
play --evaluatemode introduced in #9200 so general policy scoring can be designed and reviewed independently of neural dynamics integration. This removesscore_policy, its CLI option and execution branch, the dedicated evaluator test, and the dependent guide/README content.Restore the ANYmal C flat PPO agent configuration to its exact contents before #9200: the concrete
anymal_c_flatexperiment name and inherited action clipping. The retained neural workflow test continues to check recording/deployment target bounds without coupling them to PPO settings.Pending changelog entries remain immutable under the repository's changelog gate; new fragments record these removals and restored defaults.
Type of change
Validation
uv run --active --no-sync isaaclab --format).origin/mainandgit diff --check: passed.Tests used current-worktree source imports with the pinned RSL-RL 6.0.0.1 package and the optional skrl dependency. Existing Torch and legacy-material deprecation warnings remain. No simulation/GPU tests were run.
Checklist