From patchwork Sun May 21 03:02:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 50197 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 094CB27BBEA; Sun, 21 May 2023 04:04:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5440327BBE2 for ; Sun, 21 May 2023 04:04:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0ZMe-000362-R0; Sat, 20 May 2023 23:04:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0ZMZ-00032v-JH for guix-patches@gnu.org; Sat, 20 May 2023 23:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0ZMY-0008G4-VE for guix-patches@gnu.org; Sat, 20 May 2023 23:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0ZMY-0001B5-Pu for guix-patches@gnu.org; Sat, 20 May 2023 23:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63621] [PATCH 6/6] gnu: Add python-ax-platform. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 May 2023 03:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63621 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63621@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 63621-submit@debbugs.gnu.org id=B63621.16846382024459 (code B ref 63621); Sun, 21 May 2023 03:04:02 +0000 Received: (at 63621) by debbugs.gnu.org; 21 May 2023 03:03:22 +0000 Received: from localhost ([127.0.0.1]:59754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0ZLu-00019q-0I for submit@debbugs.gnu.org; Sat, 20 May 2023 23:03:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0ZLr-00019a-HT for 63621@debbugs.gnu.org; Sat, 20 May 2023 23:03:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0D8B8240101 for <63621@debbugs.gnu.org>; Sun, 21 May 2023 05:03:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684638194; bh=FeLI80ayTSH8r/1588yJxtW7UVcYDswpelIhmuhyiLU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=VH1tOqxBUuejz384OETBSWsXfH6KAfnEVbhuzTAXOoEFCyI2ls6Hsl3d7cHbzKZqj +yfYymB8E88n5lEQUE1wBwxuQA50h7DJknN2Rh+6NIP5Dc1+NMQiPP7oZLaFec3ohh jq6yUWTYiTR8oh881QpWHpN5McQ5CHkjJQ/RZyUTZAa+prVoGnbDqC2I0ThPaW7LDF 5uMYrPlE04d/txax854IlWzPmKhcn2pefk3bw2OdwcEC7lIsS2DW8fEgTYnnfqqDjW bteZ2o+47IuG4fS5zvZEN2PlIBpwTUCjMYU7xnu6vLbG6vA0Y2SpIhzb7gvO9iyGN0 Qmc0ilToiikGA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QP54J5269z9rxF; Sun, 21 May 2023 05:03:12 +0200 (CEST) From: Vinicius Monego Date: Sun, 21 May 2023 03:02:10 +0000 Message-Id: <20230521030210.1282819-6-monego@posteo.net> In-Reply-To: <20230521030210.1282819-1-monego@posteo.net> References: <20230521030210.1282819-1-monego@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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))