Skip to content

Commit 2d31dd3

Browse files
Dave Feltenbergerfacebook-github-bot
authored andcommitted
Updating the minimum pytorch version to 1.13 (#1617)
Summary: Pull Request resolved: #1617 Updating the minimum pytorch version for OSS tests to be 1.13. Not 100% sure about the excludes from the yaml file and whether I need to add new ones now that I've removed the old versions. Reviewed By: vivekmig Differential Revision: D77302451 fbshipit-source-id: 3ed2c034c71e0bcbef80750f8db1183cd69ad894
1 parent af89779 commit 2d31dd3

File tree

5 files changed

+5
-19
lines changed

5 files changed

+5
-19
lines changed

.conda/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ requirements:
1717
- setuptools
1818
run:
1919
- numpy<2.0
20-
- pytorch>=1.10
20+
- pytorch>=1.13
2121
- matplotlib-base
2222
- tqdm
2323
- packaging

.github/workflows/test-pip-cpu.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,10 @@ jobs:
1212
tests:
1313
strategy:
1414
matrix:
15-
pytorch_args: ["-v 1.10", "-v 1.11", "-v 1.12", "-v 1.13", "-v 2.0.0", "-v 2.1.0", "-v 2.2.0", "-v 2.3.0"]
15+
pytorch_args: ["-v 1.13", "-v 2.0.0", "-v 2.1.0", "-v 2.2.0", "-v 2.3.0", "-v 2.4.0", "-v 2.5.0", "-v 2.6.0"]
1616
transformers_args: ["-t 4.38.0", "-t 4.39.0", "-t 4.41.0", "-t 4.43.0", "-t 4.45.2"]
1717
docker_img: ["cimg/python:3.9", "cimg/python:3.10", "cimg/python:3.11", "cimg/python:3.12"]
1818
exclude:
19-
- pytorch_args: "-v 1.10"
20-
docker_img: "cimg/python:3.10"
21-
- pytorch_args: "-v 1.10"
22-
docker_img: "cimg/python:3.11"
23-
- pytorch_args: "-v 1.11"
24-
docker_img: "cimg/python:3.11"
25-
- pytorch_args: "-v 1.12"
26-
docker_img: "cimg/python:3.11"
27-
- pytorch_args: "-v 1.10"
28-
docker_img: "cimg/python:3.12"
29-
- pytorch_args: "-v 1.11"
30-
docker_img: "cimg/python:3.12"
31-
- pytorch_args: "-v 1.12"
32-
docker_img: "cimg/python:3.12"
3319
- pytorch_args: "-v 1.13"
3420
docker_img: "cimg/python:3.12"
3521
- pytorch_args: "-v 2.0.0"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Captum can also be used by application engineers who are using trained models in
4646

4747
**Installation Requirements**
4848
- Python >= 3.9
49-
- PyTorch >= 1.10
49+
- PyTorch >= 1.13
5050

5151

5252
##### Installing the latest release

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- pytorch
44
dependencies:
55
- numpy<2.0
6-
- pytorch>=1.10
6+
- pytorch>=1.13
77
- matplotlib-base
88
- tqdm
99
- packaging

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def get_package_files(root, subdirs):
165165
"matplotlib",
166166
"numpy<2.0",
167167
"packaging",
168-
"torch>=1.10",
168+
"torch>=1.13",
169169
"tqdm",
170170
],
171171
packages=find_packages(exclude=("tests", "tests.*")),

0 commit comments

Comments
 (0)