From 0f2eb8ca67a974baf8c3c22652a6c89fc2e755fa Mon Sep 17 00:00:00 2001 From: twsl <45483159+twsl@users.noreply.github.com> Date: Sat, 30 Oct 2021 00:56:01 +0200 Subject: [PATCH 1/3] Change torchmetrics version --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4c9210fa2f..c2f7f85e0b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ packaging numpy torch>=1.7.1 -torchmetrics<=0.5.0 +torchmetrics>=0.2.0,!=0.5.1 pytorch-lightning==1.4.9 pyDeprecate pandas<1.3.0 From 837e51ba0d5f777bd58abe7820166390c5af29d7 Mon Sep 17 00:00:00 2001 From: twsl <45483159+twsl@users.noreply.github.com> Date: Sat, 30 Oct 2021 01:11:59 +0200 Subject: [PATCH 2/3] Bump torchmetrics to 0.4.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c2f7f85e0b..4ec374e51c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ packaging numpy torch>=1.7.1 -torchmetrics>=0.2.0,!=0.5.1 +torchmetrics>=0.4.0,!=0.5.1 pytorch-lightning==1.4.9 pyDeprecate pandas<1.3.0 From 04f08960d6175454019954a8d05e5f537b536175 Mon Sep 17 00:00:00 2001 From: twsl <45483159+twsl@users.noreply.github.com> Date: Sat, 30 Oct 2021 01:19:52 +0200 Subject: [PATCH 3/3] Add entry to changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5cacbf704..feb390c8c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Fixed a bug where validation metrics could be aggregated together with test metrics in some cases ([#900](https://github.com/PyTorchLightning/lightning-flash/pull/900)) - +- Fixed a bug where the latest versions of torchmetrics and Lightning Flash could not be installed together ([#902](https://github.com/PyTorchLightning/lightning-flash/pull/902)) ## [0.5.1] - 2021-10-26