Published October 26, 2026
| Version v2.9.2
Software
Open
DLR-RM/stable-baselines3: v2.9.2: Bug fixes and doc improvements
Authors/Creators
- Antonin RAFFIN1
- Quentin Gallouédec2
- Noah Dormann
- Adam Gleave3
- Anssi4
- Alex Pasquali5
- Juan Rocamonde
- M. Ernestus
- Patrick Helm
- Corentin6
- Thomas Simonini2
- Hugo7
- Tobias Rohrer8
- Sidney Tio9
- Rohan Tangri
- Mark Towers10
- Jonathan Coletti
- Tom Dörr
- Jacopo Panerati
- unexploredtest
- Wilson Jallet
- Steven H. Wang
- Sam Toyer
- SD
- Roland Gavrilescu
- Paul Maria Scheikl
- Parth Kothari
- Chris Schindlbeck11
- Bernhard Raml12
- 1. @DLR-RM
- 2. @huggingface
- 3. @AlignmentResearch
- 4. @facebookresearch
- 5. Tesla
- 6. InstaDeep
- 7. University of Edinburgh
- 8. Fraunhofer Institute for Solar Energy Systems (ISE)
- 9. Singapore Management University
- 10. Anyscale
- 11. Lynqtech
- 12. TU-Vienna
Description
[!WARNING] Stable-Baselines3 (SB3) v2.9.2 will be the last one supporting Python 3.10 (end of life in October 2026) We highly recommended you to upgrade to Python >= 3.11.
SB3 Contrib (more algorithms): https://github.com/Stable-Baselines-Team/stable-baselines3-contrib RL Zoo3 (training framework): https://github.com/DLR-RM/rl-baselines3-zoo Stable-Baselines Jax (SBX): https://github.com/araffin/sbx
To upgrade:
pip install stable_baselines3 sb3_contrib rl_zoo3 --upgrade
Bug Fixes:
- Fixed file descriptor leak in
SubprocVecEnv.close()by closing parent-side pipes to prevent "too many open files" errors in long-running loops - Fixed Pandas deprecation warnings on
inplaceoperations
SB3-Contrib
- Upgraded to Stable-Baselines3 >= 2.9.2
RL Zoo
- Set
learning_startsto 500 forparking-v0in TQC hyperparameters to ensure the first episode is finished - Fixed "too many open files" issue when doing hyperparameter optimization: the trial environments are now closed in a
finallyblock andgc_after_trial=Trueis passed to Optuna to free them between trials (also needs latest SB3 master version to fully work) - Set
use_expln=Truefor pybullet envs when using gSDE to avoid NaNs - Add a note regarding pybullet source installation error on macOS due to legacy code
- Migrate packaging setup from
setup.pytopyproject.tomland integraterequirements.txtas a new extra
SBX (SB3 + Jax)
- Updated Jax dependency version range
Deprecations:
Others:
- Fixed moviepy test compatibility with moviepy >= 2.0 (PyTorch doesn't support it yet)
- Added filter for numpy
newshapedeprecation warning from torch tensorboard - Fixed mypy error in test_vec_envs.py by wrapping
itertools.productwithlist() - Improved tests coverage for RMSpropTFLike optimizer (invalid params, centered/momentum/weight_decay branches, pickle roundtrip)
- Improved test coverage for
save_util.py: added tests forBadZipFileerror handling inload_from_zip_fileandIsADirectoryError/FileNotFoundErrorhandling inopen_path - Fixed Docker build by adding the missing
--systemflag touv pip uninstall opencv-python(required by recentuv) - Added a warning when
n_steps > 1is passed together with a customreplay_buffer_class, asn_stepsis only applied when the replay buffer class is selected automatically (@Koustav-github) - Updated tests dependencies
Documentation:
- Clarified in the
n_stepsdocstring that it only applies whenreplay_buffer_classisNone, and that a custom replay buffer must be configured withreplay_buffer_kwargs={"n_steps": ..., "gamma": ...}(@Koustav-github) - Updated algorithm table (added the ones from SBX and sorted the table)
- Fixed typos, grammar, and Gymnasium API inconsistencies across documentation
New Contributors
- @nikolauspschuetz made their first contribution in https://github.com/DLR-RM/stable-baselines3/pull/2272
- @Koustav-github made their first contribution in https://github.com/DLR-RM/stable-baselines3/pull/2275
Full Changelog: https://github.com/DLR-RM/stable-baselines3/compare/v2.9.0...v2.9.2
Files
DLR-RM/stable-baselines3-v2.9.2.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/DLR-RM/stable-baselines3/tree/v2.9.2 (URL)
Software
- Repository URL
- https://github.com/DLR-RM/stable-baselines3