Skip to content

Conversation

@alessandroassirelli98
Copy link
Contributor

Description

Added max_grad_norm field to RslRlDistillationAlgorithmCfg in order to be compatible with leggedrobotics/rsl_rl#91

Type of change

  • New feature (non-breaking change which adds functionality)

Screenshots

N/A

Checklist

  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@Mayankm96 Mayankm96 requested a review from ClemensSchwarke May 14, 2025 13:38
@Mayankm96
Copy link
Contributor

Mayankm96 commented May 14, 2025

@ClemensSchwarke This also requires bumping rsl-rl to 2.3.2.

@alessandroassirelli98 You'd need to also update the version of rsl-rl in setup.py in isaaclab_rl extension

"""The number of environment steps the gradient flows back."""

max_grad_norm: None | float = None
"""The maximum gradient norm used for distillation"""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""The maximum gradient norm used for distillation"""
"""The maximum norm the gradient is clipped to."""

@Mayankm96 Mayankm96 changed the title Feature/distillation grad clip Adds gradient clipping parameter for distillation using RSL-RL May 18, 2025
@Mayankm96 Mayankm96 added the enhancement New feature or request label May 18, 2025
@ClemensSchwarke ClemensSchwarke requested a review from Mayankm96 May 22, 2025 09:46
@Mayankm96
Copy link
Contributor

The pre-commit check is failing. Could you please run ./isaaclab.sh -f to fix this?

@alessandroassirelli98
Copy link
Contributor Author

yeah sorry, missed an indent 😅

@Mayankm96 Mayankm96 merged commit dbaf0d2 into isaac-sim:main Jun 2, 2025
3 of 4 checks passed
fan-ziqi pushed a commit to fan-ziqi/IsaacLab that referenced this pull request Jun 5, 2025
…-sim#2454)

# Description

Added `max_grad_norm` field to `RslRlDistillationAlgorithmCfg` in order
to be compatible with leggedrobotics/rsl_rl#91

## Type of change

- New feature (non-breaking change which adds functionality)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Mayank Mittal <[email protected]>
Co-authored-by: alessandro.assirelli <[email protected]>
Co-authored-by: Mayank Mittal <[email protected]>
yrh012 pushed a commit to aica-technology/isaac-lab that referenced this pull request Jun 16, 2025
…-sim#2454)

# Description

Added `max_grad_norm` field to `RslRlDistillationAlgorithmCfg` in order
to be compatible with leggedrobotics/rsl_rl#91

## Type of change

- New feature (non-breaking change which adds functionality)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Mayank Mittal <[email protected]>
Co-authored-by: alessandro.assirelli <[email protected]>
Co-authored-by: Mayank Mittal <[email protected]>
harry-wf-cheung pushed a commit to harry-wf-cheung/IsaacLab-Harry that referenced this pull request Jul 30, 2025
…-sim#2454)

# Description

Added `max_grad_norm` field to `RslRlDistillationAlgorithmCfg` in order
to be compatible with leggedrobotics/rsl_rl#91

## Type of change

- New feature (non-breaking change which adds functionality)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: Mayank Mittal <[email protected]>
Co-authored-by: alessandro.assirelli <[email protected]>
Co-authored-by: Mayank Mittal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants