* [bug#63621] [PATCH 2/6] gnu: Add python-gpytorch.
2023-05-21 3:02 ` [bug#63621] [PATCH 1/6] gnu: Add python-linear-operator Vinicius Monego
@ 2023-05-21 3:02 ` Vinicius Monego
2023-05-21 3:02 ` [bug#63621] [PATCH 3/6] gnu: python-pyro-ppl: Update to 1.8.4 Vinicius Monego
` (3 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Vinicius Monego @ 2023-05-21 3:02 UTC (permalink / raw)
To: 63621; +Cc: Vinicius Monego
* gnu/packages/machine-learning.scm (python-gpytorch): New variable.
---
gnu/packages/machine-learning.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index de06b4988a..f4b59556bc 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4099,6 +4099,33 @@ (define-public python-linear-operator
linear algebra routines needed for structured matrices (or operators).")
(license license:expat)))
+(define-public python-gpytorch
+ (package
+ (name "python-gpytorch")
+ (version "1.10")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "gpytorch" version))
+ (sha256
+ (base32
+ "063zzc515xip3d11y21ld47ca3qq0hqs27jgba20l8mzkympijbd"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; This test failed.
+ (list #:test-flags #~'("-k" "not test_deprecated_methods")))
+ (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))
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#63621] [PATCH 3/6] gnu: python-pyro-ppl: Update to 1.8.4.
2023-05-21 3:02 ` [bug#63621] [PATCH 1/6] gnu: Add python-linear-operator Vinicius Monego
2023-05-21 3:02 ` [bug#63621] [PATCH 2/6] gnu: Add python-gpytorch Vinicius Monego
@ 2023-05-21 3:02 ` Vinicius Monego
2023-05-21 3:02 ` [bug#63621] [PATCH 4/6] gnu: Add python-botorch Vinicius Monego
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Vinicius Monego @ 2023-05-21 3:02 UTC (permalink / raw)
To: 63621; +Cc: Vinicius Monego
* gnu/packages/machine-learning.scm (python-pyro-ppl): Update to 1.8.4.
---
gnu/packages/machine-learning.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index f4b59556bc..90bfe283a2 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4009,7 +4009,7 @@ (define-public python-pyro-api
(define-public python-pyro-ppl
(package
(name "python-pyro-ppl")
- (version "1.8.1")
+ (version "1.8.4")
;; The sources on pypi don't include tests.
(source
(origin
@@ -4019,7 +4019,7 @@ (define-public python-pyro-ppl
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0ns20mr8qgjshzbplrfzaz1xhb9ldbgvrj2rzlsxvns2bi1ddyl5"))))
+ (base32 "1h00i847dsggiw9mmvjbi4nacpjbyqi5wjqg5gbfnmzimhdrgp77"))))
(build-system python-build-system)
(arguments
`(#:phases
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#63621] [PATCH 4/6] gnu: Add python-botorch.
2023-05-21 3:02 ` [bug#63621] [PATCH 1/6] gnu: Add python-linear-operator Vinicius Monego
2023-05-21 3:02 ` [bug#63621] [PATCH 2/6] gnu: Add python-gpytorch Vinicius Monego
2023-05-21 3:02 ` [bug#63621] [PATCH 3/6] gnu: python-pyro-ppl: Update to 1.8.4 Vinicius Monego
@ 2023-05-21 3:02 ` Vinicius Monego
2023-05-21 3:02 ` [bug#63621] [PATCH 5/6] gnu: Add python-yappi Vinicius Monego
2023-05-21 3:02 ` [bug#63621] [PATCH 6/6] gnu: Add python-ax-platform Vinicius Monego
4 siblings, 0 replies; 10+ messages in thread
From: Vinicius Monego @ 2023-05-21 3:02 UTC (permalink / raw)
To: 63621; +Cc: Vinicius Monego
* gnu/packages/machine-learning.scm (python-botorch): New variable.
---
gnu/packages/machine-learning.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 90bfe283a2..1e34e5fd5e 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4126,6 +4126,34 @@ (define-public python-gpytorch
"GPyTorch is a Gaussian process library implemented using PyTorch.")
(license license:expat)))
+(define-public python-botorch
+ (package
+ (name "python-botorch")
+ (version "0.8.5")
+ (source (origin
+ (method git-fetch) ;no tests in PyPI
+ (uri (git-reference
+ (url "https://github.com/pytorch/botorch")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1xa98xy5wx0mf6fx62lx5cy84svi695iwcg4n74z4f9wz60lghsm"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-gpytorch
+ python-linear-operator
+ python-multipledispatch
+ python-pyro-ppl
+ python-scipy
+ python-pytorch))
+ (native-inputs (list python-black python-flake8 python-pytest
+ python-pytest-cov python-sphinx))
+ (home-page "https://botorch.org")
+ (synopsis "Bayesian Optimization in PyTorch")
+ (description
+ "BoTorch is a library for Bayesian Optimization built on PyTorch.")
+ (license license:expat)))
+
(define-public vosk-api
(let* ((openfst openfst-for-vosk)
(kaldi kaldi-for-vosk))
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#63621] [PATCH 5/6] gnu: Add python-yappi.
2023-05-21 3:02 ` [bug#63621] [PATCH 1/6] gnu: Add python-linear-operator Vinicius Monego
` (2 preceding siblings ...)
2023-05-21 3:02 ` [bug#63621] [PATCH 4/6] gnu: Add python-botorch Vinicius Monego
@ 2023-05-21 3:02 ` Vinicius Monego
2023-05-21 3:02 ` [bug#63621] [PATCH 6/6] gnu: Add python-ax-platform Vinicius Monego
4 siblings, 0 replies; 10+ messages in thread
From: Vinicius Monego @ 2023-05-21 3:02 UTC (permalink / raw)
To: 63621; +Cc: Vinicius Monego
* gnu/packages/python-xyz.scm (python-yappi): New variable.
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9ee45ab525..c7a31e40a1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3299,6 +3299,30 @@ (define-public python-openpyxl
standard.")
(license license:expat)))
+(define-public python-yappi
+ (package
+ (name "python-yappi")
+ (version "1.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "yappi" version))
+ (sha256
+ (base32
+ "1h3zl60pi57ynb3sw7sg2wcn157jwz992y95bv5kcds3qy7msjsh"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-gevent))
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "run_tests.py")))))))
+ (home-page "https://github.com/sumerc/yappi")
+ (synopsis "Yet Another Python Profiler")
+ (description "Yappi is a tracing profiler that is multithreading, asyncio
+and gevent aware.")
+ (license license:expat)))
+
(define-public python-eventlet
(package
(name "python-eventlet")
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#63621] [PATCH 6/6] gnu: Add python-ax-platform.
2023-05-21 3:02 ` [bug#63621] [PATCH 1/6] gnu: Add python-linear-operator Vinicius Monego
` (3 preceding siblings ...)
2023-05-21 3:02 ` [bug#63621] [PATCH 5/6] gnu: Add python-yappi Vinicius Monego
@ 2023-05-21 3:02 ` Vinicius Monego
4 siblings, 0 replies; 10+ messages in thread
From: Vinicius Monego @ 2023-05-21 3:02 UTC (permalink / raw)
To: 63621; +Cc: Vinicius Monego
* gnu/packages/machine-learning.scm (python-ax-platform): New variable.
---
gnu/packages/machine-learning.scm | 56 +++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 1e34e5fd5e..384c980478 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4154,6 +4154,62 @@ (define-public python-botorch
"BoTorch is a library for Bayesian Optimization built on PyTorch.")
(license license:expat)))
+(define-public python-ax-platform
+ (package
+ (name "python-ax-platform")
+ (version "0.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "ax-platform" version))
+ (sha256
+ (base32
+ "1spyp8wjf0jyh7yf002sl4lc1rwbnzdki9ql9a3nzsyyx602flj8"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; Ignore tests for tensorboard and torchx, which we don't have.
+ (list #:test-flags
+ #~(list "--ignore" "ax/metrics/tests/test_tensorboard.py"
+ "--ignore" "ax/runners/tests/test_torchx.py"
+ ;; This test tries to download online data.
+ "-k" "not test_torchvision_encode_decode")
+ ;; Ax checks for typeguard==2.13.3 which is the version we have,
+ ;; but the version report in typeguard is fault and displays 0.0.0.
+ #:phases #~(modify-phases %standard-phases
+ (delete 'sanity-check))))
+ (propagated-inputs (list python-botorch
+ python-ipywidgets
+ python-jinja2
+ python-pandas
+ python-plotly
+ python-scikit-learn
+ python-scipy
+ python-typeguard))
+ (native-inputs (list jupyter
+ python-beautifulsoup4
+ python-black
+ python-flake8
+ python-hypothesis
+ python-jinja2
+ python-jupyter-client
+ python-mypy
+ python-nbconvert
+ python-pyfakefs
+ python-pyre-extensions
+ python-pytest
+ python-pytest-cov
+ python-sqlalchemy
+ python-torchvision
+ python-yappi))
+ (home-page "https://ax.dev/")
+ (synopsis "Adaptive Experimentation Platform")
+ (description
+ "Ax is an accessible, general-purpose platform for
+understanding, managing, deploying, and automating adaptive experiments.
+Adaptive experimentation is the machine-learning guided process of
+iteratively exploring a (possibly infinite) parameter space in order to
+identify optimal configurations in a resource-efficient manner.")
+ (license license:expat)))
+
(define-public vosk-api
(let* ((openfst openfst-for-vosk)
(kaldi kaldi-for-vosk))
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread