• Özhan Özen's avatar
    Adds support for custom `ProgressReporter` to Ray integration (#3269) · 4049aa8d
    Özhan Özen authored
    # Description
    
    This PR adds support for providing a custom `ProgressReporter` while
    doing hyperparameter tuning with Ray Integration.
    
    Without the PR, the Ray integration defaults to the standard
    `CLIReporter`, which often displays metrics that aren’t particularly
    relevant or at the desired frequency. Similar to how we allow users to
    specify a --cfg_class (e.g., `CartpoleTheiaJobCfg`), this PR lets them
    optionally provide a custom `ProgressReporter` class. If such is not
    provided, it falls back to the default.
    
    Moreover, I have added an example inside `vision_cartpole_cfg.py` (i.e.,
    `CustomCartpoleProgressReporter`).
    
    One point to highlight is that the new "[context-aware progress
    reporting](https://github.com/ray-project/ray/issues/36949)" conflicts
    with custom `ProgressReporter`, so if a custom `ProgressReporter` is
    provided, the PR disables the context-aware progress reporting.
    
    Fixes #3268.
    
    ## 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
    
    ---------
    Co-authored-by: 's avatargarylvov <67614381+garylvov@users.noreply.github.com>
    4049aa8d
Name
Last commit
Last update
.github Loading commit data...
.vscode Loading commit data...
apps Loading commit data...
docker Loading commit data...
docs Loading commit data...
scripts Loading commit data...
source Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.flake8 Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.pre-commit-config.yaml Loading commit data...
CITATION.cff Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS.md Loading commit data...
LICENSE Loading commit data...
LICENSE-mimic Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
VERSION Loading commit data...
environment.yml Loading commit data...
greptile.json Loading commit data...
isaaclab.bat Loading commit data...
isaaclab.sh Loading commit data...
pyproject.toml Loading commit data...
pytest.ini Loading commit data...