From 10c6f2945124cff474d9a2e649c3c1bd793125d6 Mon Sep 17 00:00:00 2001 From: Simon Bethke Date: Thu, 1 Feb 2024 12:06:17 +0100 Subject: [PATCH] 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 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f0b90702e..8b60c4bba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",