[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: Add python-gpytorch.
From: |
guix-commits |
Subject: |
04/04: gnu: Add python-gpytorch. |
Date: |
Sat, 16 Sep 2023 22:32:29 -0400 (EDT) |
monego pushed a commit to branch master
in repository guix.
commit 9b78699744b0c4c8af28820cc4f0d59b9d317ead
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sat May 20 21:48:47 2023 -0300
gnu: Add python-gpytorch.
* gnu/packages/machine-learning.scm (python-gpytorch): New variable.
---
gnu/packages/machine-learning.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 717c52345c..f351586214 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4597,6 +4597,37 @@ inference.")
linear algebra routines needed for structured matrices (or operators).")
(license license:expat)))
+(define-public python-gpytorch
+ (package
+ (name "python-gpytorch")
+ (version "1.11")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "gpytorch" version))
+ (sha256
+ (base32
+ "0q17bml53vixk3cwj3p893809927hz81fprwsmxpxqv5i4mvgyvj"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-flags
+ ;; The error message in test_t_matmul_matrix suggests the error may
+ ;; be due to a bug in gpytorch. test_deprecated_methods fails with
+ ;; an AssertionError.
+ #~(list "-k" (string-append "not test_deprecated_methods"
+ " and not test_t_matmul_matrix"))))
+ (propagated-inputs (list python-linear-operator python-scikit-learn))
+ (native-inputs (list python-coverage
+ python-flake8
+ python-flake8-print
+ python-nbval
+ python-pytest
+ python-twine))
+ (home-page "https://gpytorch.ai")
+ (synopsis "Implementation of Gaussian Processes in PyTorch")
+ (description
+ "GPyTorch is a Gaussian process library implemented using PyTorch.")
+ (license license:expat)))
+
(define-public vosk-api
(let* ((openfst openfst-for-vosk)
(kaldi kaldi-for-vosk))