mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #262759 from GaetanLepage/torchmetrics
python311Packages.torchmetrics: 1.1.2 -> 1.2.0
This commit is contained in:
commit
65181c77e1
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user