Leela Zero

For discussing go computing, software announcements, etc.
dfan
Gosei
Posts: 1599
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Leela Zero

Post by dfan »

My understanding from monitoring the Github page is that while the 256x20 nets are much stronger than the recent 128x10 nets, they are not actually stronger per unit amount of clock time, because the net is slower and MCTS gets to visit fewer nodes, and that's why they haven't been officially promoted.

I'm guessing that gcp as has decided to his satisfaction that 192x15 is actually better per unit of time, or he wouldn't have promoted it. It is reassuring that it has the same performance on the graph as the old 256x20 attempts but with a significantly smaller network.
Pio2001
Lives in gote
Posts: 418
Joined: Mon Feb 16, 2015 12:13 pm
Rank: kgs 5 kyu
GD Posts: 0
KGS: Pio2001
Has thanked: 9 times
Been thanked: 83 times

Re: Leela Zero

Post by Pio2001 »

Hi,
Is it possible to run Leela Zero on Linux Mint Debian ?

I can't compile it because (I think) it requires "Boost 1.58.x or later", and the latest version of boost available on Mint Debian is 1.55.

The "Make" command fails with the message

"g++ -I/usr/include/openblas -I. -Wall -Wextra -pipe -O3 -g -ffast-math -flto -march=native -std=c++14 -DNDEBUG -MD -MP -c -o Network.o Network.cpp
Network.cpp:33:36: fatal error: boost/spirit/home/x3.hpp: Aucun fichier ou dossier de ce type"
[In English : No file or directory of this type].
dfan
Gosei
Posts: 1599
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Leela Zero

Post by dfan »

Is there really no way to install Boost later than 1.55 (from 2013) on Mint? The current version of Boost is 1.67 and even 1.58 is three years old. Is there a technical issue or has no one packaged up a new version for five years?
Pio2001
Lives in gote
Posts: 418
Joined: Mon Feb 16, 2015 12:13 pm
Rank: kgs 5 kyu
GD Posts: 0
KGS: Pio2001
Has thanked: 9 times
Been thanked: 83 times

Re: Leela Zero

Post by Pio2001 »

I don't know. I don't even know what are these packages, even less how and where they are installed.
What I can do is installing or removing them using either the Software manager or the Synaptic manager.

What I can see after a Google search :

My Linux is LMDE 2 (Linux Mint Debian Edition) and is currently based on the "Jessie" version of Debian.
An upgrade to the "Stretch" version of Debian is on its way.
https://blog.linuxmint.com/?p=3555

Debian "Jessie" is associated with version 1.55 of Boost-defaults.
Debian "Stretch" is associated with version 1.62 of Boost-defaults.
libboost-dev & libboost-program-options-dev are "dependancies" of Boost-defaults.
https://packages.debian.org/jessie/libboost-dev

I don't know if it is possible to manually uninstall Boost 1.55 and reinstall Boost 1.62, but since I don"t know what I am doing, I'd take the following sentence, from the above link, as a warning for me not to mess everything up : "This package is a dependency package, which depends on Debian's default Boost version (currently 1.55)" ["currently" means Jessie]

I guess I'll have to wait 2 or 3 months, until Linux Mint is updated. Once the new version is out, I should automatically get version 1.62 of Boost.
dfan
Gosei
Posts: 1599
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: Leela Zero

Post by dfan »

Boost is a set of general-purpose C++ libraries. Many C++ programs use it but I'm not sure how Leela Zero uses it exactly.

I can see by googling for "leela zero mint" that people have had issues building on Mint but at least some of those issues have been resolved. I don't know if they have newer versions than you, though. You could try asking on the Leela Zero issues page.
Post Reply