Skip to content

Commit

Permalink
Bumped PyTorch version to 1.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelalonsojr committed Oct 5, 2023
1 parent 42ab41f commit 0ef356a
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
python-version: [3.10.x]
include:
- python-version: 3.10.x
pip_constraints: test_constraints_max_version.txt
pip_constraints: test_constraints_version.txt
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
python-version: [3.10.12]
include:
- python-version: 3.10.12
pip_constraints: test_constraints_max_version.txt
pip_constraints: test_constraints_version.txt
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down
3 changes: 2 additions & 1 deletion ml-agents/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run(self):
"Pillow>=4.2.1",
"protobuf>=3.6,<3.20",
"pyyaml>=3.1.0",
"torch>=1.8.0,<=1.11.0",
"torch>=1.13.1",
"tensorboard>=2.14",
# adding six explicit dependency since tensorboard needs it but doesn't declare it as a dep
"six>=1.16",
Expand All @@ -72,6 +72,7 @@ def run(self):
"attrs>=19.3.0",
"huggingface_hub>=0.14",
'pypiwin32==223;platform_system=="Windows"',
"onnx==1.12.0",
],
python_requires=">=3.10.1,<=3.10.12",
entry_points={
Expand Down
2 changes: 0 additions & 2 deletions test_constraints_mid_version.txt

This file was deleted.

2 changes: 0 additions & 2 deletions test_constraints_min_version.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# pip constraints to use the *highest* versions allowed in ml-agents/setup.py
# For projects with upper bounds, we should periodically update this list to the latest
torch==1.11.0
torch==1.13.1

0 comments on commit 0ef356a

Please sign in to comment.