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 GJOONHZdXWThPQAASxT56A (envelope-from ) for ; Thu, 11 May 2023 23:26:14 +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 8P2mM3ZdXWT3ywAAG6o9tA (envelope-from ) for ; Thu, 11 May 2023 23:26:14 +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 A5BDE3A253 for ; Thu, 11 May 2023 23:26:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxDnY-0005mA-01; Thu, 11 May 2023 17:26:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxDnW-0005ls-Bz for guix-patches@gnu.org; Thu, 11 May 2023 17:26:02 -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 1pxDnW-0001wc-3X for guix-patches@gnu.org; Thu, 11 May 2023 17:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pxDnV-0000C2-Jm for guix-patches@gnu.org; Thu, 11 May 2023 17:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63088] [PATCH 0/3] Add Lc0 Resent-From: zamfofex Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 May 2023 21:26:01 +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: =?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.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 ) id 1pxDnD-0000BK-N4 for submit@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 ) id 1pxDnB-0000B6-I2 for 63088@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 Message-ID: <1309432614.1423878.1683840333514@privateemail.com> In-Reply-To: <87fs83yma5.fsf_-_@envs.net> References: <87fs83yma5.fsf_-_@envs.net> 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-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683840374; a=rsa-sha256; cv=none; b=lTjzyghgsVlOrGU/iUlkZqvx9yzSegdlvkNdWb137xiCozjQe+P2IRqTXYPdFo375wY0L4 VSmQhowQd6V4bhrgP4CiJGcysgif8PHtkqNK7XdeiBZk4ulbPzQCS3dl5vFSb0RvmoSUYr 7ygVhYCASGnS082b72MNGSjX3DEhQonSeAUJVPYx7tM7trapwZ7RGw3hreCzoYLEUrs/lh FbJUb2X2wAXvjpUh0uq9LhIQV6MQEuRpmQGK+sgnJBpqxgOxCKPKtLr/o1m++hw8lGYoY9 yyhWfX28l3u99FKgGCZBaDgg2BBMXpLrvDO4s83T3J6uIPhATi0DbHKeftm61Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=twdb.moe header.s=default header.b=N+DRZnz+; dmarc=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=1683840374; 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=tc5ClaPh9yg9dEm+s2/3qhjlepd//bgUc6VNTAAxYwg=; b=OlYOPyKBduRIg5q5o0f7+QN2Oc3/n0FvHTPm24x+kNKOWdRZ4hP9h1YVQQnUEA3iVmmN+g jVXWmRa5jBymtQoeWwxqeEOtHHkTMVNEbeIq7pUE3JoPQHROwPSoLCr9Ot93DzQXsj5FzP PGa7smjnCc78mLW6ivkoCxAxa0NBSw+e88f829PWk5Q5YauQlV+XENdZeTb4GdmuHnC5uk PTjOyL7TAKJsgunOyQeijRKEofZYfKqVugXmZnSqDOcuRAtgjjMpAhsQJdqt5uUt11sbOS LMqa7GC9lk4GfCVtzor7SweAzH9XpJUEQ4fcuBdVX3dMb+c9oN4skdIukq0M8g== X-Migadu-Spam-Score: -3.21 X-Spam-Score: -3.21 X-Migadu-Queue-Id: A5BDE3A253 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=twdb.moe header.s=default header.b=N+DRZnz+; dmarc=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-TUID: P92D6+Bj3ePg > 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@protonmail.co= 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.