From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CBTBJzacY2TyQQAASxT56A (envelope-from ) for ; Tue, 16 May 2023 17:07:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SKPeJjacY2RsVAAAG6o9tA (envelope-from ) for ; Tue, 16 May 2023 17:07:34 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 766DA3040D for ; Tue, 16 May 2023 17:07:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pywGZ-0001rD-QK; Tue, 16 May 2023 11:07:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pywGW-0001pJ-Mi for guix-patches@gnu.org; Tue, 16 May 2023 11:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pywGW-0002pp-Eq for guix-patches@gnu.org; Tue, 16 May 2023 11:07:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pywGW-0001u6-A1 for guix-patches@gnu.org; Tue, 16 May 2023 11:07:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63088] [PATCH 0/3] Add Lc0 Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 May 2023 15:07:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63088 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zamfofex , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 63088@debbugs.gnu.org Received: via spool by 63088-submit@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 ) id 1pywFz-0001rV-SP for submit@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 ) id 1pywFu-0001qe-N8 for 63088@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@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 In-Reply-To: <1309432614.1423878.1683840333514@privateemail.com> References: <87fs83yma5.fsf_-_@envs.net> <1309432614.1423878.1683840333514@privateemail.com> Date: Tue, 16 May 2023 14:16:25 +0200 Message-ID: <86leho79pi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684249654; a=rsa-sha256; cv=none; b=CXqeycHLWS1IOwC/ywORneFNIuRFsQJbpGE6/lIxuNF2w0k7GuvbDPgVlmAmMZDN0ePxmQ eOYl4Js8WsiPT8kBROEWa9tp9cL97OLM+tqWd1omzjw9GpFwiJwtuAr5EJNgO8XsNEMBxg 8D0+L/Ps3z7TtqRJjIOn8EA8DbC8PfoAXGCYPrvqRVZXz48SYb3WjtOjWwrIZ4sE0ITcuG TEgefTprPYVn6s0antghbWV7Be8jJrwqHVniM+FOD6dZLaYeRuRBPW93edz9jf/eRPIriA R6ojUxK488TX+I5GuPoSMx0m7k5L23mqkA6/PNQy6Xc8nCeKY/yXeZ3Pq1Bp5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Lf47MJel; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684249654; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z4/vXOvNFet5Oubapc/whC73w8ebaV37iElmeaq91AM=; b=T+Llz5+5MGP39TGQzYkC4OdsN+DHIXzFwLMqo8q352v6xBPZac51INpS6/Q5pLpzhu2Q5X smfRZwiXE1BGHkQ9f95ckI+ty2goJrYu48kgn7PpYsfI/NZvgjntW0da5P3BZizNCivrIW ZX0VVK3r1tf+GxjBAH2C9hBZ5hkwXcox8m32chjsZo89l3EB1Lm1nsRJ6Nc+8wZHWzQ8P/ usoqJ1QutbrsIe5nJ3cKVRzwo6P34IT2OiivDI703DMZaq1lkWrjVNZ4ktP8zTqRH+aJpe LsR9tUOFDiuoG2x7/F9C0LaGPHLkoQilLzESibz7eEGsJ9ondomcCJAol5kmMw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Lf47MJel; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.81 X-Spam-Score: 5.81 X-Migadu-Queue-Id: 766DA3040D X-TUID: zfkcxU8V0SF3 Hi, On Thu, 11 May 2023 at 18:25, zamfofex 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@protonmail.c= 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