Changed torch version to <2.2 (#2861)

* Changed torch version to <=2.2, as <=2.1 will uninstall torch 2.1.2+cu118 and leave users without cuda in torch

* changed <=2.2 to <2.2 to prevent the issue at to prevent the type error referenced here https://github.com/nerfstudio-project/nerfstudio/pull/2857

* Changed torch version to <=2.2, as <=2.1 will uninstall torch 2.1.2+cu118 and leave users without cuda in torch
This commit is contained in:
Simon Bethke authored and GitHub committed 2024-02-01 11:06:17 +00:00
1 parent 0e01a90bba
commit 10c6f29451
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ dependencies = [
"splines==0.3.0",
"tensorboard>=2.13.0",
# pin torch to <=2.1 to fix https://github.com/pytorch/pytorch/issues/118736
"torch>=1.13.1,<=2.1",
"torch>=1.13.1,<2.2",
"torchvision>=0.14.1",
"torchmetrics[image]>=1.0.1",
"typing_extensions>=4.4.0",