From patchwork Sat Sep 7 05:00:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 67694 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 B70CB27BBE9; Sat, 7 Sep 2024 06:01:23 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 C8F6C27BBE2 for ; Sat, 7 Sep 2024 06:01:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smnZI-00070o-DT; Sat, 07 Sep 2024 01:01:04 -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 1smnZG-00070e-K7 for guix-patches@gnu.org; Sat, 07 Sep 2024 01:01:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smnZG-0006WF-AT for guix-patches@gnu.org; Sat, 07 Sep 2024 01:01:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=PkGWtOB7yF4bZBtadNQVprGdKTh7VB+2O7S8Xk4lGb4=; b=pPCL3EUBXrQau0/8HCHsO9+oAYyQbjAAqO+IFW20lgMi/z1sTAWKa0fcco/siTEm5xUj9ldI9cFzPyrY909lL/DvAf6Eg+mCt3z8oBif+2EMMLAnVZ0cBWxrvzQ1JxbOyw0/fk4OjKwKObo6Qyfn1vdkd3vO0oIFlzYLZKuaRJTxp16jmjCPNfL6fO1dh3/c0dTNfNTfnefW7eISjiQrFB5LZ/ZNPlondgVOyiA2uwCXpUmS+qiVStXbiGwVG5mKr9f0R5xZugh1Le0lPMWqjJrnp36Yo4akUoIdWfZnmb6lKt54T1fSUklr87xPVbppJjjWdbwoaK8F6HhG0EN3Vg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smnZG-00016T-C1 for guix-patches@gnu.org; Sat, 07 Sep 2024 01:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73089] [PATCH] gnu: Add rtneural. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 05:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73089 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73089@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17256852224151 (code B ref -1); Sat, 07 Sep 2024 05:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Sep 2024 05:00:22 +0000 Received: from localhost ([127.0.0.1]:54536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smnYc-00014s-3Y for submit@debbugs.gnu.org; Sat, 07 Sep 2024 01:00:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:55612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smnYZ-00014j-VR for submit@debbugs.gnu.org; Sat, 07 Sep 2024 01:00:21 -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 1smnYZ-0006yG-9C for guix-patches@gnu.org; Sat, 07 Sep 2024 01:00:19 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1smnYX-0006Bq-Ii for guix-patches@gnu.org; Sat, 07 Sep 2024 01:00:19 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4X119z712Qz9sjJ for ; Sat, 7 Sep 2024 07:00:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antr.me; s=MBO0001; t=1725685208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=PkGWtOB7yF4bZBtadNQVprGdKTh7VB+2O7S8Xk4lGb4=; b=zJLBiNv4gmfPcPBgG+Z+mkUJ4Ec09f4MtFKTVbA+lTDQjrjjNwclFSixQdj1HdiRu/GeMG EscNQ0W3DTvMgSz44KqsV/Om5KCebaP9ZrflOySKKYR/8EDLTowcad6Vk3CDyUISAHN+Lt rUgzBqyt91rYy3KlW6v9/5lnCQ/EqHcQBfD34GEJ59Udm2xaRMT55Pwco8Se4Zkd0mg+gS 8bZk8QRMeSOK8OGv1XIsB0j5wFmiurCI2K1jXUPpfJXqOKiT9kqlirTMOltF7wN/hLrNcL fFttXZtqD3fZDBh8dNwaU6a4ojXiolGz1mhFKaI/jcGx4tZrmBoaT3Iv8ArprA== From: Antero Mejr Date: Sat, 07 Sep 2024 05:00:04 +0000 Message-ID: <87wmjo9hyj.fsf@antr.me> MIME-Version: 1.0 Received-SPF: pass client-ip=80.241.56.152; envelope-from=mail@antr.me; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 (rtneural): New variable. Change-Id: I0e3a74dddaed7fc239b0408b74c4595ab139e474 --- The tests are too heavy for my machine to run. It builds with them turned off, but I turned them back on to see if the QA machine can handle it. gnu/packages/machine-learning.scm | 56 +++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) base-commit: 18d02443e1ec37779ee3cf63f9aaff1746bfdd8e diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 5d34283947..f1c31ffddf 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -6117,3 +6117,59 @@ (define-public python-gymnasium "This package provides a standard API for reinforcement learning and a diverse set of reference environments (formerly Gym).") (license license:expat))) + +(define-public rtneural + (let ((commit "f9c2c646c6bf5a9a74cf0fd0e062e1351dde6208") ;no releases + (revision "0")) + (package + (name "rtneural") + (version (git-version "0.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jatinchowdhury18/RTNeural") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0i2f5s6kjn9ivm17wbil0imgqfzxqpdw5avqdnha30czv5wa62ls")) + (modules '((guix build utils))) + (snippet #~(begin + ;; unbundle + (delete-file-recursively "modules") + (substitute* "RTNeural/model_loader.h" + (("#include \"../modules/json/json.hpp\"") + "#include ")) + (substitute* (find-files "RTNeural" "\\.h$") + (("#include