Skip to content

Commit 3bec886

Browse files
brentyiArpegorPSGH
authored andcommitted
Upper-bound torch version for dev installs only (nerfstudio-project#2864)
1 parent a9ef60c commit 3bec886

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ dependencies = [
5353
"scikit-image>=0.19.3",
5454
"splines==0.3.0",
5555
"tensorboard>=2.13.0",
56-
# pin torch to <=2.1 to fix https://github.com/pytorch/pytorch/issues/118736
57-
"torch>=1.13.1,<2.2",
56+
"torch>=1.13.1",
5857
"torchvision>=0.14.1",
5958
"torchmetrics[image]>=1.0.1",
6059
"typing_extensions>=4.4.0",
@@ -102,6 +101,8 @@ dev = [
102101
# NOTE: Disabling projectaria-tools because it doesn't have prebuilt windows wheels
103102
# Syntax comes from here: https://pip.pypa.io/en/stable/reference/requirement-specifiers/
104103
"projectaria-tools>=1.3.1; sys_platform != 'win32'",
104+
# pin torch to <=2.1 to fix https://github.com/pytorch/pytorch/issues/118736
105+
"torch>=1.13.1,<2.2",
105106
]
106107

107108
# Documentation related packages

0 commit comments

Comments
 (0)