Skip to content

Commit

Permalink
Bump torch to 2.0.1, fix sb3 w special gym ver, and remove pickle5 re…
Browse files Browse the repository at this point in the history
…quirements (#313)

* Bump torch requirements to 2.0.1, fix sb3 requirements, and remove pickle5 requirements

* Bump Seer too

* Fix Seer's warning spam
  • Loading branch information
NicEastvillage authored Oct 18, 2023
1 parent 6378ad0 commit df291a4
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion RLBotPack/Element/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
numpy

# This will cause pip to auto-upgrade and stop scaring people with warning messages
Expand Down
4 changes: 1 addition & 3 deletions RLBotPack/Engine/Engine/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
stable_baselines3
rlgym-compat
numpy
pickle5
cloudpickle
gym
# This will cause pip to auto-upgrade and stop scaring people with warning messages
pip
2 changes: 1 addition & 1 deletion RLBotPack/Immortal/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
rlgym-compat>=1.0.2
numpy

Expand Down
2 changes: 1 addition & 1 deletion RLBotPack/Levi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
numpy
RLUtilities
torch==1.6.0+cpu
torch==2.0.1+cpu
-f https://download.pytorch.org/whl/torch_stable.html
4 changes: 3 additions & 1 deletion RLBotPack/Monkey/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
rlgym-compat>=1.0.2
gym @ git+https://github.com/openai/gym.git@9180d12e1b66e7e2a1a622614f787a6ec147ac40
stable_baselines==1.7.0
numpy

# This will cause pip to auto-upgrade and stop scaring people with warning messages
Expand Down
2 changes: 1 addition & 1 deletion RLBotPack/Necto/Necto/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
rlgym-compat==1.0.2
numpy

Expand Down
2 changes: 1 addition & 1 deletion RLBotPack/Necto/Nexto/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
rlgym-compat==1.0.2
numpy

Expand Down
2 changes: 1 addition & 1 deletion RLBotPack/Necto/Nexto_EZ/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
rlgym-compat==1.0.2
numpy
shared-memory38
Expand Down
4 changes: 1 addition & 3 deletions RLBotPack/Omus/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
stable-baselines3
rlgym-compat>=1.0.2
numpy
pickle5
cloudpickle
keyboard
pygame
pathlib
Expand Down
2 changes: 1 addition & 1 deletion RLBotPack/Seer/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def invert_yaw(yaw):
return yaw


enc = OneHotEncoder(sparse=False, drop='if_binary',
enc = OneHotEncoder(sparse_output=False, drop='if_binary',
categories=[np.array([0., 1., 2.]), np.array([0., 1., 2., 3., 4.]), np.array([0., 1., 2., 3., 4.]), np.array([0., 1., 2.]), np.array([0., 1.]), np.array([0., 1.]),
np.array([0., 1.])])

Expand Down
2 changes: 1 addition & 1 deletion RLBotPack/Seer/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
numpy
scikit-learn
numba
Expand Down
6 changes: 3 additions & 3 deletions RLBotPack/Vector/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# You will automatically get updates for all versions starting with "1.".
rlbot==1.*
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.1+cpu
torch==2.0.1+cpu
rlgym-compat>=1.0.2
numpy
stable-baselines3
pickle5
gym @ git+https://github.com/openai/gym.git@9180d12e1b66e7e2a1a622614f787a6ec147ac40
stable-baselines3==1.7.0

# This will cause pip to auto-upgrade and stop scaring people with warning messages
pip

0 comments on commit df291a4

Please sign in to comment.