From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 03 10:27:39 2019 Received: (at submit) by debbugs.gnu.org; 3 Jun 2019 14:27:39 +0000 Received: from localhost ([127.0.0.1]:42646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXnw1-0008Ri-Ov for submit@debbugs.gnu.org; Mon, 03 Jun 2019 10:27:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXmg1-000253-D1 for submit@debbugs.gnu.org; Mon, 03 Jun 2019 09:07:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:50313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXmfw-0008D6-An for submit@debbugs.gnu.org; Mon, 03 Jun 2019 09:06:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXmfu-000420-En for guix-patches@gnu.org; Mon, 03 Jun 2019 09:06:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXmfs-00087R-Pm for guix-patches@gnu.org; Mon, 03 Jun 2019 09:06:54 -0400 Received: from mout02.posteo.de ([185.67.36.66]:49675) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXmfr-0007vk-Gn for guix-patches@gnu.org; Mon, 03 Jun 2019 09:06:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E659F2400E5 for ; Mon, 3 Jun 2019 15:06:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1559567205; bh=7oamglKfagQMBvyGNfwKXZ0EwDnmuBHII/1gplajYfY=; h=From:To:Cc:Subject:Date:From; b=GIKndGNY+7vcguQX3gfBELgwRX7RVjfd0Ec7veNryNDJhNndnAllNyRMKAGyfj4zx is88S6J2cf9gu8+bJIGvqbuVvfFnqKz632xnPVdjqInm7GsK2eL4Aj+RygIJckBMii KSamT2sVxrsNc2tgDyvu+AI+xoqp/u3Et3Hmj/6FZ338y/UH6eYHT11JY5XeYc154R Idy5GS8/esCK/9haWPFtgJgK3Uk4pWuGgTZHV8zJe4H6QcgpNqoE5KVhGKXImf3S+s /28fBuW37z/nVYLVKJvvYvaXP9+2GNFGp/bMuhZAEkCovJQIe4gK8OCZYDkTuE1SQh eHegECf6DyzNw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 45Hb0w6rTKz9rxK; Mon, 3 Jun 2019 15:06:40 +0200 (CEST) Received: from yamatai.local (unknown [IPv6:2a01:e34:ed03:c7d0:d9da:d3a6:ed5f:e716]) by vps530281.ovh.net (Postfix) with ESMTPSA id 9B82D401B0; Mon, 3 Jun 2019 15:06:39 +0200 (CEST) From: Guillaume LE VAILLANT To: guix-patches@gnu.org Subject: [PATCH] gnu: Add leela-zero. Date: Mon, 3 Jun 2019 15:06:11 +0200 Message-Id: <20190603130611.32142-1-glv@posteo.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.66 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 03 Jun 2019 10:27:37 -0400 Cc: Guillaume LE VAILLANT X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/games.scm (leela-zero): New variable. * gnu/packages/patches/leela-zero-gtest.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 2 + gnu/packages/games.scm | 51 +++++++++++++++++++++ gnu/packages/patches/leela-zero-gtest.patch | 40 ++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 gnu/packages/patches/leela-zero-gtest.patch diff --git a/gnu/local.mk b/gnu/local.mk index 55a8fcd361..19cab48aff 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -20,6 +20,7 @@ # Copyright =C2=A9 2018 Oleg Pykhalov # Copyright =C2=A9 2018 Stefan Stefanovi=C4=87 # Copyright =C2=A9 2018 Maxim Cournoyer +# Copyright =C2=A9 2019 Guillaume Le Vaillant # # This file is part of GNU Guix. # @@ -969,6 +970,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/lcms-CVE-2018-16435.patch \ %D%/packages/patches/ldc-bootstrap-disable-tests.patch \ %D%/packages/patches/ldc-disable-phobos-tests.patch \ + %D%/packages/patches/leela-zero-gtest.patch \ %D%/packages/patches/liba52-enable-pic.patch \ %D%/packages/patches/liba52-link-with-libm.patch \ %D%/packages/patches/liba52-set-soname.patch \ diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 4fdc9b01e6..ee8cc69273 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -40,6 +40,7 @@ ;;; Copyright =C2=A9 2019 Oleg Pykhalov ;;; Copyright =C2=A9 2019 Pierre Langlois ;;; Copyright =C2=A9 2019 Julien Lepiller +;;; Copyright =C2=A9 2019 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -128,6 +129,7 @@ #:use-module (gnu packages netpbm) #:use-module (gnu packages networking) #:use-module (gnu packages ocaml) + #:use-module (gnu packages opencl) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) @@ -7336,3 +7338,52 @@ Unfortunately, Hacker is not aware of Drascula's r= eal ambitions: DOMINATING the World and demonstrating that he is even more evil than his brother V= lad.") ;; Drascula uses a BSD-like license. (license (license:non-copyleft "file:///readme.txt")))) + +(define-public leela-zero + (package + (name "leela-zero") + (version "0.17") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/leela-zero/leela-zero.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17px5iny8mql5c01bymcli7zfssswkzvb2i8gnsmjcck6i2n8srl")) + (patches (search-patches "leela-zero-gtest.patch")))) + (build-system cmake-build-system) + (native-inputs + `(("googletest" ,googletest))) + (inputs + `(("boost" ,boost) + ("ocl-icd" ,ocl-icd) + ("openblas" ,openblas) + ("opencl-headers" ,opencl-headers) + ("qtbase" ,qtbase) + ("zlib" ,zlib))) + (arguments + '(#:configure-flags '("-DUSE_BLAS=3DYES") + #:phases (modify-phases %standard-phases + (add-before 'configure 'fix-tests + (lambda* (#:key outputs #:allow-other-keys) + (let ((home (getcwd))) + (setenv "HOME" home) + (substitute* "src/tests/gtests.cpp" + (("\\.\\./src/tests/0k\\.txt") + (string-append home "/src/tests/0k.txt")) + (("cfg_gtp_mode =3D true;") + "cfg_gtp_mode =3D true; cfg_cpu_only =3D true;= "))) + #t)) + (replace 'check + (lambda _ + (zero? (system* "./tests"))))))) + (home-page "https://github.com/leela-zero/leela-zero") + (synopsis "Program playing the game of Go") + (description + "Leela-zero is a Go engine with no human-provided knowledge, modeled +after the AlphaGo Zero paper. The current best network weights file for +the engine can be downloaded from https://zero.sjeng.org/best-network.") + (license license:gpl3+))) diff --git a/gnu/packages/patches/leela-zero-gtest.patch b/gnu/packages/p= atches/leela-zero-gtest.patch new file mode 100644 index 0000000000..7291b4ab72 --- /dev/null +++ b/gnu/packages/patches/leela-zero-gtest.patch @@ -0,0 +1,40 @@ +Use shared gtest instead of submodule + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 617e4b2..2857875 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -18,7 +18,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SO= URCE_DIR}/cmake/Modules/") + include(GNUInstallDirs) +=20 + project(leelaz) +-add_subdirectory(gtest EXCLUDE_FROM_ALL) # We don't want to install gte= st, exclude it from `all` +=20 + # Required Packages + set(Boost_MIN_VERSION "1.58.0") +@@ -27,6 +26,7 @@ find_package(Boost 1.58.0 REQUIRED program_options fil= esystem) + find_package(Threads REQUIRED) + find_package(ZLIB REQUIRED) + find_package(OpenCL REQUIRED) ++find_package(GTest REQUIRED) + # We need OpenBLAS for now, because we make some specific + # calls. Ideally we'd use OpenBLAS is possible and fall back to + # not doing those calls if it's not present. +@@ -93,6 +93,7 @@ include_directories(${IncludePath}) + include_directories(${Boost_INCLUDE_DIRS}) + include_directories(${OpenCL_INCLUDE_DIRS}) + include_directories(${ZLIB_INCLUDE_DIRS}) ++include_directories(${GTEST_INCLUDE_DIRS}) +=20 + if((UNIX AND NOT APPLE) OR WIN32) + include_directories(${BLAS_INCLUDE_DIRS}) +@@ -141,7 +142,8 @@ target_link_libraries(tests ${Boost_LIBRARIES}) + target_link_libraries(tests ${BLAS_LIBRARIES}) + target_link_libraries(tests ${OpenCL_LIBRARIES}) + target_link_libraries(tests ${ZLIB_LIBRARIES}) +-target_link_libraries(tests gtest_main ${CMAKE_THREAD_LIBS_INIT}) ++target_link_libraries(tests ${GTEST_BOTH_LIBRARIES}) ++target_link_libraries(tests ${CMAKE_THREAD_LIBS_INIT}) +=20 + include(GetGitRevisionDescription) + git_describe(VERSION --tags) --=20 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 11:25:00 2019 Received: (at 36071) by debbugs.gnu.org; 5 Jun 2019 15:25:00 +0000 Received: from localhost ([127.0.0.1]:47919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYXmd-0003iH-WB for submit@debbugs.gnu.org; Wed, 05 Jun 2019 11:25:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYXma-0003i3-AU for 36071@debbugs.gnu.org; Wed, 05 Jun 2019 11:24:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYXmV-00040Q-75; Wed, 05 Jun 2019 11:24:51 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57342 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hYXmU-00086n-K6; Wed, 05 Jun 2019 11:24:51 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Guillaume LE VAILLANT Subject: Re: [bug#36071] [PATCH] gnu: Add leela-zero. References: <20190603130611.32142-1-glv@posteo.net> Date: Wed, 05 Jun 2019 17:24:48 +0200 In-Reply-To: <20190603130611.32142-1-glv@posteo.net> (Guillaume LE VAILLANT's message of "Mon, 3 Jun 2019 15:06:11 +0200") Message-ID: <87v9xkyrzz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36071 Cc: 36071@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Guillaume LE VAILLANT skribis: > * gnu/packages/games.scm (leela-zero): New variable. > * gnu/packages/patches/leela-zero-gtest.patch: New file. > * gnu/local.mk (dist_patch_DATA): Add it. [...] > + (replace 'check > + (lambda _ > + (zero? (system* "./tests"))))))) Please use =E2=80=98invoke=E2=80=99 instead of (zero? (system* =E2=80=A6)). > + "Leela-zero is a Go engine with no human-provided knowledge, modeled > +after the AlphaGo Zero paper. The current best network weights file for > +the engine can be downloaded from https://zero.sjeng.org/best-network.") ^~~~ Please use @url for URLs. Does the game run at all if we don=E2=80=99t download additional network we= ight data? There=E2=80=99s a debate as to whether trained neural network parameters ca= n be considered =E2=80=9Csource=E2=80=9D: . Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 14:08:16 2019 Received: (at 36071) by debbugs.gnu.org; 5 Jun 2019 18:08:16 +0000 Received: from localhost ([127.0.0.1]:48169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYaKd-0001V6-Ck for submit@debbugs.gnu.org; Wed, 05 Jun 2019 14:08:16 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYZgj-0000Ps-32 for 36071@debbugs.gnu.org; Wed, 05 Jun 2019 13:27:06 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id BF4D02400FB for <36071@debbugs.gnu.org>; Wed, 5 Jun 2019 19:26:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1559755614; bh=MeeQxvALjjaDqWxDW9mAz4Na9xp9wdG4RZMlLATS/Oo=; h=Date:From:To:Cc:Subject:From; b=JYzSbk/jgEpCYShdZ5saWdpDWOT1+DdyLkcacoW03/q+HhHS1yPJH8b9h1iwWQJMc MZR8E+KadX1Z+LiMagGGiA8gjsL/CrU3WbSEekB59wf5JiRJG8mlopEsoKY8JSbLdQ BNGs6RtoQpE0dx31trb/v868UTTo1BQcL35wjioamZDkKNibuaG7ixzQtY7Ru+pBLe dto6z6/hF2iL78vTyv/2dOFC4SNkqEkOkEhbEfCHuWwsPSLlqSq0RkeomnmA7zArAb gUnjvET1/Pxqw6K3y4xQGdz5fHHqrOOdx6GjNTJcpPHfX0PEw/PFkU31IeH+l+SClN pn3645i+vM1jg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 45JwhC6RNpz9rxT; Wed, 5 Jun 2019 19:26:51 +0200 (CEST) Received: from yamatai (unknown [IPv6:2a01:e34:ed03:c7d0:49a4:9317:c939:a462]) by vps530281.ovh.net (Postfix) with ESMTPSA id 33129401B0; Wed, 5 Jun 2019 19:26:51 +0200 (CEST) Date: Wed, 5 Jun 2019 19:26:25 +0200 From: Guillaume LE VAILLANT To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Subject: Re: [bug#36071] [PATCH] gnu: Add leela-zero. Message-ID: <20190605192625.3c567ce7@yamatai> In-Reply-To: <87v9xkyrzz.fsf@gnu.org> References: <20190603130611.32142-1-glv@posteo.net> <87v9xkyrzz.fsf@gnu.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/h+IJpBYxP1K6ZGaY6C9DmPg" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36071 X-Mailman-Approved-At: Wed, 05 Jun 2019 14:08:12 -0400 Cc: 36071@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --MP_/h+IJpBYxP1K6ZGaY6C9DmPg Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, Ludovic Court=C3=A8s a =C3=A9crit : > Does the game run at all if we don=E2=80=99t download additional network > weight data? >=20 > There=E2=80=99s a debate as to whether trained neural network parameters = can > be considered =E2=80=9Csource=E2=80=9D: . The game needs neural network weights to run. The user must download a file with the weights (usually from , which is updated daily I think) and put it in '$HOME/.local/share/leela-zero/'. Do you think some weigths (e.g. taken from , for reproducibility) should be embedded in the package? --MP_/h+IJpBYxP1K6ZGaY6C9DmPg Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-leela-zero.patch =46rom a3578a986661f6ad3fd08e8e4eb2d8f7cc8e3351 Mon Sep 17 00:00:00 2001 From: Guillaume LE VAILLANT Date: Wed, 5 Jun 2019 18:11:20 +0200 Subject: [PATCH] gnu: Add leela-zero. * gnu/packages/games.scm (leela-zero): New variable. * gnu/packages/patches/leela-zero-gtest.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 2 + gnu/packages/games.scm | 51 +++++++++++++++++++++ gnu/packages/patches/leela-zero-gtest.patch | 40 ++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 gnu/packages/patches/leela-zero-gtest.patch diff --git a/gnu/local.mk b/gnu/local.mk index 6878aef44a..5e2f958f26 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -20,6 +20,7 @@ # Copyright =C2=A9 2018 Oleg Pykhalov # Copyright =C2=A9 2018 Stefan Stefanovi=C4=87 # Copyright =C2=A9 2018 Maxim Cournoyer +# Copyright =C2=A9 2019 Guillaume Le Vaillant # # This file is part of GNU Guix. # @@ -968,6 +969,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/lcms-CVE-2018-16435.patch \ %D%/packages/patches/ldc-bootstrap-disable-tests.patch \ %D%/packages/patches/ldc-disable-phobos-tests.patch \ + %D%/packages/patches/leela-zero-gtest.patch \ %D%/packages/patches/liba52-enable-pic.patch \ %D%/packages/patches/liba52-link-with-libm.patch \ %D%/packages/patches/liba52-set-soname.patch \ diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 4fdc9b01e6..2b3552eba8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -40,6 +40,7 @@ ;;; Copyright =C2=A9 2019 Oleg Pykhalov ;;; Copyright =C2=A9 2019 Pierre Langlois ;;; Copyright =C2=A9 2019 Julien Lepiller +;;; Copyright =C2=A9 2019 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -128,6 +129,7 @@ #:use-module (gnu packages netpbm) #:use-module (gnu packages networking) #:use-module (gnu packages ocaml) + #:use-module (gnu packages opencl) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) @@ -7336,3 +7338,52 @@ Unfortunately, Hacker is not aware of Drascula's rea= l ambitions: DOMINATING the World and demonstrating that he is even more evil than his brother Vla= d.") ;; Drascula uses a BSD-like license. (license (license:non-copyleft "file:///readme.txt")))) + +(define-public leela-zero + (package + (name "leela-zero") + (version "0.17") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/leela-zero/leela-zero.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17px5iny8mql5c01bymcli7zfssswkzvb2i8gnsmjcck6i2n8srl")) + (patches (search-patches "leela-zero-gtest.patch")))) + (build-system cmake-build-system) + (native-inputs + `(("googletest" ,googletest))) + (inputs + `(("boost" ,boost) + ("ocl-icd" ,ocl-icd) + ("openblas" ,openblas) + ("opencl-headers" ,opencl-headers) + ("qtbase" ,qtbase) + ("zlib" ,zlib))) + (arguments + '(#:configure-flags '("-DUSE_BLAS=3DYES") + #:phases (modify-phases %standard-phases + (add-before 'configure 'fix-tests + (lambda* (#:key outputs #:allow-other-keys) + (let ((home (getcwd))) + (setenv "HOME" home) + (substitute* "src/tests/gtests.cpp" + (("\\.\\./src/tests/0k\\.txt") + (string-append home "/src/tests/0k.txt")) + (("cfg_gtp_mode =3D true;") + "cfg_gtp_mode =3D true; cfg_cpu_only =3D true;")= )) + #t)) + (replace 'check + (lambda _ + (invoke "./tests")))))) + (home-page "https://github.com/leela-zero/leela-zero") + (synopsis "Program playing the game of Go") + (description + "Leela-zero is a Go engine with no human-provided knowledge, modeled a= fter +the AlphaGo Zero paper. The current best network weights file for the eng= ine +can be downloaded from @url{https://zero.sjeng.org/best-network}.") + (license license:gpl3+))) diff --git a/gnu/packages/patches/leela-zero-gtest.patch b/gnu/packages/pat= ches/leela-zero-gtest.patch new file mode 100644 index 0000000000..7291b4ab72 --- /dev/null +++ b/gnu/packages/patches/leela-zero-gtest.patch @@ -0,0 +1,40 @@ +Use shared gtest instead of submodule + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 617e4b2..2857875 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -18,7 +18,6 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOUR= CE_DIR}/cmake/Modules/") + include(GNUInstallDirs) +=20 + project(leelaz) +-add_subdirectory(gtest EXCLUDE_FROM_ALL) # We don't want to install gtest= , exclude it from `all` +=20 + # Required Packages + set(Boost_MIN_VERSION "1.58.0") +@@ -27,6 +26,7 @@ find_package(Boost 1.58.0 REQUIRED program_options files= ystem) + find_package(Threads REQUIRED) + find_package(ZLIB REQUIRED) + find_package(OpenCL REQUIRED) ++find_package(GTest REQUIRED) + # We need OpenBLAS for now, because we make some specific + # calls. Ideally we'd use OpenBLAS is possible and fall back to + # not doing those calls if it's not present. +@@ -93,6 +93,7 @@ include_directories(${IncludePath}) + include_directories(${Boost_INCLUDE_DIRS}) + include_directories(${OpenCL_INCLUDE_DIRS}) + include_directories(${ZLIB_INCLUDE_DIRS}) ++include_directories(${GTEST_INCLUDE_DIRS}) +=20 + if((UNIX AND NOT APPLE) OR WIN32) + include_directories(${BLAS_INCLUDE_DIRS}) +@@ -141,7 +142,8 @@ target_link_libraries(tests ${Boost_LIBRARIES}) + target_link_libraries(tests ${BLAS_LIBRARIES}) + target_link_libraries(tests ${OpenCL_LIBRARIES}) + target_link_libraries(tests ${ZLIB_LIBRARIES}) +-target_link_libraries(tests gtest_main ${CMAKE_THREAD_LIBS_INIT}) ++target_link_libraries(tests ${GTEST_BOTH_LIBRARIES}) ++target_link_libraries(tests ${CMAKE_THREAD_LIBS_INIT}) +=20 + include(GetGitRevisionDescription) + git_describe(VERSION --tags) --=20 2.21.0 --MP_/h+IJpBYxP1K6ZGaY6C9DmPg-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 05 16:47:39 2019 Received: (at 36071) by debbugs.gnu.org; 5 Jun 2019 20:47:39 +0000 Received: from localhost ([127.0.0.1]:48288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYcop-0005jU-Bn for submit@debbugs.gnu.org; Wed, 05 Jun 2019 16:47:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYcon-0005jH-2F for 36071@debbugs.gnu.org; Wed, 05 Jun 2019 16:47:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:32911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYcof-00052N-8n; Wed, 05 Jun 2019 16:47:25 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59516 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hYcoe-0005V3-OF; Wed, 05 Jun 2019 16:47:25 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Guillaume LE VAILLANT Subject: Re: [bug#36071] [PATCH] gnu: Add leela-zero. References: <20190603130611.32142-1-glv@posteo.net> <87v9xkyrzz.fsf@gnu.org> <20190605192625.3c567ce7@yamatai> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Prairial an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 05 Jun 2019 22:47:22 +0200 In-Reply-To: <20190605192625.3c567ce7@yamatai> (Guillaume LE VAILLANT's message of "Wed, 5 Jun 2019 19:26:25 +0200") Message-ID: <87tvd3wyhx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36071 Cc: 36071@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Guillaume, Guillaume LE VAILLANT skribis: > Ludovic Court=C3=A8s a =C3=A9crit : > >> Does the game run at all if we don=E2=80=99t download additional network >> weight data? >>=20 >> There=E2=80=99s a debate as to whether trained neural network parameters= can >> be considered =E2=80=9Csource=E2=80=9D: . > > The game needs neural network weights to run. The user must download > a file with the weights (usually from > , which is updated daily I think) > and put it in '$HOME/.local/share/leela-zero/'. > > Do you think some weigths (e.g. taken from > , for reproducibility) should be > embedded in the package? My point is about whether these trained neural network data are something that we could distribute per the FSDG. The LWN article above mentions =E2=80=98leela-zero=E2=80=99. In Debian (wh= ich has a different policy), =E2=80=98leela-zero=E2=80=99 has apparently been accepte= d, but without the data, and with a link to said data (as in your original patch): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D903634 Perhaps we could do the same, but I=E2=80=99d like to hear what others thin= k. Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 06 06:38:33 2019 Received: (at 36071) by debbugs.gnu.org; 6 Jun 2019 10:38:33 +0000 Received: from localhost ([127.0.0.1]:49057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYpmz-0002QY-Bc for submit@debbugs.gnu.org; Thu, 06 Jun 2019 06:38:33 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:41977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYpmw-0002QI-VO for 36071@debbugs.gnu.org; Thu, 06 Jun 2019 06:38:31 -0400 Received: by mail-qt1-f194.google.com with SMTP id s57so1992342qte.8 for <36071@debbugs.gnu.org>; Thu, 06 Jun 2019 03:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=U3XQL8IQbMtwnVGYCxwQRv/IJCoxy5uEQBJBxFXqJfQ=; b=dH6nXaIP5jCHBRRC4oO3N2ZCUhW9BlHzRF3ZLikha+S7CqEpV3kHcRqk4zUvPWO/ai odlPFWd5V721Iab2yyTcwuXXnx7Odmg93wdBdFIO/jNv8LBLyREmg4xoGKcuY5IPPWa+ hV/6J+gA1s3qPll5/LCCD+Tez8SLGYlSOGjVD6izdFL9AanC6ekZ+JHOaiEQSQMAM9iN 3J+8mtZnU4eNApbmDHEHytRmA3j7R4mmW1VHa5WYvvHkCD1Rdo4kG4MJK1EInsSvoy1t Sgv/gpNW3HOx3ID6DN7WcNOo63hKViqJ83ZyOPtK9N1oorsIhGaN9BGY/F23yrKWDd44 qGww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=U3XQL8IQbMtwnVGYCxwQRv/IJCoxy5uEQBJBxFXqJfQ=; b=dFzHbxJ2/VIdIFt29SYBZKvs3OiuB1AWA5UE/wMXjX5wrHleY3JAbgq7G8oa8fltiJ mWlsh9Kuj2IWXBRMOauaP1aQTO2Vfju3wROD2khJj3lvqKnAok0dKF7jd//NoEDOFDjy PyBOK15C6H/7hOQO1kHvc5GhnSiLOsJM9lF6OzaQIINPY3whittkqBgrtGn1KDrmfCgE HRTkJONUXQkUjIM3m0c8aOmQe2hmizx45CFd3lZv9rEJ4ws2ACwV02G1pjeKhB9QvMWQ S4AndCHnGlPQiFtruYBathWmbouZJGLjMGKpxyydZnnGXF1s00g8G1qp71H3V6g+pJt9 hnHg== X-Gm-Message-State: APjAAAWvBVkd0ek3ZOco+G5dbJ/1DJheZzeGrbfr8Yw4yea8fSucJqWM 2CYMPz5gR9VaYNIXBAZzz9Fex8WgXpMJNZQmyi8= X-Google-Smtp-Source: APXvYqzBMhzz4NuAX5+V7UrofUcKlC4o5kEENIEsp3RwW57C56MONjK1FrmhcmBTSk3OFe+bPfint0TfXUqWpAdOv7Y= X-Received: by 2002:ac8:2544:: with SMTP id 4mr38673403qtn.211.1559817505366; Thu, 06 Jun 2019 03:38:25 -0700 (PDT) MIME-Version: 1.0 References: <20190603130611.32142-1-glv@posteo.net> <87v9xkyrzz.fsf@gnu.org> <20190605192625.3c567ce7@yamatai> <87tvd3wyhx.fsf@gnu.org> In-Reply-To: <87tvd3wyhx.fsf@gnu.org> From: zimoun Date: Thu, 6 Jun 2019 12:38:14 +0200 Message-ID: Subject: Re: [bug#36071] [PATCH] gnu: Add leela-zero. To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36071 Cc: Guillaume LE VAILLANT , 36071@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Thank you for the package. On Wed, 5 Jun 2019 at 23:03, Ludovic Court=C3=A8s wrote: > > Ludovic Court=C3=A8s a =C3=A9crit : > > > >> Does the game run at all if we don=E2=80=99t download additional netwo= rk > >> weight data? > >> > >> There=E2=80=99s a debate as to whether trained neural network paramete= rs can > >> be considered =E2=80=9Csource=E2=80=9D: . > > [...] > My point is about whether these trained neural network data are > something that we could distribute per the FSDG. [...] > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D903634 In addition, the thread on debian-devel exposes arguments (summarized by LW= N). See there: https://lists.debian.org/debian-devel/2018/07/msg00153.html > Perhaps we could do the same, but I=E2=80=99d like to hear what others th= ink. I need myself to digest the issue. Hum? FSF has never risen the issue---or I am not aware of. Aside the practical discussion about this package---thank you for the work!---, there is a real concern about Reproducibility and Freedom with the weights of statistical models. However, this is perhaps not so far from free client / proprietary database situation. Well, it should be better to discuss this concern on guix-devel---risking bikeshedding. :-) At least to collect contradictory arguments. All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 11 16:56:10 2019 Received: (at 36071) by debbugs.gnu.org; 11 Jun 2019 20:56:10 +0000 Received: from localhost ([127.0.0.1]:60256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hanoM-00079t-J8 for submit@debbugs.gnu.org; Tue, 11 Jun 2019 16:56:10 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hanoL-00079l-Ie for 36071@debbugs.gnu.org; Tue, 11 Jun 2019 16:56:06 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1560286549; cv=none; d=zoho.com; s=zohoarc; b=dUnkwQdag079UKeifQXBoyQtSHi/qFp/BHBWjSpObMXyZHY+WbWztlph5Dugp7bhEAePnFF3g54tbBHQ/qDOybPOXd3FMYAHSEQZvV/QHNFtDArlxbfJggZWGnm8qPtPn299mogGSFerrrvfa0LHiquzCb6wsX0J5bcd4vK13x0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560286549; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=pUV7ZATqPihWpVpN/prk2EXaBcSjO84aR4nng9KVsAU=; b=l+XKvybzQrYtLnOKQZzSUcOjANxHrKLCGr4uZ89AANz4ZQXhImTtdTGv9TOGt6HspK8KN6NuZdHTSXesKDZ/sxK4dchdrwa76wnhUXvSeBw5nOkQ4fcGuubpLg9Sk0p4N8GqtjyGPEvmAVCw8jm8VOIGDLwwC+My281m3qRJy9g= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1560286549; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2453; bh=pUV7ZATqPihWpVpN/prk2EXaBcSjO84aR4nng9KVsAU=; b=bgexuixAG6RL6kqLf9kZbgWgXte5zlUvS8H3bnklbOTE9RNKeINN8PYHYF9nPcm2 CbO6qNZ1hlWzq88orTFRb/BcAb/7LPG7f4hOdIEnqrt3UgSUsByZwuIdSOLTxLFcbEr yvVyFGDYgzbmrtGcemUECM4Mb/h8xX/EtW7QjCfQ= Received: from localhost (p54AD4B20.dip0.t-ipconnect.de [84.173.75.32]) by mx.zohomail.com with SMTPS id 1560286548937558.5461715306244; Tue, 11 Jun 2019 13:55:48 -0700 (PDT) References: <20190603130611.32142-1-glv@posteo.net> <87v9xkyrzz.fsf@gnu.org> <20190605192625.3c567ce7@yamatai> <87tvd3wyhx.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#36071] [PATCH] gnu: Add leela-zero. In-reply-to: <87tvd3wyhx.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 11 Jun 2019 22:55:45 +0200 Message-ID: <87lfy7alke.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36071 Cc: Guillaume LE VAILLANT , 36071@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: >> Ludovic Court=C3=A8s a =C3=A9crit : >> >>> Does the game run at all if we don=E2=80=99t download additional network >>> weight data? >>> >>> There=E2=80=99s a debate as to whether trained neural network parameter= s can >>> be considered =E2=80=9Csource=E2=80=9D: . >> >> The game needs neural network weights to run. The user must download >> a file with the weights (usually from >> , which is updated daily I think) >> and put it in '$HOME/.local/share/leela-zero/'. >> >> Do you think some weigths (e.g. taken from >> , for reproducibility) should be >> embedded in the package? > > My point is about whether these trained neural network data are > something that we could distribute per the FSDG. > > The LWN article above mentions =E2=80=98leela-zero=E2=80=99. In Debian (= which has a > different policy), =E2=80=98leela-zero=E2=80=99 has apparently been accep= ted, but > without the data, and with a link to said data (as in your original > patch): > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D903634 > > Perhaps we could do the same, but I=E2=80=99d like to hear what others th= ink. We need to ensure that the software necessary to train the networks is included. Is this the case? Distributing the training data is not an option, as I see it, because the files are very large. I don=E2=80=99t know about the networks that are offered for download at https://leela.online-go.com/networks/. These are files of very different sizes, and it is neither clear what license applies nor how they were arrived at. They are zipped up magic numbers. Arguably a similar statement could be made about impulse response files for audio filters (such as convolution reverbs). While we offer convolution filters (such as the =E2=80=9Cir=E2=80=9D package), we don=E2= =80=99t include data files. Had I not made the link to network weights for ML models I would have considered impulse response files no different from e.g. game assets. Now I=E2=80=99m not so sure any more. I don=E2=80=99t really know what it really means for data to be =E2=80=9Cnon-functional=E2=80=9D. Back to this patch: I think it=E2=80=99s fine to accept it as long as the software necessary for training is included. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 11 18:54:25 2019 Received: (at 36071) by debbugs.gnu.org; 11 Jun 2019 22:54:25 +0000 Received: from localhost ([127.0.0.1]:60354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1haper-0003gT-Jv for submit@debbugs.gnu.org; Tue, 11 Jun 2019 18:54:25 -0400 Received: from tobias.gr ([80.241.217.52]:58546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hapeo-0003gH-TY for 36071@debbugs.gnu.org; Tue, 11 Jun 2019 18:54:23 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id c7b21951; Tue, 11 Jun 2019 22:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=D/lGHLzdxA1t0yz+6iS//h dii9A6GI24qQ56PR3vgoQ=; b=iO5Tbz9a/fQQ8dxA9pSoZal+AwoFoEfrK/9IpP 1/RIBAXTkXnu9Zl4BsiuSIlJ30wgZ/C+EWY0pe++oAOJko+6ZdqGdN4Axfq24nRv loHycATkzNq2TMDWlYnFwCLHCPgsHaGABPpQG1aSXOMhqLiKCe8nS+la4Wyw5T6U 9Xbl3EuxyUxT6H6vB9Fy1vQAu7p/p6DfnxLE0CPbIZf00YQZN71ItGkhehd1GHOF +JagUvu8tHpcBViTnx0QyO02r19tBRSr6czSqPL5A5MmTPj3XvmHy5vE/VVEr0XU bM4rA+vcFbg5jpCsTPJ26VJ4vbdvSJLbAJoTNOks4UuJ1ixQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c4014b4a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 11 Jun 2019 22:54:20 +0000 (UTC) From: Tobias Geerinckx-Rice To: Ricardo Wurmus Subject: Re: [bug#36071] [PATCH] gnu: Add leela-zero. References: <20190603130611.32142-1-glv@posteo.net> <87v9xkyrzz.fsf@gnu.org> <20190605192625.3c567ce7@yamatai> <87tvd3wyhx.fsf@gnu.org> <87lfy7alke.fsf@elephly.net> In-reply-to: <87lfy7alke.fsf@elephly.net> Date: Wed, 12 Jun 2019 00:54:19 +0200 Message-ID: <87h88vens4.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36071 Cc: Guillaume LE VAILLANT , Ludovic =?utf-8?Q?Court=C3=A8s?= , 36071@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ricardo Wurmus wrote: > Back to this patch: I think it=E2=80=99s fine to accept it as long as=20 > the > software necessary for training is included. I can't assess its accuracy, but this comment[0] from the linked=20 LWN article looks relevant. Particularly: =2D-8<---------------cut here---------------start------------->8--- So this is basically a distributed computing client as well as a=20 Go engine that runs with the results of that distributed computing=20 effort. =2D-8<---------------cut here---------------end--------------->8--- If that's true, there is no separate =E2=80=98training software=E2=80=99 to= worry=20 about. The whole link is worth a click since there seems to be a =E2=80=98server=20 component=E2=80=99 involved as well. Kind regards, T G-R [0]: https://lwn.net/Articles/760483/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXQAxGwAKCRANsP+IT1Vt efdwAP0Yywgm/Af9Sy671i1pW6uM5AmRE/HyS6EE0yzzqZxTYwD/WSnbsyxVO7QE kRsiE8gT6CeYLNitCCfo/okRuCGQnQE= =dBAh -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 11:12:20 2019 Received: (at 36071-done) by debbugs.gnu.org; 25 Jun 2019 15:12:20 +0000 Received: from localhost ([127.0.0.1]:33211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfn7L-00061G-UW for submit@debbugs.gnu.org; Tue, 25 Jun 2019 11:12:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfn7H-00060u-DC for 36071-done@debbugs.gnu.org; Tue, 25 Jun 2019 11:12:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfn78-0002ZE-L4; Tue, 25 Jun 2019 11:12:08 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53282 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfn77-0006DN-EY; Tue, 25 Jun 2019 11:12:05 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ricardo Wurmus Subject: Re: [bug#36071] [PATCH] gnu: Add leela-zero. References: <20190603130611.32142-1-glv@posteo.net> <87v9xkyrzz.fsf@gnu.org> <20190605192625.3c567ce7@yamatai> <87tvd3wyhx.fsf@gnu.org> <87lfy7alke.fsf@elephly.net> Date: Tue, 25 Jun 2019 17:12:01 +0200 In-Reply-To: <87lfy7alke.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 11 Jun 2019 22:55:45 +0200") Message-ID: <87lfxplmwu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36071-done Cc: Guillaume LE VAILLANT , 36071-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Ricardo Wurmus skribis: > Back to this patch: I think it=E2=80=99s fine to accept it as long as the > software necessary for training is included. Tobias Geerinckx-Rice skribis: > I can't assess its accuracy, but this comment[0] from the linked=20 > LWN article looks relevant. Particularly: > > So this is basically a distributed computing client as well as a=20 > Go > engine that runs with the results of that distributed computing=20 > effort. > > If that's true, there is no separate =E2=80=98training software=E2=80=99 = to worry=20 > about. > > The whole link is worth a click since there seems to be a =E2=80=98server= =20 > component=E2=80=99 involved as well. Based on the info we have so far, including the fact that Debian includes it (see ), I went ahead and applied the patch. We can obviously revisit this issue later should someone have concerns and/or additional info. Thanks everyone! Ludo=E2=80=99. From unknown Sat Jun 21 10:45:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Jul 2019 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator