Update skrl's agent configurations in the Isaac Lab template#5817
Conversation
Greptile SummaryThis PR updates the Isaac Lab template skrl agent configuration files (AMP, IPPO, MAPPO) to align with the current skrl API, renaming and restructuring preprocessor and reward-scale fields.
Confidence Score: 5/5Safe to merge — all three template configs are updated to match the new skrl API and are already consistent with the actual task-level YAML configs in the repo. Every changed field in all three templates was cross-validated against both the skrl documentation and the existing production task configs (skrl_walk_amp_cfg.yaml, cart_double_pendulum skrl_mappo/ippo_cfg.yaml, shadow_hand_over skrl_mappo_cfg.yaml). The value model input change in MAPPO from OBSERVATIONS to STATES is semantically correct for the centralized-critic design. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph AMP["skrl_amp_cfg (AMP agent)"]
A1[observation_preprocessor: RunningStandardScaler]
A2[state_preprocessor: null]
A3[amp_observation_preprocessor: RunningStandardScaler]
A4[task_reward_scale: 0.0]
A5[style_reward_scale: 2.0]
end
subgraph IPPO["skrl_ippo_cfg (IPPO agent)"]
B1[observation_preprocessor: RunningStandardScaler]
B2[state_preprocessor: null]
B3[value_preprocessor: RunningStandardScaler]
end
subgraph MAPPO["skrl_mappo_cfg (MAPPO agent)"]
C1[Policy model: input=OBSERVATIONS]
C2[Value model: input=STATES]
C3[observation_preprocessor: RunningStandardScaler]
C4[state_preprocessor: RunningStandardScaler]
end
AMP -->|"Renamed from state_preprocessor"| A1
AMP -->|"Renamed from amp_state_preprocessor"| A3
AMP -->|"Renamed from task/style_reward_weight"| A4
IPPO -->|"Renamed from state_preprocessor"| B1
MAPPO -->|"Changed from OBSERVATIONS"| C2
MAPPO -->|"Added; removed shared_state_preprocessor"| C3
Reviews (1): Last reviewed commit: "Update skrl's agents configurations in t..." | Re-trigger Greptile |
# Description Merge changes from main branch: - #4875 - Adds Isaac-Stack-Cube-Franka-IK-Rel-v0 task variants - #4909 - Updates minor RSL-RL configclass docstring - #4934 - Updates Newton docs on main for 3.0 beta changes - #5182 - Fix flatdict version pin to allow 4.1.0+ - #5195 - Add NCCL troubleshooting notes - #5406 - Updates doc building job on main to match develop - #5311 - Update skrl integration for version 2.0.0 - #5482 - Adds nightly-changelog.yml on main - #5527 - Use isaaclab-bot GitHub App token for nightly changelog push - #5537 - Address deprecation warnings in nightly changelog workflow - #5746 - Fix .dockerignore for _isaac_sim symlink - #5745 - Parameterize nightly compile over configurable branches - #5546 - Fix swapped preserve_order docstrings - #5817 - Update skrl agent configurations in the Isaac Lab template
# Description Merge changes from main branch: - isaac-sim#4875 - Adds Isaac-Stack-Cube-Franka-IK-Rel-v0 task variants - isaac-sim#4909 - Updates minor RSL-RL configclass docstring - isaac-sim#4934 - Updates Newton docs on main for 3.0 beta changes - isaac-sim#5182 - Fix flatdict version pin to allow 4.1.0+ - isaac-sim#5195 - Add NCCL troubleshooting notes - isaac-sim#5406 - Updates doc building job on main to match develop - isaac-sim#5311 - Update skrl integration for version 2.0.0 - isaac-sim#5482 - Adds nightly-changelog.yml on main - isaac-sim#5527 - Use isaaclab-bot GitHub App token for nightly changelog push - isaac-sim#5537 - Address deprecation warnings in nightly changelog workflow - isaac-sim#5746 - Fix .dockerignore for _isaac_sim symlink - isaac-sim#5745 - Parameterize nightly compile over configurable branches - isaac-sim#5546 - Fix swapped preserve_order docstrings - isaac-sim#5817 - Update skrl agent configurations in the Isaac Lab template
Description
Update skrl's agent configurations in the Isaac Lab template
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there