diff --git a/requirements/fabric/examples.txt b/requirements/fabric/examples.txt index 0459f6a4b4..a09b12cfe6 100644 --- a/requirements/fabric/examples.txt +++ b/requirements/fabric/examples.txt @@ -2,5 +2,5 @@ # in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment torchvision >=0.13.0, <0.16.0 -torchmetrics >=0.10.0, <1.1.0 +torchmetrics >=0.10.0, <1.3.0 lightning-utilities >=0.8.0, <0.10.0 diff --git a/requirements/fabric/test.txt b/requirements/fabric/test.txt index f46727ad79..3459e7dc87 100644 --- a/requirements/fabric/test.txt +++ b/requirements/fabric/test.txt @@ -6,4 +6,4 @@ pytest-rerunfailures ==12.0 pytest-random-order ==1.1.0 click ==8.1.7 tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute -torchmetrics >=0.7.0, <1.1.0 # needed for using fixed compare_version +torchmetrics >=0.7.0, <1.3.0 # needed for using fixed compare_version diff --git a/requirements/pytorch/base.txt b/requirements/pytorch/base.txt index fa5662be53..8148131f92 100644 --- a/requirements/pytorch/base.txt +++ b/requirements/pytorch/base.txt @@ -6,7 +6,7 @@ torch >=1.12.0, <2.2.0 tqdm >=4.57.0, <4.67.0 PyYAML >=5.4, <6.1.0 fsspec[http] >2021.06.0, <2023.10.0 -torchmetrics >=0.7.0, <1.1.0 # needed for using fixed compare_version +torchmetrics >=0.7.0, <1.3.0 # needed for using fixed compare_version packaging >=20.0, <=23.1 typing-extensions >=4.0.0, <4.8.0 lightning-utilities >=0.8.0, <0.10.0 diff --git a/requirements/pytorch/examples.txt b/requirements/pytorch/examples.txt index be3829fb2c..19b9fb4f15 100644 --- a/requirements/pytorch/examples.txt +++ b/requirements/pytorch/examples.txt @@ -4,5 +4,5 @@ torchvision >=0.13.0, <0.16.0 gym[classic_control] >=0.17.0, <0.27.0 ipython[all] <8.15.0 -torchmetrics >=0.10.0, <1.1.0 +torchmetrics >=0.10.0, <1.3.0 lightning-utilities >=0.8.0, <0.10.0