chore(deps): bump stable-baselines3 from 2.4.1 to 2.6.0
Merged
Number: #28
Type: Pull Request
State: Merged
Type: Pull Request
State: Merged
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
June 16, 2025 at 04:08 AM UTC
(about 1 year ago)
(about 1 year ago)
Updated:
June 26, 2025 at 05:51 AM UTC
(12 months ago)
(12 months ago)
Merged:
June 26, 2025 at 05:51 AM UTC
(12 months ago)
by mooncitydev
(12 months ago)
by mooncitydev
Time to Close:
10 days
Labels:
dependencies python
dependencies python
Description:
Bumps stable-baselines3 from 2.4.1 to 2.6.0.
Release notes
Sourced from stable-baselines3's releases.
v2.6.0: New
LogEveryNTimestepscallback andhas_attrmethod, refactored hyperparameter optimizationSB3 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 --upgradeNew Features:
- Added
has_attrmethod forVecEnvto check if an attribute exists- Added
LogEveryNTimestepscallback to dump logs every N timesteps (note: you need to passlog_interval=Noneto avoid any interference)- Added Gymnasium v1.1 support
Bug fixes:
SubProcVecEnvwill now exit gracefully (without big traceback) when usingKeyboardInterruptSB3-Contrib
- Renamed
_dump_logs()todump_logs()- Fixed issues with
SubprocVecEnvandMaskablePPOby usingvec_env.has_attr()(pickling issues, mask function not present)RL Zoo
- Refactored hyperparameter optimization. The Optuna Journal storage backend is now supported (recommended default) and you can easily load tuned hyperparameter via the new
--trial-idargument oftrain.py.- Save the exact command line used to launch a training
- Added support for special vectorized env (e.g. Brax, IsaacSim) by allowing to override the
VecEnvclass use to instantiate the env in theExperimentManager- Allow to disable auto-logging by passing
--log-interval -2(useful when logging things manually)- Added Gymnasium v1.1 support
- Fixed use of old HF api in
get_hf_trained_models()SBX (SB3 + Jax)
- Updated PPO to support
net_arch, and additional fixes- Fixed entropy coeff wrongly logged for SAC and derivatives.
- Fixed PPO
predict()for env that were not normalized (action spaces with limits != [-1, 1])- PPO now logs the standard deviation
Deprecations:
algo._dump_logs()is deprecated in favor ofalgo.dump_logs()and will be removed in SB3 v2.7.0Others:
- Updated black from v24 to v25
- Improved error messages when checking Box space equality (loading
VecNormalize)- Updated test to reflect how
set_wrapper_attrshould be used nowDocumentation:
- Clarify the use of Gym wrappers with
make_vec_envin the section on Vectorized Environments (@pstahlhofen)- Updated callback doc for
EveryNTimesteps- Added doc on how to set env attributes via
VecEnvcalls- Added ONNX export example for
MultiInputPolicy(@darkopetrovic)
... (truncated)
Commits
ea913a8Release v2.6.0 (#2109)656de97Add ONNX export example forMultiInputPolicy(#2098)55d6f18Add support for Gymnasium v1.1.0 (#2095)fa21bceClarifying the documentation for custom env using images as observations (#2085)8c78653AddLogEveryNTimestepscallback (#2083)c5c29a3Clarify the use of Gym wrappers withmake_vec_env(#2079)b8b2d30Addhas_attrforVecEnv(#2077)ee8a77dRelease v2.5.0 (#2074)f8ea299Doc update: custom envs, IsaacLab, Brax and dm_control (#2072)d055a2efix docs atari example by import ale_py (#2071)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
Commits:
1
1
Files Changed:
1
1
Additions:
+1
+1
Deletions:
-1
-1
Package Dependencies
Technical Details
| ID: | 2342899 |
| UUID: | 2594372715 |
| Node ID: | PR_kwDOOw0Wwc6aovxr |
| Host: | GitHub |
| Repository: | mooncitydev/https-github.com-freqtrade-freqtrade |
| Merge State: | Unknown |