Update version (#1220)

* Replace .to(device) when possible

* fix numpy dep

* black

* Add warning for device != cpu and copy=False

* Update changelog

* Remove warning

* Update buffers.py

* Update version

* Fix type checking

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
This commit is contained in:
Quentin Gallouédec 2022-12-19 13:53:00 +01:00 committed by GitHub
parent 9af2d11b6e
commit ca944fed2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ Changelog
==========
Release 1.7.0a5 (WIP)
Release 1.7.0a6 (WIP)
--------------------------
Breaking Changes:

View file

@ -13,7 +13,7 @@ from stable_baselines3.td3 import TD3
# Small monkey patch so gym 0.21 is compatible with numpy >= 1.24
# TODO: remove when upgrading to gym 0.26
np.bool = bool
np.bool = bool # type: ignore[attr-defined]
# Read version from file
version_file = os.path.join(os.path.dirname(__file__), "version.txt")

View file

@ -1 +1 @@
1.7.0a5
1.7.0a6