summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-04-04 21:16:51 +0200
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:28 +0200
commit81265ddfa76c44a53fba528f0e861a1a541e0329 (patch)
tree3fd6ecea399de43d4e8053f8ca722554ed1e5aef
parent691ef2ca0fbfc85afc3d21c1e5cfd198f5575b88 (diff)
gnu: python-gpytorch: Update to 1.14.
* gnu/packages/machine-learning.scm (python-gpytorch): Update to 1.14. [arguments]{test-flags}: Ignore additional failing test. [propagated-inputs]: Add python-jaxtyping. [native-inputs]: Add python-setuptools, python-wheel. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/machine-learning.scm19
1 files changed, 13 insertions, 6 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index cfb54e33f6..ad17bae7c8 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -6640,27 +6640,34 @@ linear algebra routines needed for structured matrices (or operators).")
(define-public python-gpytorch
(package
(name "python-gpytorch")
- (version "1.12")
+ (version "1.14")
(source (origin
(method url-fetch)
(uri (pypi-uri "gpytorch" version))
(sha256
(base32
- "1pwsccll1hrgkifdmlxzcn6cvnwvyq2cimqzbfgihr13yw51cb6w"))))
+ "13cs6dx8qa5j4ygji9w5xbmaqc68ihqyzz33fyyf9qa6d8gc2b03"))))
(build-system pyproject-build-system)
(arguments
(list #:test-flags
- ;; test_deprecated_methods fails with an AssertionError.
- #~(list "-k" (string-append "not test_deprecated_methods")
+ #~(list "-k" (string-append
+ ;; test_deprecated_methods fails with an AssertionError.
+ "not test_deprecated_methods"
+ ;; This test is flaky: Expects gradients of 0 exactly,
+ ;; can get negligible ones (e-10 to e-16).
+ " and not test_optimization_optimal_error")
;; Ignore lenghty tests of little relevance.
"--ignore=test/examples/")))
- (propagated-inputs (list python-linear-operator
+ (propagated-inputs (list python-jaxtyping
+ python-linear-operator
python-mpmath
python-scikit-learn
python-scipy))
(native-inputs (list python-nbval
python-pytest
- python-setuptools))
+ python-setuptools
+ python-setuptools-scm
+ python-wheel))
(home-page "https://gpytorch.ai")
(synopsis "Implementation of Gaussian Processes in PyTorch")
(description