[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/26: gnu: Add python-torchmetrics.
From: |
guix-commits |
Subject: |
09/26: gnu: Add python-torchmetrics. |
Date: |
Wed, 10 May 2023 13:30:58 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 8f97d96ddf8c280a6ce6a994f71b670d60f21cb7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 10 08:37:04 2023 +0200
gnu: Add python-torchmetrics.
* gnu/packages/machine-learning.scm (python-torchmetrics): New variable.
---
gnu/packages/machine-learning.scm | 48 +++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index de49e25c28..a3880247a7 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3465,6 +3465,54 @@ AI services.")
Actions for the Lightning suite of libraries.")
(license license:asl2.0)))
+(define-public python-torchmetrics
+ (package
+ (name "python-torchmetrics")
+ (version "0.11.4")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "torchmetrics" version))
+ (sha256
+ (base32
+ "150lcy6c20n42rwxl4d3m1b8s4js9ddds5wh3685vmjdnha5mr0z"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list python-numpy python-packaging python-pytorch
+ python-typing-extensions))
+ (native-inputs
+ (list python-cloudpickle
+ python-coverage
+ python-fire
+ python-mir-eval
+ python-mypy
+ python-pandas
+ python-psutil
+ python-pytest
+ python-pytest-cov
+ python-pytest-doctestplus
+ python-pytest-rerunfailures
+ python-pytest-timeout
+ python-requests
+ python-scikit-image
+ python-scikit-learn
+ python-scipy
+ python-types-protobuf
+ python-types-setuptools))
+ (home-page "https://github.com/Lightning-AI/metrics")
+ (synopsis "Machine learning metrics for PyTorch applications")
+ (description "TorchMetrics is a collection of 100+ PyTorch metrics
+implementations and an easy-to-use API to create custom metrics. It offers:
+
+@itemize
+@item A standardized interface to increase reproducibility
+@item Reduces boilerplate
+@item Automatic accumulation over batches
+@item Metrics optimized for distributed-training
+@item Automatic synchronization between multiple devices
+@end itemize
+")
+ (license license:asl2.0)))
+
;; Keep this in sync with python-pytorch
(define-public python-torchvision
(package
- 25/26: gnu: Add python-jsonargparse., (continued)
- 25/26: gnu: Add python-jsonargparse., guix-commits, 2023/05/10
- 26/26: gnu: Add python-pytorch-lightning., guix-commits, 2023/05/10
- 14/26: gnu: Add python-readchar., guix-commits, 2023/05/10
- 07/26: gnu: Add python-mir-eval., guix-commits, 2023/05/10
- 24/26: gnu: Add python-docstring-parser., guix-commits, 2023/05/10
- 18/26: gnu: Add python-types-urllib3., guix-commits, 2023/05/10
- 04/26: gnu: python-pytorch-for-r-torch: Define as alias for python-pytorch., guix-commits, 2023/05/10
- 21/26: gnu: python-torchvision: Update to 0.15.2., guix-commits, 2023/05/10
- 05/26: gnu: Add python-lightning-cloud., guix-commits, 2023/05/10
- 11/26: gnu: python-pillow-simd: Update to 9.2.0., guix-commits, 2023/05/10
- 09/26: gnu: Add python-torchmetrics.,
guix-commits <=
- 12/26: gnu: Add python-dateutils., guix-commits, 2023/05/10
- 17/26: gnu: Add python-fastapi-for-pytorch-lightning., guix-commits, 2023/05/10
- 03/26: gnu: python-traitlets: Update to 5.9.0., guix-commits, 2023/05/10