Skip to content

CHORE: Add benchmark extra#12

Open
tomzhengy wants to merge 1 commit intoSynthesisLab:mainfrom
tomzhengy:benchmark-extra
Open

CHORE: Add benchmark extra#12
tomzhengy wants to merge 1 commit intoSynthesisLab:mainfrom
tomzhengy:benchmark-extra

Conversation

@tomzhengy
Copy link
Copy Markdown

@tomzhengy tomzhengy commented Apr 29, 2026

Related to JOSS review openjournals/joss-reviews#10470


  1. compare_sb3.py imports stable_baselines3, but the default project environment does not install that benchmark dependency.

    I added a dedicated benchmark optional extra and updated the README benchmark command:

    uv sync --extra benchmark
    uv run python compare_sb3.py
  2. I kept benchmark out of the broad all extra so routine .[all] installs do not pull in SB3/Torch unless the benchmark is explicitly requested.

I checked this locally with uv sync --extra all and confirmed stable_baselines3 was not installed, then ran uv sync --extra benchmark and confirmed stable_baselines3, matplotlib, and seaborn import successfully.

Please edit this PR and/or clarify if needed!

@tomzhengy tomzhengy marked this pull request as ready for review April 29, 2026 23:06
@tomzhengy tomzhengy changed the title chore: add benchmark extra CHORE: Add benchmark extra Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant