From af29ead3a285e0c61d24363c20d7d1d5e86be8b1 Mon Sep 17 00:00:00 2001 From: Matthew Tancik Date: Wed, 15 Mar 2023 18:33:58 -0700 Subject: [PATCH] Fix the typeguard version (#1612) * Fix the typeguard version * avoid torch 2 * fix --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e75ddbf1c..0c7c338fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ dependencies = [ "rich>=12.5.1", "scikit-image>=0.19.3", "tensorboard==2.9.0", - "torch>=1.12.1", + "torch>=1.12.1,<2.0.0", "torchmetrics[image]>=0.9.3", "torchtyping>=0.1.4", "torchvision>=0.13.0", @@ -76,7 +76,7 @@ dev = [ "pylint==2.13.4", "pytest==7.1.2", "pytest-xdist==2.5.0", - "typeguard>=2.13.3", + "typeguard==2.13.3", ] # Documentation related packages