GNU logs - #63088, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH 0/3] Add Lc0
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 26 Apr 2023 13:15:01 +0000
Resent-Message-ID: <handler.63088.B.168251489410419 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 63088 <at> debbugs.gnu.org
Cc: zamfofex <zamfofex@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.168251489410419
          (code B ref -1); Wed, 26 Apr 2023 13:15:01 +0000
Received: (at submit) by debbugs.gnu.org; 26 Apr 2023 13:14:54 +0000
Received: from localhost ([127.0.0.1]:54577 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1prez0-0002hz-BL
	for submit <at> debbugs.gnu.org; Wed, 26 Apr 2023 09:14:54 -0400
Received: from lists.gnu.org ([209.51.188.17]:38656)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1preyy-0002hp-EC
 for submit <at> debbugs.gnu.org; Wed, 26 Apr 2023 09:14:53 -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 <zamfofex@HIDDEN>) id 1preys-0001Dl-34
 for guix-patches@HIDDEN; Wed, 26 Apr 2023 09:14:50 -0400
Received: from mta-05-3.privateemail.com ([198.54.118.212])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zamfofex@HIDDEN>) id 1preyf-0001F4-QM
 for guix-patches@HIDDEN; Wed, 26 Apr 2023 09:14:43 -0400
Received: from mta-05.privateemail.com (localhost [127.0.0.1])
 by mta-05.privateemail.com (Postfix) with ESMTP id 83BDF18000A4;
 Wed, 26 Apr 2023 09:14:02 -0400 (EDT)
Received: from localhost.localdomain (unknown [187.66.116.196])
 by mta-05.privateemail.com (Postfix) with ESMTPA id 9F39618000A5;
 Wed, 26 Apr 2023 09:14:00 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1682514842; bh=OHAOylminTc0A5+58bXG0HGzwUkTTDXERcDoYZv/thw=;
 h=From:To:Cc:Subject:Date:From;
 b=V8NUHuFdpA8KqEOhcbCWKGZiCKKmYzFm1JM5IqQQ1Jewh38o5hUr7VhNXQ6mm3eph
 YL32SAj3LSNxWs3Snvs3n/SwI/5mRHovtAq7rrJ0RaR3Qm1d2FSE+56mUlaUgue6rb
 lep7iMyO3kjCSyoodyH0TJG7FwI6mZLb2EXytK6qJAu4h3VNzeIW9IBxj0kNG3Wj3e
 OzzaAo7dwEWMUikEs9uO7xgzPk2wS0lUfITJRk6m9l8KSxu1wGyNM+a9gDhNl64UfH
 sSUcbYXHFT6Pz9g2wy4Uo7SRU+6g3cXNhCCX9EfnRSAvxevU9PQSuSJXoTeM5a4fK9
 2tQNdPzr1vOig==
From: zamfofex <zamfofex@HIDDEN>
Date: Wed, 26 Apr 2023 10:13:05 -0300
Message-Id: <cover.1682514072.git.zamfofex@HIDDEN>
X-Mailer: git-send-email 2.39.2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
Received-SPF: pass client-ip=198.54.118.212; envelope-from=zamfofex@HIDDEN;
 helo=MTA-05-3.privateemail.com
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
 DKIM_SIGNED=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This patch series adds Lc0 “Leela Chess Zero” (a chess engine), alongside a few other optional dependencies that help improve its runtime performance.

zamfofex (3):
  gnu: Add ISPC. * gnu/packages/c.scm (ispc): New variable.
  gnu: Add oneDNN. * gnu/packages/machine-learning.scm (oneapi-dnnl):
    New variable.
  gnu: Add Lc0. * gnu/packages/games.scm (lc0): New variable.

 gnu/packages/c.scm                | 63 +++++++++++++++++++++++++++++++
 gnu/packages/games.scm            | 60 ++++++++++++++++++++++++++++-
 gnu/packages/machine-learning.scm | 21 +++++++++++
 3 files changed, 143 insertions(+), 1 deletion(-)


base-commit: 380faf265b0c3b231ab8b69597d161be5e704e18
-- 
2.39.2





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: zamfofex <zamfofex@HIDDEN>
Subject: bug#63088: Acknowledgement ([PATCH 0/3] Add Lc0)
Message-ID: <handler.63088.B.168251489410419.ack <at> debbugs.gnu.org>
References: <cover.1682514072.git.zamfofex@HIDDEN>
X-Gnu-PR-Message: ack 63088
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 63088 <at> debbugs.gnu.org
Date: Wed, 26 Apr 2023 13:15:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 63088 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
63088: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63088
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH 1/3] gnu: Add ISPC. * gnu/packages/c.scm (ispc): New variable.
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 26 Apr 2023 13:19:01 +0000
Resent-Message-ID: <handler.63088.B63088.168251508410803 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 63088 <at> debbugs.gnu.org
Cc: zamfofex <zamfofex@HIDDEN>
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.168251508410803
          (code B ref 63088); Wed, 26 Apr 2023 13:19:01 +0000
Received: (at 63088) by debbugs.gnu.org; 26 Apr 2023 13:18:04 +0000
Received: from localhost ([127.0.0.1]:54589 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1prf23-0002oB-RR
	for submit <at> debbugs.gnu.org; Wed, 26 Apr 2023 09:18:04 -0400
Received: from mta-10-3.privateemail.com ([198.54.127.62]:13206)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1prf20-0002nb-55
 for 63088 <at> debbugs.gnu.org; Wed, 26 Apr 2023 09:18:02 -0400
Received: from mta-10.privateemail.com (localhost [127.0.0.1])
 by mta-10.privateemail.com (Postfix) with ESMTP id 424DF18000A7;
 Wed, 26 Apr 2023 09:17:54 -0400 (EDT)
Received: from localhost.localdomain (unknown [187.66.116.196])
 by mta-10.privateemail.com (Postfix) with ESMTPA id 5F6FA18000A1;
 Wed, 26 Apr 2023 09:17:52 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1682515074; bh=6wZNPgMdOFJvFyyDeoucBEQnMDClA6WO0xKmhiMHcHQ=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=GtTe3ic5ei3+mTmzp/pGWPVa3Fzi8kot+wX4R0heG7D/FxHpkPDnU7idQrCtBrh/8
 6z10NmaAcj4dkClgl6doODAzvnZb1chZhwqGodz6D/LR+UPvAjyFrSzsV1GxFTt/TY
 osxVANszl6gxdtph/+cmoG/BCbdJ1qy9ZtfFBf5w0i748oAtGYr+Mpd+hs1Lz6Q1VC
 QCU2JISKeOB3pKoMuw0t/k9NRVWydRN4RaqxAX88z2+aL2nLQXnuthuSpx2ziCtz6L
 5JrHasDvU2X+TCuSnDpZshfJpQhqbWeMj18h4gU+/dvhm3h/O4LaXxeiTCTHURV6pm
 un27sw8PfiP/A==
From: zamfofex <zamfofex@HIDDEN>
Date: Wed, 26 Apr 2023 10:17:37 -0300
Message-Id: <7ad5f28721fe957a4863500b29e31a1191166041.1682514072.git.zamfofex@HIDDEN>
X-Mailer: git-send-email 2.39.2
In-Reply-To: <cover.1682514072.git.zamfofex@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

---
 gnu/packages/c.scm | 63 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index b2f16613dd..28438f56c8 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@HIDDEN>
 ;;; Copyright © 2022 Ekaitz Zarraga <ekaitz@HIDDEN>
 ;;; Copyright © 2022 ( <paren@HIDDEN>
+;;; Copyright © 2023 zamfofex <zamfofex@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -57,7 +58,9 @@ (define-module (gnu packages c)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages m4)
   #:use-module (gnu packages multiprecision)
+  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
@@ -1375,3 +1378,63 @@ (define-public utest-h
       (description
        "This package provides a header-only unit testing library for C/C++.")
       (license license:unlicense))))
+
+(define-public ispc
+  (package
+    (name "ispc")
+    (version "1.19.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ispc/ispc")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yhcgyzjlrgs920lm0l6kygj2skanfb6qkxbdgm69r8c2xkzkaa3"))))
+    (inputs (list ncurses))
+    (native-inputs (list bison clang flex m4 python))
+    (build-system cmake-build-system)
+    (supported-systems '("x86_64-linux" "i686-linux" "aarch64-linux" "armhf-linux"))
+    (arguments `(#:tests? #f
+                 #:configure-flags
+                   `(,,(string-append "-DCMAKE_C_COMPILER=" (cc-for-target))
+                     ,,(string-append "-DCMAKE_CXX_COMPILER=" (cxx-for-target))
+                     ,(string-append "-DCLANG_EXECUTABLE="
+                                     (assoc-ref %build-inputs "clang")
+                                     "/bin/clang")
+                     ,(string-append "-DCLANGPP_EXECUTABLE="
+                                     (assoc-ref %build-inputs "clang")
+                                     "/bin/clang++"))
+                 #:phases
+                   (modify-phases %standard-phases
+                     (add-before 'configure 'patch-curses-requirement
+                       (lambda _
+                         (substitute* "CMakeLists.txt"
+                                      (("\\bCURSES_CURSES_LIBRARY\\b")
+                                        "CURSES_LIBRARY"))))
+                     ; Note: This works around the following issue:
+                     ; <https://github.com/ispc/ispc/issues/1865>
+                     ; Because GCC in Guix does not have multilib support.
+                     (add-before 'configure 'patch-target-archs
+                       (lambda _
+                         (substitute* "cmake/GenerateBuiltins.cmake"
+                                      (("\\bforeach \\(bit 32 64\\)")
+                                        ,(if (target-64bit?)
+                                             "foreach (bit 64)"
+                                             "foreach (bit 32)"))
+                                      (("\\bforeach \\(arch .*?\\)")
+                                        ,(if (target-x86?)
+                                             "foreach (arch \"x86\")"
+                                             "foreach (arch \"arm\")"))
+                                      (("\\bforeach \\(os_name \"windows\" .*?\\)")
+                                        "foreach (os_name \"linux\")")))))))
+    (synopsis "Implicit SPMD Program Compiler")
+    (description
+     "ISPC is a compiler for a variant of the C programming language, with
+extensions for single program, multiple data programming.  Under the SPMD
+model, the programmer writes a program that generally appears to be a regular
+serial program, though the execution model is actually that a number of program
+instances execute in parallel on the hardware.")
+    (home-page "https://github.com/ispc/ispc")
+    (license license:bsd-3)))
-- 
2.39.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH 2/3] gnu: Add oneDNN. * gnu/packages/machine-learning.scm (oneapi-dnnl): New variable.
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 26 Apr 2023 13:19:02 +0000
Resent-Message-ID: <handler.63088.B63088.168251508710818 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 63088 <at> debbugs.gnu.org
Cc: zamfofex <zamfofex@HIDDEN>
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.168251508710818
          (code B ref 63088); Wed, 26 Apr 2023 13:19:02 +0000
Received: (at 63088) by debbugs.gnu.org; 26 Apr 2023 13:18:07 +0000
Received: from localhost ([127.0.0.1]:54592 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1prf27-0002oP-Bh
	for submit <at> debbugs.gnu.org; Wed, 26 Apr 2023 09:18:07 -0400
Received: from mta-10-3.privateemail.com ([198.54.127.62]:21979)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1prf25-0002nj-89
 for 63088 <at> debbugs.gnu.org; Wed, 26 Apr 2023 09:18:05 -0400
Received: from mta-10.privateemail.com (localhost [127.0.0.1])
 by mta-10.privateemail.com (Postfix) with ESMTP id 3FFAE18000A6;
 Wed, 26 Apr 2023 09:17:59 -0400 (EDT)
Received: from localhost.localdomain (unknown [187.66.116.196])
 by mta-10.privateemail.com (Postfix) with ESMTPA id 574A918000A1;
 Wed, 26 Apr 2023 09:17:56 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1682515079; bh=5vzr7WlSxWYMQ2uG302q3VwqfM8YGY8yigODrfcNmKw=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=ozbOO2gJOq4nDFJR6lOyAOu+hVyULOnuZ7MGy0vOrTW5Lh7p0xSqfesgJ99P8Vkol
 k7f3Hoop7U+70I53hh08fEpeOKbGY48DfJfHluNwusiIQ8XOYM6EYglpALt4m18S7O
 JckkxI5AJdPChNA4MCXNt/wxMCi2Zgf0GLLY27CpJOrklFxiuMLz7Xz9tKUFlFyiQP
 uAdXn+KW69chH53bEud8rGPH0aZGEyzz+2/VxBwhcV/Y3cqeZmYYboVPsnf4Y59pmX
 N1i1QzkLFNrlxMeFBM5u1O4jfTmHEIntN6IZzVBUUp6wB/oCqZ/utbEzufmEFn4CxS
 Qxwwx8XNaj0Ng==
From: zamfofex <zamfofex@HIDDEN>
Date: Wed, 26 Apr 2023 10:17:38 -0300
Message-Id: <88074b1c6dedf70ae9fba79d10be89b94e684c79.1682514072.git.zamfofex@HIDDEN>
X-Mailer: git-send-email 2.39.2
In-Reply-To: <cover.1682514072.git.zamfofex@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

---
 gnu/packages/machine-learning.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 37d4ef78ad..a29bb312e6 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2020 Edouard Klein <edk@HIDDEN>
 ;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego <monego@HIDDEN>
 ;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
+;;; Copyright © 2023 zamfofex <zamfofex@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3868,3 +3869,23 @@ (define-public python-brian2tools
 Brian 2 simulator.")
     (license license:cecill)))
 
+(define-public oneapi-dnnl
+  (package
+    (name "oneapi-dnnl")
+    (version "3.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/oneapi-src/oneDNN")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1jgmb5kl0bf4a2zfn94zlb117672r9lvvkkmwl86ihlyr1mpr3d0"))))
+    (build-system cmake-build-system)
+    (home-page "https://github.com/oneapi-src/oneDNN")
+    (synopsis "Deep Neural Network Library")
+    (description
+     "OneAPI Deep Neural Network Library (oneDNN) is a cross-platform
+performance library of basic building blocks for deep learning applications.")
+    (license license:asl2.0)))
-- 
2.39.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH 3/3] gnu: Add Lc0. * gnu/packages/games.scm (lc0): New variable.
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Wed, 26 Apr 2023 13:19:02 +0000
Resent-Message-ID: <handler.63088.B63088.168251509110835 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 63088 <at> debbugs.gnu.org
Cc: zamfofex <zamfofex@HIDDEN>
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.168251509110835
          (code B ref 63088); Wed, 26 Apr 2023 13:19:02 +0000
Received: (at 63088) by debbugs.gnu.org; 26 Apr 2023 13:18:11 +0000
Received: from localhost ([127.0.0.1]:54595 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1prf2A-0002oe-PF
	for submit <at> debbugs.gnu.org; Wed, 26 Apr 2023 09:18:11 -0400
Received: from mta-10-3.privateemail.com ([198.54.127.62]:1461)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1prf28-0002oA-VQ
 for 63088 <at> debbugs.gnu.org; Wed, 26 Apr 2023 09:18:10 -0400
Received: from mta-10.privateemail.com (localhost [127.0.0.1])
 by mta-10.privateemail.com (Postfix) with ESMTP id 9A51318000A1;
 Wed, 26 Apr 2023 09:18:03 -0400 (EDT)
Received: from localhost.localdomain (unknown [187.66.116.196])
 by mta-10.privateemail.com (Postfix) with ESMTPA id B041B18000A2;
 Wed, 26 Apr 2023 09:18:00 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1682515083; bh=h5Ap6x5OpTBowSXCH/omu1SJSlH1dXmaaSv6PgG+bkQ=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=U/Eko//b5olgMQgAUT6aDwi1H9kSgVWuQcWr6Wv3IJPPNuOXt3XJzXoxrjsM5thO4
 cIikXSP9EgvP/KqWW4aoM1MA5UvSg5DXIHyLQ2+4DlyPX77XRGik2bOBE6XRL8/onl
 gESg6ms6R4b1rDWfxejBRf8+WQMMFp89NRAyVJKypp1CMyBS1HnDYDJToSSp9CtJbf
 QSRjZqJwe+3YeG4CdldIosU7mHh/BV15jGQ3zGhJ2liWJWMEWldZNBh/0a+alYbEap
 b8Wgst3sDU9WH0SONv0Mo9++Jr9MRUpPavE0RNGu/9SXNA5bmxJzEMEEN2S7tSfYD5
 KTSy86kmjjnqA==
From: zamfofex <zamfofex@HIDDEN>
Date: Wed, 26 Apr 2023 10:17:39 -0300
Message-Id: <be3972ed787ef023a56892fa826f54a8c4a25eff.1682514072.git.zamfofex@HIDDEN>
X-Mailer: git-send-email 2.39.2
In-Reply-To: <cover.1682514072.git.zamfofex@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

---
 gnu/packages/games.scm | 60 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 59 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 23b6c39c46..9350c9224c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -70,7 +70,7 @@
 ;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@HIDDEN>
 ;;; Copyright © 2022, 2023 Yovan Naumovski <yovan@HIDDEN>
 ;;; Copyright © 2022 Roman Riabenko <roman@HIDDEN>
-;;; Copyright © 2022 zamfofex <zamfofex@HIDDEN>
+;;; Copyright © 2022, 2023 zamfofex <zamfofex@HIDDEN>
 ;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@HIDDEN>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
 ;;; Copyright © 2022 Hendursaga <hendursaga@HIDDEN>
@@ -114,6 +114,7 @@ (define-module (gnu packages games)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages c)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
@@ -166,6 +167,7 @@ (define-module (gnu packages games)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages machine-learning)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages messaging)
@@ -10395,6 +10397,62 @@ (define-public stockfish
       (home-page "https://stockfishchess.org/")
       (license license:gpl3+))))
 
+(define lc0-neural-network
+  (let ((hash
+         "f404e156ceb2882470fd8c032b8754af0fa0b71168328912eaef14671a256e34"))
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://storage.lczero.org/files/networks/"
+                            hash))
+        (sha256
+         (base32
+          "03b9xl9vkiihdilz5dzcpg6g4inb6n4k5gs911i3gbd8h9sh9ixi"))
+        (file-name "lc0-neural-network"))))
+
+(define-public lc0
+  (package
+    (name "lc0")
+    (version "0.29.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/LeelaChessZero/lc0")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1yn91738wd8zlbvrcw0dszy7hqjpkml0wi5xhh36j4zgid6x8i2m"))))
+    (build-system meson-build-system)
+    (native-search-paths
+       (list (search-path-specification
+              (variable "XDG_DATA_DIRS")
+              (files (list "share")))))
+    (inputs
+     `(("neural-network" ,lc0-neural-network)
+       ("eigen" ,eigen)
+       ("oneapi-dnnl" ,oneapi-dnnl)
+       ("zlib" ,zlib)))
+    (native-inputs
+     (list googletest ispc pkg-config python))
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (add-after 'install 'copy-net
+                    (lambda* (#:key outputs inputs #:allow-other-keys)
+                      (mkdir-p (string-append (assoc-ref outputs "out")
+                                              "/share/lc0"))
+                      (copy-file (assoc-ref inputs "neural-network")
+                                 (string-append (assoc-ref outputs "out")
+                                                "/share/lc0/neural-network")))))
+       #:configure-flags (list "-Ddnnl=true"
+                               (string-append
+                                 "-Ddnnl_dir="
+                                 (assoc-ref %build-inputs "oneapi-dnnl")))))
+    (synopsis "Neural network based chess engine")
+    (description "Lc0 is a chess engine based on neural networks")
+    (home-page "https://lczero.org")
+    (license license:gpl3+)))
+
 (define-public barrage
   (package
     (name "barrage")
-- 
2.39.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH 0/3] Add Lc0
Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 11 May 2023 14:30:01 +0000
Resent-Message-ID: <handler.63088.B63088.16838153629439 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: zamfofex <zamfofex@HIDDEN>
Cc: 63088 <at> debbugs.gnu.org
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.16838153629439
          (code B ref 63088); Thu, 11 May 2023 14:30:01 +0000
Received: (at 63088) by debbugs.gnu.org; 11 May 2023 14:29:22 +0000
Received: from localhost ([127.0.0.1]:53102 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1px7II-0002SB-2I
	for submit <at> debbugs.gnu.org; Thu, 11 May 2023 10:29:22 -0400
Received: from mail.envs.net ([5.199.136.28]:47424)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iyzsong@HIDDEN>) id 1px7IF-0002Rz-4L
 for 63088 <at> debbugs.gnu.org; Thu, 11 May 2023 10:29:20 -0400
Received: from localhost (mail.envs.net [127.0.0.1])
 by mail.envs.net (Postfix) with ESMTP id 5C08D38A18B0;
 Thu, 11 May 2023 14:29:16 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa;
 t=1683815356; bh=I8MHPD8qcfsOyfy1hMWDDCVNky/vJKkOJIFStTzuH+w=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=FStw7qAjZwvf0EVHOG3Y23RdLigAONMfW/w1vDa6j9S7KQmo6LJZKEJMh0BN1bIMu
 rnedtYaPwdmenSgWaeIukfC4Z0QN6K08Kx0oU7mBGz+U3o2niyVMLPogGUos0tekiX
 TFfN12M9bZIhm8uJZBP8Dv0a3KUqm2kZNhDt7+N0WXAaFtbgP7yx8F2ohjjvnJjdPU
 KnbUz+bIBNVeq6INuWYEUGogDre38jN472RfS6tByDZBeTCXKts5XHUm6NYWfBtNFF
 yBPnTZPpSIzOAORT9F6Zw4K3ELy9uIdh4hN5sDBxC3pyZ5QQTPIzA9c9eGZkfpn+nz
 bBSOnfOKX2C3DzfTmNYh1YVXVDK/Ulla11JD7F+GUlONY1kmGKVeT1I4YmnpQN9qRF
 NWv2SH44LuYkbtP0EvMkRrTGYJQggWS7BkQ4glERrBo1SJlrqbfEguOkwMhwSZvFYA
 dDlIUgDk+FeB0oA4oH1/1DaRWyhAm5hbqnmZoGp9UNUVSJjYEcJVKl+A5c+T/QOSTh
 PKIIylX2ZSsIPoZVwxnH5qZQkVUUy+abcv+1AvKyzxUiRjd50ElWH892e1sKklSSlJ
 uL7owaPyrbyevUGnm/48uG0rKSexRbHPXD8jGNG2AXbzulTmYb3EsQf+APcP02PdOi
 39qWbzI72U00HeVrM+SLvcGE=
X-Virus-Scanned: Debian amavisd-new at mail.envs.net
Received: from mail.envs.net ([127.0.0.1])
 by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id w3GP0xtxPUP1; Thu, 11 May 2023 14:29:12 +0000 (UTC)
Received: from localhost (unknown [36.170.44.145])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mail.envs.net (Postfix) with ESMTPSA;
 Thu, 11 May 2023 14:29:12 +0000 (UTC)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id c74dfd7a;
 Thu, 11 May 2023 14:29:06 +0000 (UTC)
From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
 <be3972ed787ef023a56892fa826f54a8c4a25eff.1682514072.git.zamfofex@HIDDEN>
Date: Thu, 11 May 2023 22:29:06 +0800
In-Reply-To: <be3972ed787ef023a56892fa826f54a8c4a25eff.1682514072.git.zamfofex@HIDDEN>
 (zamfofex@HIDDEN's message of "Wed, 26 Apr 2023 10:17:39 -0300")
Message-ID: <87fs83yma5.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hello, I have pushed ispc and oneapi-dnnl, thank you!


zamfofex <zamfofex@HIDDEN> writes:
> +(define lc0-neural-network
> +  (let ((hash
> +         "f404e156ceb2882470fd8c032b8754af0fa0b71168328912eaef14671a256e34"))
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append "https://storage.lczero.org/files/networks/"
> +                            hash))
> +        (sha256
> +         (base32
> +          "03b9xl9vkiihdilz5dzcpg6g4inb6n4k5gs911i3gbd8h9sh9ixi"))
> +        (file-name "lc0-neural-network"))))

Will we able to train a model from source?  And how much will it cost?

As far as I know, guix haven't decided to accept pre-trained models:

https://yhetil.org/guix/xanfHBZT3lYlyrr_OqHHMWkunLeZZlcxzY37_T3TeZo7mfJClD5-OTbkXDH2f3lMTkn94YIFVUj-Z31BP2Wj0W2rISNP6glC2PzXcPdb560=@protonmail.com/




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH 0/3] Add Lc0
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 11 May 2023 21:26:01 +0000
Resent-Message-ID: <handler.63088.B63088.1683840344707 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
Cc: 63088 <at> debbugs.gnu.org
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.1683840344707
          (code B ref 63088); Thu, 11 May 2023 21:26:01 +0000
Received: (at 63088) by debbugs.gnu.org; 11 May 2023 21:25:44 +0000
Received: from localhost ([127.0.0.1]:53565 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pxDnD-0000BK-N4
	for submit <at> debbugs.gnu.org; Thu, 11 May 2023 17:25:44 -0400
Received: from mta-08-3.privateemail.com ([198.54.127.61]:22479)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1pxDnB-0000B6-I2
 for 63088 <at> debbugs.gnu.org; Thu, 11 May 2023 17:25:42 -0400
Received: from mta-08.privateemail.com (localhost [127.0.0.1])
 by mta-08.privateemail.com (Postfix) with ESMTP id ABBF418000A4;
 Thu, 11 May 2023 17:25:34 -0400 (EDT)
Received: from APP-05 (unknown [10.50.14.155])
 by mta-08.privateemail.com (Postfix) with ESMTPA id 85C7A18000A2;
 Thu, 11 May 2023 17:25:33 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1683840334; bh=VjZhOV/VSwaNlrc0eCaakS81kQjd9KgljKxLKJ5kUo8=;
 h=Date:From:To:Cc:In-Reply-To:References:Subject:From;
 b=N+DRZnz+m8p7eE7ak2ZOw3UJxCd11Wmf5EY5CndKwtwR+9/w7FUGGcGlS26IRe6RU
 hvNge+YXyjOw9kxZ0cwA0pgU3D7wtFw+v5NdKvHXJsR9Aof8zG5X+BY40CFwI3V9KN
 ul9zBqr0y8nCoEbi9PUBXyeja7+SEBQRswLL47b6t6038JNYvrNRhVAaDo84H42lP4
 4pCUuRTf4UGeLaUvGACJycv3/8qcGf7S4lKjMyJ6upV3v4sD1sC5yRM1O77pRcIAGH
 mFRDd9WonHN/kObYUyShlMKfeuzgZBMgeYtJ3nXyqxKb0IG9Pvoa3e2BZaMWfiTPqp
 JuuAyRkKEfS3Q==
Date: Thu, 11 May 2023 18:25:33 -0300 (BRT)
From: zamfofex <zamfofex@HIDDEN>
Message-ID: <1309432614.1423878.1683840333514@HIDDEN>
In-Reply-To: <87fs83yma5.fsf_-_@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
 <be3972ed787ef023a56892fa826f54a8c4a25eff.1682514072.git.zamfofex@HIDDEN>
 <87fs83yma5.fsf_-_@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Normal
X-Mailer: Open-Xchange Mailer v7.10.6-Rev41
X-Originating-Client: open-xchange-appsuite
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> Will we able to train a model from source?  And how much will it cost?
>=20
> As far as I know, guix haven't decided to accept pre-trained models:
>=20
> https://yhetil.org/guix/xanfHBZT3lYlyrr_OqHHMWkunLeZZlcxzY37_T3TeZo7mfJCl=
D5-OTbkXDH2f3lMTkn94YIFVUj-Z31BP2Wj0W2rISNP6glC2PzXcPdb560=3D@HIDDEN=
m/

I don=E2=80=99t think it is feasible. Lc0=E2=80=99s approach is based on se=
lf=E2=80=90play reinforcement=E2=80=90learning, which in effect means that =
training starts with no knowledge about chess except for its rules (playing=
 seemingly random moves), and going from there to learn increasingly more a=
bout it. So, in practice, this means it would take multiple months or at le=
ast several weeks to attain a neural network model that is anywhere close t=
o as effective as the ones provided and pre=E2=80=90trained. Besides, I bel=
ieve training requires a (reasonably decent) GPU.

But the network isn=E2=80=99t prohibitively large and its license is not pr=
oprietary. I=E2=80=99ll also note that Stockfish (packaged immediately abov=
e my Lc0 package) *does* itself include a provided pre=E2=80=90trained netw=
ork and no=E2=80=90one has really complained about it, so I think it should=
 be fine here too.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH 0/3] Add Lc0
Resent-From: Simon Tournier <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 16 May 2023 15:07:04 +0000
Resent-Message-ID: <handler.63088.B63088.16842495927172 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: zamfofex <zamfofex@HIDDEN>, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
Cc: 63088 <at> debbugs.gnu.org
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.16842495927172
          (code B ref 63088); Tue, 16 May 2023 15:07:04 +0000
Received: (at 63088) by debbugs.gnu.org; 16 May 2023 15:06:32 +0000
Received: from localhost ([127.0.0.1]:46910 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pywFz-0001rV-SP
	for submit <at> debbugs.gnu.org; Tue, 16 May 2023 11:06:32 -0400
Received: from mail-wm1-f45.google.com ([209.85.128.45]:41275)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pywFu-0001qe-N8
 for 63088 <at> debbugs.gnu.org; Tue, 16 May 2023 11:06:28 -0400
Received: by mail-wm1-f45.google.com with SMTP id
 5b1f17b1804b1-3f475364065so14833565e9.1
 for <63088 <at> debbugs.gnu.org>; Tue, 16 May 2023 08:06:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1684249581; x=1686841581;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=Z4/vXOvNFet5Oubapc/whC73w8ebaV37iElmeaq91AM=;
 b=Lf47MJelvxdbcx6AGsVwnEw46jth8m9a31F0MxWKzlPxH28zj8ruL71QE3gfjCfg6l
 /C6+GpIpybQRnk8pi9oxF01h4QMpp2WlIkzT1qAaVCjwxIkCsyhhhQ4QCytKyFreOEkl
 MnJv5DDAsQ6c8lhTRo6z6asUoc87kSmP4Wsp9zZ0KazCcx/X7Pr0KOxW70Gy7hyxciiq
 diV8h5t83xMpGMjhoVfuSuYGV4Yvc55caNMNDwI6OPMq2GQqOzdZOSzfbb93xFW8BEA+
 L/GPKwC6t4BSu05Nv6038gqZ74sHjsu+kCZfbXCyJToSw6F0JyvWjXH9eK0SMK/6NaBi
 2C6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1684249581; x=1686841581;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=Z4/vXOvNFet5Oubapc/whC73w8ebaV37iElmeaq91AM=;
 b=NkdPr3oZ6vQeI4RPllEqsawu0SC94mlKzOkYYaL15m3XnwcqFbmlzEso+yF3m7add8
 d/1Rad+Xwf7WrnL7YlUfzzkfTs2EHAm4Tw8lq5/7TXhxXw05nWmwE2i7a4GAfvUmiDMz
 e/xzEotMmt5fSBCcsRw0qzraiSHnZAaW73Zs/uDy/1PhzQat9jLwFUj0+nmXOj2pcSGO
 T6K3Lt8sV0cU7KVPsQg+5O9Tkx7H9Bm134BN8qozQBX+s4lYNFQ/9DO+axcxAiRYBv31
 dr8vU4Aw1P8WXgY+3inIUrdq1whqf27DP2s5x0SgKU4ezzCuPflczaT4pXPDDF26JmaD
 HqMA==
X-Gm-Message-State: AC+VfDwW9/E6eu8UpGG+9W2C1vLRqmxaLy7AogIFh1tl/rPkVD3gt79s
 /w3Y/wkgAZY9QABbha13UWETuxpO5GU=
X-Google-Smtp-Source: ACHHUZ4RgwssLnZURfVxmezWrhV4hqLvBBJsZZ0/VrhqPfSLl/Yonb9giNU/1SmDlohqlCfIKLIMSw==
X-Received: by 2002:a5d:4fcf:0:b0:2c7:1c72:699f with SMTP id
 h15-20020a5d4fcf000000b002c71c72699fmr2437022wrw.4.1684249580199; 
 Tue, 16 May 2023 08:06:20 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id
 d10-20020adffd8a000000b002f22c44e974sm2837221wrr.102.2023.05.16.08.06.19
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 16 May 2023 08:06:19 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
In-Reply-To: <1309432614.1423878.1683840333514@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
 <be3972ed787ef023a56892fa826f54a8c4a25eff.1682514072.git.zamfofex@HIDDEN>
 <87fs83yma5.fsf_-_@HIDDEN>
 <1309432614.1423878.1683840333514@HIDDEN>
Date: Tue, 16 May 2023 14:16:25 +0200
Message-ID: <86leho79pi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On Thu, 11 May 2023 at 18:25, zamfofex <zamfofex@HIDDEN> wrote:
>> Will we able to train a model from source?  And how much will it cost?
>>=20
>> As far as I know, guix haven't decided to accept pre-trained models:
>>=20
>> https://yhetil.org/guix/xanfHBZT3lYlyrr_OqHHMWkunLeZZlcxzY37_T3TeZo7mfJC=
lD5-OTbkXDH2f3lMTkn94YIFVUj-Z31BP2Wj0W2rISNP6glC2PzXcPdb560=3D@HIDDEN=
om/
>
> I don=E2=80=99t think it is feasible. Lc0=E2=80=99s approach is based on =
self=E2=80=90play
> reinforcement=E2=80=90learning, which in effect means that training starts
> with no knowledge about chess except for its rules (playing seemingly
> random moves), and going from there to learn increasingly more about
> it. So, in practice, this means it would take multiple months or at
> least several weeks to attain a neural network model that is anywhere
> close to as effective as the ones provided and pre=E2=80=90trained. Besid=
es, I
> believe training requires a (reasonably decent) GPU.

I concur.


> But the network isn=E2=80=99t prohibitively large and its license is not
> proprietary. I=E2=80=99ll also note that Stockfish (packaged immediately =
above
> my Lc0 package) *does* itself include a provided pre=E2=80=90trained netw=
ork
> and no=E2=80=90one has really complained about it, so I think it should be
> fine here too.

I will try to dedicate some time for reviewing this patch set.


Cheers,
simon





Message sent to liliana.prikler@HIDDEN, iyzsong@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH] Add Lc0.
References: <cover.1682514072.git.zamfofex@HIDDEN>
In-Reply-To: <cover.1682514072.git.zamfofex@HIDDEN>
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: liliana.prikler@HIDDEN, iyzsong@HIDDEN, guix-patches@HIDDEN
Resent-Date: Thu, 27 Jul 2023 23:35:02 +0000
Resent-Message-ID: <handler.63088.B63088.169050088814622 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 63088 <at> debbugs.gnu.org
Cc: zamfofex <zamfofex@HIDDEN>, zimon.toutoune@HIDDEN, Liliana Marie Prikler <liliana.prikler@HIDDEN>, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
X-Debbugs-Original-Xcc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.169050088814622
          (code B ref 63088); Thu, 27 Jul 2023 23:35:02 +0000
Received: (at 63088) by debbugs.gnu.org; 27 Jul 2023 23:34:48 +0000
Received: from localhost ([127.0.0.1]:43287 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qPAVL-0003nl-ST
	for submit <at> debbugs.gnu.org; Thu, 27 Jul 2023 19:34:48 -0400
Received: from mta-09-4.privateemail.com ([198.54.127.118]:26367)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1qPAVG-0003nV-J4
 for 63088 <at> debbugs.gnu.org; Thu, 27 Jul 2023 19:34:46 -0400
Received: from mta-09.privateemail.com (localhost [127.0.0.1])
 by mta-09.privateemail.com (Postfix) with ESMTP id 8242F180007F;
 Thu, 27 Jul 2023 19:34:36 -0400 (EDT)
Received: from smtp.gmail.com (unknown [186.222.85.100])
 by mta-09.privateemail.com (Postfix) with ESMTPA id 5BCB91800079;
 Thu, 27 Jul 2023 19:34:33 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1690500876; bh=3wKg9X4GdZG5nSF2AZ3V0tpll1tJ+HLuX5Hf9ZiH4DE=;
 h=From:To:Cc:Subject:Date:From;
 b=HoQ99i5iK4KLhnhA2uZGLQx3BeM9ogo+vzJ5E2gQqcIdOpxGMg+cDLHJe8U+PLVvk
 v3nft7nbu24wYawY1j0+t7MvHZZbbupn+J8KMK7hjyjVGVkypa2ZZab9VoPXXdfBdO
 0nHu8J8f1zsY7iJxxSsw4p4YDxlDVfjX/+K5NFgjxoVSS5kemkmHVDry0I8uHBtSGs
 mQESkK8/h6r+jcZFa59UMm8owqXcxEOFswzOCJx+xAwFJV0CdcMPf1ZYvsHfveoP61
 XbMMC7mhwFu9wvMv4ztjdtDVZ6tTP/0eusZri/n+HERKW0nAmfjyYg/kLAvXaZAX2g
 TbyaoltNh1oSg==
From: zamfofex <zamfofex@HIDDEN>
Date: Thu, 27 Jul 2023 20:34:05 -0300
Message-Id: <c666b6b3bcf8652d875477fd6b5c8f2858b31077.1690500537.git.zamfofex@HIDDEN>
X-Mailer: git-send-email 2.40.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lc0 recently released version 0.30.0, so here is a patch with the updates version (in case the issue regarding the network’s inclusion is ever resolved).

Also, I wanted to say: Is it reasonable to include Lc0 without the networks in? People can still download and use them, they just wouldn’t be included in Guix itself.

Note that, unlike Stockfish, Lc0 does run without the neural networks, so it would be necessary for the user to download or otherwise acquire one by themself in order to use Lc0. The user can choose an appropriate network in their chess GUI program when configuring Lc0 in it.

If this is more desireable, I can submit a patch without the trained neural network, which would allow the user to choose whichever one they might want.

Thanks in advance!

* gnu/packages/games.scm (lc0): New variable.
---
 gnu/packages/games.scm | 58 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index cc6bef1114..21aa370701 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -118,6 +118,7 @@ (define-module (gnu packages games)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages c)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
@@ -171,6 +172,7 @@ (define-module (gnu packages games)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages machine-learning)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages messaging)
@@ -10285,6 +10287,62 @@ (define-public stockfish
       (home-page "https://stockfishchess.org/")
       (license license:gpl3+))))
 
+(define lc0-neural-network
+  (let ((hash
+         "f404e156ceb2882470fd8c032b8754af0fa0b71168328912eaef14671a256e34"))
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://storage.lczero.org/files/networks/"
+                            hash))
+        (sha256
+         (base32
+          "03b9xl9vkiihdilz5dzcpg6g4inb6n4k5gs911i3gbd8h9sh9ixi"))
+        (file-name "lc0-neural-network"))))
+
+(define-public lc0
+  (package
+    (name "lc0")
+    (version "0.30.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/LeelaChessZero/lc0")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1m7k8m8iz4pxv3h9g2j1dkgryi4k9c1bcg3fx5j7ii4ysif63kj3"))))
+    (build-system meson-build-system)
+    (native-search-paths
+       (list (search-path-specification
+              (variable "XDG_DATA_DIRS")
+              (files (list "share")))))
+    (inputs
+     `(("neural-network" ,lc0-neural-network)
+       ("eigen" ,eigen)
+       ("oneapi-dnnl" ,oneapi-dnnl)
+       ("zlib" ,zlib)))
+    (native-inputs
+     (list googletest ispc pkg-config python))
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (add-after 'install 'copy-net
+                    (lambda* (#:key outputs inputs #:allow-other-keys)
+                      (mkdir-p (string-append (assoc-ref outputs "out")
+                                              "/share/lc0"))
+                      (copy-file (assoc-ref inputs "neural-network")
+                                 (string-append (assoc-ref outputs "out")
+                                                "/share/lc0/neural-network")))))
+       #:configure-flags (list "-Ddnnl=true"
+                               (string-append
+                                 "-Ddnnl_dir="
+                                 (assoc-ref %build-inputs "oneapi-dnnl")))))
+    (synopsis "Neural network based chess engine")
+    (description "Lc0 is a chess engine based on neural networks")
+    (home-page "https://lczero.org")
+    (license license:gpl3+)))
+
 (define-public barrage
   (package
     (name "barrage")

base-commit: c7e45139faa27b60f2c7d0a4bc140f9793d97d47
-- 
2.40.1





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH] Add Lc0.
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 28 Jul 2023 00:25:02 +0000
Resent-Message-ID: <handler.63088.B63088.169050385719407 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 63088 <at> debbugs.gnu.org
Cc: zimon.toutoune@HIDDEN
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.169050385719407
          (code B ref 63088); Fri, 28 Jul 2023 00:25:02 +0000
Received: (at 63088) by debbugs.gnu.org; 28 Jul 2023 00:24:17 +0000
Received: from localhost ([127.0.0.1]:43293 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qPBHE-00052w-Gq
	for submit <at> debbugs.gnu.org; Thu, 27 Jul 2023 20:24:17 -0400
Received: from mta-15-4.privateemail.com ([198.54.127.111]:31272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1qPBHA-00052f-6P
 for 63088 <at> debbugs.gnu.org; Thu, 27 Jul 2023 20:24:15 -0400
Received: from mta-15.privateemail.com (localhost [127.0.0.1])
 by mta-15.privateemail.com (Postfix) with ESMTP id 1933F18000B3;
 Thu, 27 Jul 2023 20:24:06 -0400 (EDT)
Received: from APP-01 (unknown [10.50.14.151])
 by mta-15.privateemail.com (Postfix) with ESMTPA id DED2D18000B0;
 Thu, 27 Jul 2023 20:24:04 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1690503845; bh=iShWdO3ZpBDMZiOHUZCEw4eprRlaTKgqehdGPW2AMTg=;
 h=Date:From:To:Cc:In-Reply-To:References:Subject:From;
 b=N71pRAQcI7zHqRLGIs9d6iidMr4reCxdEZbvRZqZ33taC/WYFMO3ETZoEWHWuBwax
 Em6lsRcc2vmqykIySFrNzN6ZUeGVeNzdj9n5TQ10AsZgQ8R0BpP4S7Nz/nYnHyNCrT
 8ZO72IReLIPuaVlEHba+RIVldlepYMqB4RKjwt5AvXvKZPJlnTJIi2+2BxVx1jdpsv
 pY9mKj2z718Vb6NCc9uKN4AUb83wV33/oxWMhrq0XbH58J22SiCspovuVmZwzCEld5
 lhu7dDnzyBw1ngpdQqyFvAHI4D05BsVFmMl86FaHYIl9SohUP9qXxj9luQKhFw9KBx
 3yhSi9XNkyjYA==
Date: Thu, 27 Jul 2023 21:24:04 -0300 (BRT)
From: zamfofex <zamfofex@HIDDEN>
Message-ID: <84991824.425843.1690503844855@HIDDEN>
In-Reply-To: <c666b6b3bcf8652d875477fd6b5c8f2858b31077.1690500537.git.zamfofex@HIDDEN>
References: <c666b6b3bcf8652d875477fd6b5c8f2858b31077.1690500537.git.zamfofex@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Normal
X-Mailer: Open-Xchange Mailer v7.10.6-Rev48
X-Originating-Client: open-xchange-appsuite
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> Note that, unlike Stockfish, Lc0 does run without the neural networks

Sorry, I meant to say =E2=80=9CLc0 does *not* run without the neural networ=
ks=E2=80=9D. (=E2=80=9CNot=E2=80=9D is a fairly important word to have forg=
otten!)




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH] Add Lc0.
Resent-From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 28 Jul 2023 04:25:01 +0000
Resent-Message-ID: <handler.63088.B63088.169051824910891 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: zamfofex <zamfofex@HIDDEN>, 63088 <at> debbugs.gnu.org
Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>, zimon.toutoune@HIDDEN
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.169051824910891
          (code B ref 63088); Fri, 28 Jul 2023 04:25:01 +0000
Received: (at 63088) by debbugs.gnu.org; 28 Jul 2023 04:24:09 +0000
Received: from localhost ([127.0.0.1]:43422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qPF1J-0002pY-HI
	for submit <at> debbugs.gnu.org; Fri, 28 Jul 2023 00:24:09 -0400
Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]:45142)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1qPF1E-0002p1-Up
 for 63088 <at> debbugs.gnu.org; Fri, 28 Jul 2023 00:24:04 -0400
Received: by mail-ej1-x642.google.com with SMTP id
 a640c23a62f3a-99357737980so235078366b.2
 for <63088 <at> debbugs.gnu.org>; Thu, 27 Jul 2023 21:24:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1690518235; x=1691123035;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=JRFZOObbVV2NS/n4NuG/1pbum6E4SFk01oc+oHISW7Y=;
 b=CUvlK60A+qCimRr5E4GVfxiurrlTTVBgwKQy+I6ncMM8A/sLLGAkzhtArr5FPP7qUS
 PS/VOL/ejajAT+y/rsaZ0eLXrEj/UeytIZRC/nNzFdDfK2LVWx6JJnX7U+nw0G2Fh0de
 rHxbU8OtO5R8DZWpGer75fTzWbOXgz6QYndZQ4IKFIGRpECl7MDOPdFjXbF6QNn4C10K
 8Cw9gZJI7nu7ffnyddcEJ3uE6QPWnOnPvUBxAKCPj6RjNnEcHd2gkpInSpW1k4Di6wE+
 807MNSnJmix04mFjc3CRmYg9N+D9NPH9Uy95bGtBUiEk/iqjJGwDlWMbwV84cb5k2G6l
 +QZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1690518235; x=1691123035;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=JRFZOObbVV2NS/n4NuG/1pbum6E4SFk01oc+oHISW7Y=;
 b=UWTeyaDUhxwBD0Lf1a1PPT74v5Z2gUX0o3VPXRlBSGa9ZPSaAgAn+L112On9Y6BIBg
 yHMmAdYwN4S2na8YGox9d4jv1at37L8b8u87FIQHx5h9lZlZ8M3NRQoLTq8oXQRU+Qob
 xhXeJvw6Kk40dgfZU6V/5S6GaVHChjqt93sQHMgSfZia1lqX9IKnaWQBPoin3oieUJcV
 SBvxadDIOGLIK+rFnGm/bNmuS8temEx8JVQbLkQekDcxNyOrTIvcdFH15EGixG3onwNp
 25MuYTtqF/GbPWisZeMMAKRZYXNi7nvdHu9BXEv4UaSkn5LO9HqjdRRVcDnmBKV0y509
 2RzQ==
X-Gm-Message-State: ABy/qLbpKkJkV2PYNRZyoUFYovT83VrQXreiBt+5PIx+CshSFEof2JXP
 eqA1vkzkUC1UG9FKO43yjTA=
X-Google-Smtp-Source: APBJJlFfvGeM1WNnm0YQFRcO2Hku8TsJQObZRMLesVjXtxkwmpnV7cz2Zlt9J1pMr7cDNNpP6Ay0yQ==
X-Received: by 2002:a17:907:a087:b0:99b:e09b:17ef with SMTP id
 hu7-20020a170907a08700b0099be09b17efmr1241900ejc.71.1690518234546; 
 Thu, 27 Jul 2023 21:23:54 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 f19-20020a170906495300b00992c4103cb5sm1541850ejt.129.2023.07.27.21.23.53
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 27 Jul 2023 21:23:54 -0700 (PDT)
Message-ID: <e72eb5eb74d232254ef6348b8120b90dabb79e3b.camel@HIDDEN>
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Date: Fri, 28 Jul 2023 06:23:53 +0200
In-Reply-To: <c666b6b3bcf8652d875477fd6b5c8f2858b31077.1690500537.git.zamfofex@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
 <c666b6b3bcf8652d875477fd6b5c8f2858b31077.1690500537.git.zamfofex@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.46.4 
MIME-Version: 1.0
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

QW0gRG9ubmVyc3RhZywgZGVtIDI3LjA3LjIwMjMgdW0gMjA6MzQgLTAzMDAgc2NocmllYiB6YW1m
b2ZleDoKPiBOb3RlIHRoYXQsIHVubGlrZSBTdG9ja2Zpc2gsIExjMCBkb2VzIHJ1biB3aXRob3V0
IHRoZSBuZXVyYWwKPiBuZXR3b3Jrcywgc28gaXQgd291bGQgYmUgbmVjZXNzYXJ5IGZvciB0aGUg
dXNlciB0byBkb3dubG9hZCBvcgo+IG90aGVyd2lzZSBhY3F1aXJlIG9uZSBieSB0aGVtc2VsZiBp
biBvcmRlciB0byB1c2UgTGMwLgpUaGlzIHNlbnRlbmNlIGxvb2tzIHNlbWFudGljYWxseSBpbmNv
cnJlY3QuCgo+IFRoZSB1c2VyIGNhbiBjaG9vc2UgYW4gYXBwcm9wcmlhdGUgbmV0d29yayBpbiB0
aGVpciBjaGVzcyBHVUkgcHJvZ3JhbQo+IHdoZW4gY29uZmlndXJpbmcgTGMwIGluIGl0Lgo+IAo+
IElmIHRoaXMgaXMgbW9yZSBkZXNpcmVhYmxlLCBJIGNhbiBzdWJtaXQgYSBwYXRjaCB3aXRob3V0
IHRoZSB0cmF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N:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH] Add Lc0.
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 28 Jul 2023 18:15:01 +0000
Resent-Message-ID: <handler.63088.B63088.16905680779905 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 63088 <at> debbugs.gnu.org
Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>, zimon.toutoune@HIDDEN
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.16905680779905
          (code B ref 63088); Fri, 28 Jul 2023 18:15:01 +0000
Received: (at 63088) by debbugs.gnu.org; 28 Jul 2023 18:14:37 +0000
Received: from localhost ([127.0.0.1]:46095 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qPRz2-0002Zg-Of
	for submit <at> debbugs.gnu.org; Fri, 28 Jul 2023 14:14:37 -0400
Received: from mta-07-3.privateemail.com ([198.54.118.214]:32214)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1qPRz0-0002ZT-3R
 for 63088 <at> debbugs.gnu.org; Fri, 28 Jul 2023 14:14:35 -0400
Received: from mta-07.privateemail.com (localhost [127.0.0.1])
 by mta-07.privateemail.com (Postfix) with ESMTP id B981018000B7;
 Fri, 28 Jul 2023 14:14:27 -0400 (EDT)
Received: from APP-01 (unknown [10.50.14.151])
 by mta-07.privateemail.com (Postfix) with ESMTPA id 76BCF18000B5;
 Fri, 28 Jul 2023 14:14:24 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1690568067; bh=XfCK7I7xUVxkONgR2Vul2kRlyCxWr2t7CkV9MPk7e6w=;
 h=Date:From:To:Cc:In-Reply-To:References:Subject:From;
 b=hfYhtAL+BVTXlYrRjNlIsnRwLy4v8SV3ftVffXhQsI6YwZB7TPsrRiDLABoQulK4W
 UfNZfbKpVjOsP4F4C/4hDAyorAtCa+2PNuZ/vjaZI+BIU62fGeeXlx7EMbgTSG/eFa
 NM8baG+pmKGNfG/auXd5W5qn+kAFVAaoaxQT0rv0LYUzrzK8+L/0wKi25PMDEghQyj
 Gz+pWBExnQnFTVSQhcjKDarVN7T/QbcxI7wOEBVtXkdvQ8cz3qzImb8nDlIjM/kw42
 +Y8t5kfFYGH02OcgqH6foSwvJt6sNJuDzIZZNO0+mj1eZCbbaR2Ze9xNNJ+xzqQ5FG
 /2Yxk6aQAzAVw==
Date: Fri, 28 Jul 2023 15:14:24 -0300 (BRT)
From: zamfofex <zamfofex@HIDDEN>
Message-ID: <937633202.490696.1690568064431@HIDDEN>
In-Reply-To: <e72eb5eb74d232254ef6348b8120b90dabb79e3b.camel@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
 <c666b6b3bcf8652d875477fd6b5c8f2858b31077.1690500537.git.zamfofex@HIDDEN>
 <e72eb5eb74d232254ef6348b8120b90dabb79e3b.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Normal
X-Mailer: Open-Xchange Mailer v7.10.6-Rev48
X-Originating-Client: open-xchange-appsuite
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> This sentence looks semantically incorrect.

Yes, sorry! I guess you didn=E2=80=99t receive my correction email. (I=E2=
=80=99m still bad at sending emails properly, it seems.) See: <https://issu=
es.guix.gnu.org/63088#8> I had meant =E2=80=9CLc0 does *not* run without th=
e neural networks=E2=80=9D.

> Providing a default, if it can be bootstrapped, but allowing the user to =
choose would be the best option.

I don=E2=80=99t think a default can be easily bootstrapped. When I first su=
bmitted the patch, I talked with some of the Lc0 developers, and they said =
it might be possible to bootstrap one by using Stockfish in several minutes=
, but there is no code that does that currrently (it would have to be writt=
en and is nontrivial). And it wouldn=E2=80=99t be as effective as the exist=
ing networks, because Stockfish=E2=80=99s evaluation provides less informat=
ion than Lc0=E2=80=99s is able to use.

In any case, that feels entirely redundant, because Stockfish=E2=80=99s NNU=
E networks were trained on Lc0=E2=80=99s anyway, so it seems to be only add=
ing a layer of complexity for no seemingly good reason.

If this concern can be addressed somehow, I can submit a followup patch. (E=
ither just fixing the wording, or also removing the networks.)




Message sent to liliana.prikler@HIDDEN, iyzsong@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH v2] gnu: Add Lc0.
References: <cover.1682514072.git.zamfofex@HIDDEN>
In-Reply-To: <cover.1682514072.git.zamfofex@HIDDEN>
Resent-From: iyzsong@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: liliana.prikler@HIDDEN, iyzsong@HIDDEN, guix-patches@HIDDEN
Resent-Date: Thu, 07 Sep 2023 10:24:02 +0000
Resent-Message-ID: <handler.63088.B63088.169408219120570 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 63088 <at> debbugs.gnu.org
Cc: zamfofex <zamfofex@HIDDEN>, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>, Liliana Marie Prikler <liliana.prikler@HIDDEN>, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
X-Debbugs-Original-Xcc: Liliana Marie Prikler <liliana.prikler@HIDDEN>, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.169408219120570
          (code B ref 63088); Thu, 07 Sep 2023 10:24:02 +0000
Received: (at 63088) by debbugs.gnu.org; 7 Sep 2023 10:23:11 +0000
Received: from localhost ([127.0.0.1]:38686 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qeCAJ-0005Lh-3T
	for submit <at> debbugs.gnu.org; Thu, 07 Sep 2023 06:23:11 -0400
Received: from mail.envs.net ([5.199.136.28]:51242)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <iyzsong@HIDDEN>) id 1qeCAD-0005LN-Vk
 for 63088 <at> debbugs.gnu.org; Thu, 07 Sep 2023 06:23:09 -0400
Received: from localhost (mail.envs.net [127.0.0.1])
 by mail.envs.net (Postfix) with ESMTP id 387C438A0132;
 Thu,  7 Sep 2023 10:23:02 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa;
 t=1694082182; bh=EnyiY1KcTNMn4QvvZGxTs6yr8QaFJlaQK1CyzJrDp9Y=;
 h=From:To:Cc:Subject:Date:From;
 b=qokGHs/Sl+jzqi44lvMaA2tsGMn3Abw4pJRUjgWfZ0JeJJ/tLDe5OUffXYT6TeAa8
 Y56VFiHfKH//Czp1ZaC9Nut64xN1wvxlxz20FN+srUbJYQ1ORV0RXeGF7LBwAsegkb
 eKoDfkBcI8GRm2c2h4NPor55zzfrYegylEWyQn+fnOs/TSSk7i7d5SRR9XvSoe0y6G
 auQrku8LcqRhNB1ZhWo+IO1Eo69nir4wvNCThK4JSjf0cyah7U2fjTzw4CvyQPgYLf
 VPxMRZodw4O9nNptkBa+VUnwkKeHDg6J02nsDV9MQdhm5vk7acnixdfH+pGxmV/IHq
 77rGN2FsLJJn+VY0N+Gy8iHbXz1Jr9lS95NSiJabN14MBUO45SLH9wFeXkVYM9bbHj
 5p2KQMjXm3k60qqXvLjwGAdaoFfOk+OAkNOmucEjqxkfIVYt9k2GqB0gQJACPRsMlb
 gqUxIr03pMeih1geUs0uE+HKR4v6i5Ey3xIfF8fXJkMSMUHQVEI+kIfN74fRnGK3dm
 25YNnr+rtYvYJHFOvDryr9PqZUHRoC+pzADwq+71oRWDQKTIUTky9yj4XF/yeiuZ0F
 YHIp6LELxl9JGTRmltChihDfDt5vhB3Wnc+A3w1lznVvpgfi47GFaN1d5NPIph7kLj
 T6f4tGYbWe4qvP/Ia75ALkpY=
X-Virus-Scanned: Debian amavisd-new at mail.envs.net
Received: from mail.envs.net ([127.0.0.1])
 by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id XSbubCuumQXB; Thu,  7 Sep 2023 10:22:56 +0000 (UTC)
Received: from localhost (unknown [117.174.235.153])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mail.envs.net (Postfix) with ESMTPSA;
 Thu,  7 Sep 2023 10:22:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id be9dfa1f;
 Thu, 7 Sep 2023 10:23:13 +0000 (UTC)
From: iyzsong@HIDDEN
Date: Thu,  7 Sep 2023 18:23:11 +0800
Message-ID: <3cc41c81a301fb53c564508d3cbcf92270695d1b.1694082083.git.iyzsong@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: zamfofex <zamfofex@HIDDEN>

* gnu/packages/games.scm (lc0): New variable.

Signed-off-by: 宋文武 <iyzsong@HIDDEN>
---
 gnu/packages/games.scm | 59 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 760234b031..f82f1dcc52 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -118,6 +118,7 @@ (define-module (gnu packages games)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages c)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
@@ -171,6 +172,7 @@ (define-module (gnu packages games)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages machine-learning)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages messaging)
@@ -10409,6 +10411,63 @@ (define-public stockfish
       (home-page "https://stockfishchess.org/")
       (license license:gpl3+))))
 
+(define lc0-neural-network
+  (let ((hash
+         "f404e156ceb2882470fd8c032b8754af0fa0b71168328912eaef14671a256e34"))
+    (origin
+      (method url-fetch)
+      (uri (string-append "https://storage.lczero.org/files/networks/"
+                          hash))
+      (sha256
+       (base32
+        "03b9xl9vkiihdilz5dzcpg6g4inb6n4k5gs911i3gbd8h9sh9ixi"))
+      (file-name "lc0-neural-network"))))
+
+(define-public lc0
+  (package
+    (name "lc0")
+    (version "0.30.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/LeelaChessZero/lc0")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1m7k8m8iz4pxv3h9g2j1dkgryi4k9c1bcg3fx5j7ii4ysif63kj3"))))
+    (build-system meson-build-system)
+    (native-search-paths
+     (list (search-path-specification
+            (variable "XDG_DATA_DIRS")
+            (files '("share")))))
+    (inputs
+     `(("neural-network" ,lc0-neural-network)
+       ("eigen" ,eigen)
+       ("oneapi-dnnl" ,oneapi-dnnl)
+       ("zlib" ,zlib)))
+    (native-inputs
+     (list googletest ispc pkg-config python))
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (add-after 'install 'copy-net
+                    (lambda* (#:key outputs inputs #:allow-other-keys)
+                      (mkdir-p (string-append (assoc-ref outputs "out")
+                                              "/share/lc0"))
+                      (copy-file (assoc-ref inputs "neural-network")
+                                 (string-append (assoc-ref outputs "out")
+                                                "/share/lc0/neural-network")))))
+       #:configure-flags (list "-Ddnnl=true"
+                               (string-append
+                                "-Ddnnl_dir="
+                                (assoc-ref %build-inputs "oneapi-dnnl")))))
+    (synopsis "Chess engine using neural networks")
+    (description "Lc0 is a UCI-compliant chess engine designed to play chess
+via neural network, specifically those of the LeelaChessZero project.")
+    (home-page "https://lczero.org")
+    (license license:gpl3+)))
+
 (define-public barrage
   (package
     (name "barrage")

base-commit: 5ef28595e9dff8b88ec3fcb4d887fbc380c9a8b8
prerequisite-patch-id: 8cee4be3d25dba0dde5c2d0e317f31741c010f50
-- 
2.41.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH v2] gnu: Add Lc0.
Resent-From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 07 Sep 2023 17:05:02 +0000
Resent-Message-ID: <handler.63088.B63088.169410625317857 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: iyzsong@HIDDEN, 63088 <at> debbugs.gnu.org
Cc: zamfofex <zamfofex@HIDDEN>, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.169410625317857
          (code B ref 63088); Thu, 07 Sep 2023 17:05:02 +0000
Received: (at 63088) by debbugs.gnu.org; 7 Sep 2023 17:04:13 +0000
Received: from localhost ([127.0.0.1]:41271 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qeIQO-0004dx-Uo
	for submit <at> debbugs.gnu.org; Thu, 07 Sep 2023 13:04:13 -0400
Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]:57377)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1qeIQJ-0004de-OH
 for 63088 <at> debbugs.gnu.org; Thu, 07 Sep 2023 13:04:11 -0400
Received: by mail-ed1-x541.google.com with SMTP id
 4fb4d7f45d1cf-52a1ce52ef4so1578213a12.2
 for <63088 <at> debbugs.gnu.org>; Thu, 07 Sep 2023 10:04:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694106240; x=1694711040; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=8Fsmzq7HghJx0K6BnPHEMj1aTYOTiyBB3z3SOUEml2M=;
 b=mhkYBYLz/JkBVrmr53JfJq4yA41eQf/DvHvyboINVbpeKP9y6GyHrhaPdNHa7zp0ae
 uLt4uHt5Ohue24QCvvjBpuicnpdXYBewrl1dQkwVnW+FOmADE1pvu700EhKG7UhYWhlS
 F9c+1O9HQlkPNFxAUZ5TPU6rgEk8QjeaNdaZDyP1+ZtYNfSRmuxAg45J4NklgOZxs4cd
 qX/xmcglzbSyyuwgFuwFKyO2hPAJsyO0deNfjKUCT0QZFdSuaEB6Y32MpPtofzUp3M6O
 u1oj7j/x1Ve5m3TUtlk7CXTuB50b7Kzc/14tvvYP0H01AwQc7gIw+sNeE930RUdoGaaf
 HNvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1694106240; x=1694711040;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=8Fsmzq7HghJx0K6BnPHEMj1aTYOTiyBB3z3SOUEml2M=;
 b=lUIZfHycO6cFcENbO43lnWW836orJ08fl/T55Twz1sCtG+xSAnSCxM+GpgMWmtKmZd
 5bWxuNA6eQw7u+F6nJc7LahJ/4q2uHhxDsa34Kcr6FJekadlb1MusqOgOS3+Y1TcMbGA
 NxDJ8EEu7I3uMrkW2EHVTMiO/ZuOcHhL61VDhzYf0Mad0NmV+QJJdWOkoYeicUHcFUg6
 Z91U8UpTVcKgiJKBVo6doE6IPq0LOzDKYu99QX8lA99c4qBB6ZdTShGa5L8xsvJLU2t9
 N3IOXLsdsIdvuHil/Sy2xysRLcNh99wpbezvRg1ROPJwyTQmHIqqlqViMeW2ANz9cyfI
 tPxg==
X-Gm-Message-State: AOJu0Yx4qYlwXre9eRaV7dMB9wCD9xs+cygMf9XsLf8oRvyzRdjbmyWm
 62/+biqlFTtkLjNIXns0guE=
X-Google-Smtp-Source: AGHT+IHDk936C9gauVFDIl6VBlchtjNiAxxhNvXDmVwQJxYMXJyzot0X4wTP50DpSTgyOHiSpUyVvw==
X-Received: by 2002:aa7:d719:0:b0:525:7091:124c with SMTP id
 t25-20020aa7d719000000b005257091124cmr5278958edq.19.1694106239694; 
 Thu, 07 Sep 2023 10:03:59 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 w15-20020a50fa8f000000b005272523b162sm6241edr.69.2023.09.07.10.03.58
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 07 Sep 2023 10:03:58 -0700 (PDT)
Message-ID: <bf4c2694c844c657470f24a822b8ff5e7ac07266.camel@HIDDEN>
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Date: Thu, 07 Sep 2023 19:03:57 +0200
In-Reply-To: <3cc41c81a301fb53c564508d3cbcf92270695d1b.1694082083.git.iyzsong@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
 <3cc41c81a301fb53c564508d3cbcf92270695d1b.1694082083.git.iyzsong@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.46.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

QW0gRG9ubmVyc3RhZywgZGVtIDA3LjA5LjIwMjMgdW0gMTg6MjMgKzA4MDAgc2NocmllYiBpeXpz
b25nQGVudnMubmV0Ogo+IEZyb206IHphbWZvZmV4IDx6YW1mb2ZleEB0d2RiLm1vZT4KPiAKPiAq
IGdudS9wYWNrYWdlcy9nYW1lcy5zY20gKGxjMCk6IE5ldyB2YXJpYWJsZS4KTWlzc2luZyB0aGUg
ZW50cnkgZm9yIGxjMC1uZXVyYWwtbmV0d29yay4KPiAKPiBTaWduZWQtb2ZmLWJ5OiDlrovmlofm
raYgPGl5enNvbmdAbWVtYmVyLmZzZi5vcmc+Cj4gLS0tCj4gwqBnbnUvcGFja2FnZXMvZ2FtZXMu
c2NtIHwgNTkKPiArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKPiDC
oDEgZmlsZSBjaGFuZ2Vk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BpcyBhIFVDSS1jb21wbGlhbnQgY2hl
c3MgZW5naW5lIGRlc2lnbmVkIHRvCj4gcGxheSBjaGVzcwo+ICt2aWEgbmV1cmFsIG5ldHdvcmss
IHNwZWNpZmljYWxseSB0aG9zZSBvZiB0aGUgTGVlbGFDaGVzc1plcm8KPiBwcm9qZWN0LiIpCklz
IExjMCA9IExlZWxhIENoZXNzIFplcm8/ICBXaGF0J3MgdGhlIGNvbm5lY3Rpb24/Cj4gK8KgwqDC
oCAoaG9tZS1wYWdlICJodHRwczovL2xjemVyby5vcmciKQo+ICvCoMKgwqAgKGxpY2Vuc2UgbGlj
ZW5zZTpncGwzKykpKQpDaGVlcnMK





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH v2] gnu: Add Lc0.
Resent-From: zamfofex <zamfofex@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 11 Sep 2023 10:23:01 +0000
Resent-Message-ID: <handler.63088.B63088.169442777222207 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, iyzsong@HIDDEN, 63088 <at> debbugs.gnu.org
Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.169442777222207
          (code B ref 63088); Mon, 11 Sep 2023 10:23:01 +0000
Received: (at 63088) by debbugs.gnu.org; 11 Sep 2023 10:22:52 +0000
Received: from localhost ([127.0.0.1]:52180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qfe4B-0005m6-G7
	for submit <at> debbugs.gnu.org; Mon, 11 Sep 2023 06:22:51 -0400
Received: from mta-15-3.privateemail.com ([198.54.122.111]:28136)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zamfofex@HIDDEN>) id 1qfe48-0005ls-R2
 for 63088 <at> debbugs.gnu.org; Mon, 11 Sep 2023 06:22:50 -0400
Received: from mta-15.privateemail.com (localhost [127.0.0.1])
 by mta-15.privateemail.com (Postfix) with ESMTP id 033C71800156;
 Mon, 11 Sep 2023 06:22:39 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default;
 t=1694427759; bh=qSHF8zm2SOV1nxiCsSC3Gsn7shHaCS9YkTLyv1i48mU=;
 h=Date:From:To:Cc:In-Reply-To:References:Subject:From;
 b=QAsQUKYJjYFDnzWbEUb+ah+q6gMSbsHWL629Zt/sJGlzQOh905nhQG8SNy38Ub0W2
 l485W5uvLFCtX9HdLrzkpTHOIOLgoxCg+VSfWPQ06CzmRDovvp8HeWGGBaN5WLvM+a
 hkIskOZ1LI+IdKWz47gwJUm10rWLUXR1Jwagrzp8kABSv+39s9KGHme+SBGo2WfM9u
 YJ9EJ9rZr3qgsBDc50Z57+Xg+Ux/HjgyC/67qO9KkZKO2JHahS2pgK8O1uELUPULiq
 kmQ5JT8rTzuCpNElSnqCfCion/SCdnwA46sIeTx21lUDv377TKdzfYylHpvzd54WMS
 gxp41lWZa9caA==
Received: from APP-11 (unknown [10.50.14.211])
 by mta-15.privateemail.com (Postfix) with ESMTPA;
 Mon, 11 Sep 2023 06:22:35 -0400 (EDT)
Date: Mon, 11 Sep 2023 07:22:35 -0300 (BRT)
From: zamfofex <zamfofex@HIDDEN>
Message-ID: <973443928.2024365.1694427755815@HIDDEN>
In-Reply-To: <bf4c2694c844c657470f24a822b8ff5e7ac07266.camel@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
 <3cc41c81a301fb53c564508d3cbcf92270695d1b.1694082083.git.iyzsong@HIDDEN>
 <bf4c2694c844c657470f24a822b8ff5e7ac07266.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Normal
X-Mailer: Open-Xchange Mailer v7.10.6-Rev49
X-Originating-Client: open-xchange-appsuite
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> recursive? #t is meh ._.
> Can we work around that?

Yes, presumably easily, but I don=E2=80=99t think it would be a good idea i=
n this case, because it isn=E2=80=99t used to build bundled software, but r=
ather just for a small project=E2=80=90specific pair of source files (that =
are in a separate repo just because they are used by other repos of the pro=
ject too).

> Can we use search-input-file or the like here?

Probably. Though would it be reasonable to package the network separately i=
nstead? Note that Lc0 is able to load various networks, and there is no can=
onical network, so maybe it would be useful to have it in a different packa=
ge so that more can be potentially added in the future.

Then people could use them with something like =E2=80=98guix shell lc0 lc0-=
NETWORK_NAME=E2=80=99.

> Is Lc0 =3D Leela Chess Zero?  What's the connection?

=E2=80=9CLc0=E2=80=9D, =E2=80=9CLeela Chess Zero=E2=80=9D, =E2=80=9CLCZero=
=E2=80=9D, and sometimes just =E2=80=9CLeela Chess=E2=80=9D can be used rou=
ghly interchangeably to refer to the project as a whole. Though, occasional=
ly, people will use the term =E2=80=9CLc0=E2=80=9D (sometimes capitalised a=
s =E2=80=9Clc0=E2=80=9D) to refer specifically to the =E2=80=98lc0=E2=80=99=
 executable, which can use the networks from the Leela Chess Zero project, =
but networks created by other people too, including those of e.g. the Maia =
project, see <https://github.com/CSSLab/maia-chess> and <https://maiachess.=
com>

At some point (very early on), the code for the executable was rewritten or=
 otherwise largely refactored, and at the same time renamed from =E2=80=98l=
czero=E2=80=99 to the current =E2=80=98lc0=E2=80=99, so sometimes (very rar=
ely nowadays), people will use the term =E2=80=9Clc0=E2=80=9D (or =E2=80=9C=
Lc0=E2=80=9D) to refer specifically to this new executable and code base, c=
ontrasting with the former =E2=80=98lczero=E2=80=99 executable and its code=
 base.

Honestly, this all feels convoluted to me, so I usually like to use the ter=
ms interchangeably, and I don=E2=80=99t think using them differently in the=
 package description is a good choice.

- - - - -

Hopefully this helps clarify things well enough! If there is interest, I ca=
n submit another patch with the requested changes and the appropriate path =
taken regarding the packaging for the networks.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#63088] [PATCH v2] gnu: Add Lc0.
Resent-From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 11 Sep 2023 18:01:02 +0000
Resent-Message-ID: <handler.63088.B63088.169445522713678 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 63088
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: zamfofex <zamfofex@HIDDEN>, iyzsong@HIDDEN, 63088 <at> debbugs.gnu.org
Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@HIDDEN>
Received: via spool by 63088-submit <at> debbugs.gnu.org id=B63088.169445522713678
          (code B ref 63088); Mon, 11 Sep 2023 18:01:02 +0000
Received: (at 63088) by debbugs.gnu.org; 11 Sep 2023 18:00:27 +0000
Received: from localhost ([127.0.0.1]:54728 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qflD1-0003YY-Cn
	for submit <at> debbugs.gnu.org; Mon, 11 Sep 2023 14:00:27 -0400
Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]:53692)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1qflCx-0003YK-Lr
 for 63088 <at> debbugs.gnu.org; Mon, 11 Sep 2023 14:00:25 -0400
Received: by mail-ej1-x641.google.com with SMTP id
 a640c23a62f3a-99c3d3c3db9so630196966b.3
 for <63088 <at> debbugs.gnu.org>; Mon, 11 Sep 2023 11:00:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694455213; x=1695060013; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=883Dx6Ngd/CpMUF4WFlLVMw1lf4a6jROhKdgeXbJV9A=;
 b=Rh0+pCCstc73c93pT5cFkHKlbm2EyEUtQrSd21VRO4aoxnrPiiT2fz9CeyTAGq83wP
 cdtxQk88qpA5jl6BmsPCfxl6Ks2LK0MdlLnwkys6onZkZn7gzoMtW8yQejy0u7iS8XKi
 hbRZNSF9JPZnXlMYmdO8OAy7y0G2HmLpP7klTFTeancnLJvoiv/RjeVb6B3RQDhGr0Ov
 7jgRaDfIH39TQTWAOMTNukYnfxURjZ01gBC0rHfB3fyWYeSD9T3PHHv1ALq9I59m7u0o
 a1XpbaXztnNB6SE/vbmILIZJySlBlTU+Vjd1dsTP86d/UGQWzmhwLTcABIvi+2Gs5dwO
 zcFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694455213; x=1695060013;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=883Dx6Ngd/CpMUF4WFlLVMw1lf4a6jROhKdgeXbJV9A=;
 b=DvL+GpvBrFCHErx/+7emXiJ7hDmzBi5PBnpe2zCcRrSLe1zOE21L9wUNLs8S2oOJAe
 NIxUqdgE6qe37W1uHrNlsipcVNXe55vnAM3HaiT3q7oSTnSZgpCdxzgMuTwHW9I4+kaX
 tg2DYBRvgdyL0v17/xQundLoJv68fq6HO1L5T+5i+w0MsZl9F1o4HJJoeoPJ8XktzPaM
 BAxKYRlbUxjAQMLW4pOgZKSGwgHKET2CQ+ISBDilOVACusp9ipyQXOyWWvUXsbTEuL1E
 0Eo93KcSp3KXOuYGDX/yT2hanE1H7C2exFz260XnxBIh37t9Z/fUcrT9hjZa8HWTZ4KX
 oTyA==
X-Gm-Message-State: AOJu0YyEd//85c7Q2dUDbcdE5dEtLCJ74JZLCi3B1IaXuzsuj7I1DHS5
 nRIYQbJYK1hNt8dqoxwff+0=
X-Google-Smtp-Source: AGHT+IEXzMA7g4eBQZ4iHuQSCzRLmJ9+z6p508IgPUvFXFAStrnyMxVtVYX8/yrrHx8hFS2qNSYxPQ==
X-Received: by 2002:a17:906:3057:b0:99d:ddae:f5d4 with SMTP id
 d23-20020a170906305700b0099dddaef5d4mr7944799ejd.44.1694455213004; 
 Mon, 11 Sep 2023 11:00:13 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 ck8-20020a170906c44800b009a5f1d1564dsm5658747ejb.126.2023.09.11.11.00.11
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 11 Sep 2023 11:00:11 -0700 (PDT)
Message-ID: <90ea3981901d0b274e673ebf72c6755a07a1ce1b.camel@HIDDEN>
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
Date: Mon, 11 Sep 2023 20:00:10 +0200
In-Reply-To: <973443928.2024365.1694427755815@HIDDEN>
References: <cover.1682514072.git.zamfofex@HIDDEN>
 <3cc41c81a301fb53c564508d3cbcf92270695d1b.1694082083.git.iyzsong@HIDDEN>
 <bf4c2694c844c657470f24a822b8ff5e7ac07266.camel@HIDDEN>
 <973443928.2024365.1694427755815@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Am Montag, dem 11.09.2023 um 07:22 -0300 schrieb zamfofex:
> > recursive? #t is meh ._.
> > Can we work around that?
>=20
> Yes, presumably easily, but I don=E2=80=99t think it would be a good idea=
 in
> this case, because it isn=E2=80=99t used to build bundled software, but
> rather just for a small project=E2=80=90specific pair of source files (th=
at
> are in a separate repo just because they are used by other repos of
> the project too).
In that case, a comment explaining this in 1-2 lines would probably be
fine.

> > Can we use search-input-file or the like here?
>=20
> Probably. Though would it be reasonable to package the network
> separately instead? Note that Lc0 is able to load various networks,
> and there is no canonical network, so maybe it would be useful to
> have it in a different package so that more can be potentially added
> in the future.
>=20
> Then people could use them with something like =E2=80=98guix shell lc0 lc=
0-
> NETWORK_NAME=E2=80=99.
Sounds reasonable to me.  Do add a phrase or two about this to the lc0
description though if it doesn't even ship a basic network.

>=20
> > Is Lc0 =3D Leela Chess Zero?=C2=A0 What's the connection?
>=20
> =E2=80=9CLc0=E2=80=9D, =E2=80=9CLeela Chess Zero=E2=80=9D, =E2=80=9CLCZer=
o=E2=80=9D, and sometimes just =E2=80=9CLeela Chess=E2=80=9D
> can be used roughly interchangeably to refer to the project as a
> whole. Though, occasionally, people will use the term =E2=80=9CLc0=E2=80=
=9D
> (sometimes capitalised as =E2=80=9Clc0=E2=80=9D) to refer specifically to=
 the =E2=80=98lc0=E2=80=99
> executable, which can use the networks from the Leela Chess Zero
> project, but networks created by other people too, including those of
> e.g. the Maia project, see <https://github.com/CSSLab/maia-chess> and
> <https://maiachess.com>
>=20
> At some point (very early on), the code for the executable was
> rewritten or otherwise largely refactored, and at the same time
> renamed from =E2=80=98lczero=E2=80=99 to the current =E2=80=98lc0=E2=80=
=99, so sometimes (very rarely
> nowadays), people will use the term =E2=80=9Clc0=E2=80=9D (or =E2=80=9CLc=
0=E2=80=9D) to refer
> specifically to this new executable and code base, contrasting with
> the former =E2=80=98lczero=E2=80=99 executable and its code base.
>=20
> Honestly, this all feels convoluted to me, so I usually like to use
> the terms interchangeably, and I don=E2=80=99t think using them different=
ly
> in the package description is a good choice.
In that case, for the description we should probably go with "Leela
Chess Zero" or "@acronym{lc0, Leela Chess Zero}"

Cheers





Last modified: Mon, 11 Sep 2023 18:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.