I have been putting off updating my installation of Lizzie and KataGo, because
the original installation (Lizzie 0.7.2, KataGo 1.3?) was lengthy, as recorded
here.
viewtopic.php?f=18&t=17187
The first step was to download the latest files.
Code: Select all
Lizzie.0.7.4.Mac-Linux.zip
katago-v1.8.0-opencl-linux-x64.zip
kata1-b40c256-s6485784576-d1573360039.bin.gzA "Network File" version ending in bin.gz is appropriate. The file chosen was
the "latest known strong" network.
Note the use of OpenCL, not CUDA. As before, the GPU is an NVIDIA GeForce GTX 1660.
For historical reasons, all the files are placed here.
Code: Select all
~/lizzie/targetAfter making the backup, expand the new zip files. The new Lizzie files expanded into a Lizzie
sub-directory and needed to be moved up one level.
Move
Code: Select all
kata1-b40c256-s6485784576-d1573360039.bin.gzMake the katago file executable.
Code: Select all
chmod +x katagothe time-honoured kludge of attaching a symbolic link with the new name
to the old library and hoping that everything still works.
Code: Select all
cd /usr/lib/x86_64-linux-gnu/
ln -sf libzip.so.4 libzip.so.5
cd -katago.exe, but the .exe extension is not usual under Linux.
Code: Select all
./katago genconfig -model kata1-b40c256-s6485784576-d1573360039.bin.gz -output gtp_custom-kata1-b40c256.cfgaccept the defaults, including no pondering.
The only change in the recommended configuration was that the number of threads changed from 12 to 8 for the newer neural network.
Various futile attempts were made to install the new neural network. Perhaps they did succeed in
installing the new KataGo configuration.
Code: Select all
mv default_gtp.cfg old_default_gtp.cfg
cp -af gtp_custom-kata1-b40c256.cfg default_gtp.cfg
mv gtp_example.cfg old_gtp_example.cfg
cp -af gtp_custom-kata1-b40c256.cfg gtp_example.cfgreplace the line for katago with the following.
Code: Select all
./katago gtp -model kata1-b40c256-s6485784576-d1573360039.bin.gz -config gtp_custom-kata1-b40c256.cfgLizzie started with an open GTP console, which is not wanted. But that did not
happen again after the first exit following manual closure of the console.
There is a setting in the GUI for this anyway.
The following functional changes have been seen. Warning: it is early days with the new versions.
1. KataGo now sometimes recommends different moves in complex situations, as expected.
2. At the end of a game with the old versions, the estimated score by KataGo was commonly out by 0.5 points. That error is now reduced to 0.1 points.
3. I use Lizzie and KataGo to analyse human games. With the old version, Lizzie would sometimes get confused and continue
analysing the previous move after it had been told to move on one play in the game record. The new move appeared on the screen, but was
ignored in the analysis. I have yet to see this happen with the new versions. (The work-around was to discard the history by reloading the SGF file.)
Testing has begun with Debian 11 (bullseye). It also uses libzip4 AFAICT, but I
expect greater trouble with finding and installing the correct GPU drivers
and the switch from Xwindows to Wayland. I'll post here if things do work with Debian 11.
Many thanks to featurecat, lightvector and their many collaborators.
Edited to correct the symbolic link code and the double description of the optimisation step.
And some textual infelicities.