Merge pull request #262759 from GaetanLepage/torchmetrics

python311Packages.torchmetrics: 1.1.2 -> 1.2.0
This commit is contained in:
Connor Baker 2023-10-24 09:50:11 -04:00 committed by GitHub
commit 65181c77e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,9 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, numpy
, lightning-utilities
, cloudpickle
, scikit-learn
, scikit-image
@ -15,7 +18,7 @@
let
pname = "torchmetrics";
version = "1.1.2";
version = "1.2.0";
in
buildPythonPackage {
inherit pname version;
@ -24,10 +27,14 @@ buildPythonPackage {
owner = "PyTorchLightning";
repo = "metrics";
rev = "refs/tags/v${version}";
hash = "sha256-qbO2POXJp2O0VL16zY5mb6TDpogs1L34anFVeSf502g=";
hash = "sha256-g5JuTbiRd8yWx2nM3UE8ejOhuZ0XpAQdS5AC9AlrSFY=";
};
disabled = pythonOlder "3.8";
propagatedBuildInputs = [
numpy
lightning-utilities
packaging
py-deprecate
];