• Mayank Mittal's avatar
    Loads actuator networks in eval() mode to prevent gradients (#1862) · 207566b1
    Mayank Mittal authored
    # Description
    
    Previously, the actuator networks were loaded using `torch.jit.load`,
    however, they weren't set to eval mode. This meant that gradient
    computation occurred in the background which is not desired. This MR
    fixes this issue.
    
    ## Type of change
    
    - Bug fix (non-breaking change which fixes an issue)
    
    ## Checklist
    
    - [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
    - [ ] I have added tests that prove my fix is effective or that my
    feature works
    - [x] 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
    207566b1
extension.toml 727 Bytes