Releases: MAOmao000/LeelaGUI
Releases · MAOmao000/LeelaGUI
v2.0.9
Notable Changes
- Set bundled KataGo to v1.13.2.
- Set the bundled 18bit network to b18c384nbt-optimisticv13-s5971M.bin.gz.
(The file name is b18c384nbt-uec.bin.gz and the contents are replaced with b18c384nbt-optimisticv13-s5971M.bin.gz.)
Other notes
- The following dlls are required for KataGo (Windows 64-bit version) using "mimalloc".
- mimalloc-override.dll
- mimalloc-redirect.dll
- msvcp140.dll
- msvcp140_1.dll
- vcruntime140.dll
- vcruntime140_1.dll
- The included TensorRT dependencies are:
- TesorRT 8.6.0 (TensorRT-8.6.0.12.Windows10.x86_64.cuda-12.0)
- CUDA 12.1
- CUDNN 8.8.1 (cudnn-windows-x86_64-8.8.1.3_cuda12-archive)
v2.0.8
Notable Changes
- Supports PCs with less than 2 CPU cores.
- Only the Windows 64-bit version will bundle KataGo conjunctioned with "mimalloc".
Other notes
- The following dlls are required for KataGo (Windows 64-bit version) using "mimalloc".
- mimalloc-override.dll
- mimalloc-redirect.dll
- msvcp140.dll
- msvcp140_1.dll
- vcruntime140.dll
- vcruntime140_1.dll
- See v2.0.5 for others.
v2.0.7
v2.0.6
Notable Changes
- 2023/03/02 Add.
- There was a mistake in the release work and I released the v2.0.5 executable file. Replaced setupLeelaI18N_WIN32.zip and setupLeelaI18N_WIN64.zip with the correct ones.
- Add rule specification to new game dialog.
- Change the bundled katago_avx2.exe to use AVX2.
Other notes
- See v2.0.5
v2.0.5
Notable Changes
- All folders and files under the installation folder are deleted during installation.
- Allow Leela and KataGo engines to work without rebooting
- Engine selection for rating games is specified in the settings dialog
- Engine selection for new games is specified in the new game dialog
- When SGF is loaded, process with the engine used at that time
- View up-to-date policies and ownership even during analysis by KataGo
- Show latest policy and ownership even after undo, redo when using KataGo engine
- Change the ownership display from a circle to a rectangle
- Assign separate registry keys for LeelaGUI and LeelaGUI_OpenCL
- Separate rankings for rated games in Leela and KataGo engines
- Make the star display on the board easier to see
- Allow KataGo engine to choose whether to resign or not
- Set the included KataGo engine to v1.2.4
- some other bug fixes
Other notes
- Installing this version of LeelaGUI will delete all folders and files under the installation folder. Additional folders and files should be backed up before installation.
- To use katago_TRT.exe included in setupLeelaI18N_WIN64.zip, you need to install TensorRT-8.5.2.2.Windows10.x86_64.cuda-11.8.cudnn8.6. After downloading and unzipping, copy the following files to the folder containing the KataGo executable file.
- nvinfer.dll
- TensorRT-8.5.2.2.Windows10.x86_64.cuda-11.8.cudnn8.6
Note the cuda-11.8 part. It doesn't work with cuda-10.x. Also, you don't need to install cuda and cudnn. - This katago_TRT.exe can only work on 64bit environment with Nvidia GPU.
- There was no significant difference in performance between the KataGo analysis engine and the GTP engine, regardless of which one was selected.
- Even if you set the following definitions in the KataGo configuration definition file, LeelaGUI will rewrite the information specified on the screen.
- reportAnalysisWinratesAs
- rules
- friendlyPassOk
- hasButton
- ko
- scoring
- suicide
- whiteHandicapBonus
- maxVisits
- maxTime
- ponderingEnabled
- The following settings are invalid for the KataGo analysis engine.
- allowResignation
- resignThreshold
- rejectConsecTurns
- resignMinScoreDifference
- maxTimePondering
- The following settings are invalid for the KataGo GTP engine.
- numAnalysisThreads
- The settings for KataGo performance improvement are common to analysis and GTP.
- analysisWideRootNoise (Analysis only)
- numSearchThreads (numSearchThreadsPerAnalysisThread not available)
- nnMaxBatchSize
- nnCacheSizePowerOfTwo
- nnMutexPoolSizePowerOfTwo
- numNNServerThreadsPerModel (GPU only)
- openclReTunePerBoardSize (GPU only)
- openclUseFP16 (GPU only)
- numEigenThreadsPerModel (CPU only)
- The number of threads for KataGo analysis engine should be set as "numSearchThreads" like GTP engine instead of "numSearchThreadsPerAnalysisThread".
- For ubuntu, install with "sudo dpkg -i leela_2.0.5_amd64.deb" and uninstall with "sudo dpkg -r leela".
- If the KataGo engine is selected in the setting dialog in advance, and there is a problem with the path information of the engine, a message box asking whether to start with the Leela engine will be output when LeelaGUI is started. In that case, please launch with Leela engine and correct the path information of KataGo.
- For KataGo engine, the first boot after installation may take several minutes.
- When building from source files with cmake, add -DUSE_GPU=1 to the cmake command arguments to specify GPU usage.
- You may need to install zlib1g-dev when using Linux released deb files. (Ubuntu 20.04)
- You may need to install libzip5_1.5.1 when using Linux released deb files. (Ubuntu 22.04)
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo apt install ./libzip5_1.5.1-0ubuntu1_amd64.deb
- Even if Pondering is specified in the settings dialog, this will only work if you specify "Pondering/Time Priority" for Max Engine Level. It does not work at the maximum engine level other than "Pondering/time priority". It also doesn't work in ratedgames.
- The rated game will not be established if some kind of option display is specified. It also will not be established if you do an undo.
v2.0.4
Notable Changes
Remove unreferenced files from bandled files. (Windows only)
Other notes
- Even PCs that do not have an external GPU (graphic board) have a built-in GPU in the CPU unless they are very old. In the case of OpenCL, this built-in GPU can also work, so please try starting with LeelaI18N (GPU accelerated) first.
- The launch immediately after installation may refer to the previous KataGo configuration definition file, in which case it will not be able to launch with the KataGo engine. Start with the Leela engine once and reconfigure the engine information on the setting screen. If you use the bundled KataGo executable and model, just clear the three path information and it will launch with the current default configuration the next time you launch it.
- If a fatal error prevents LeelaGUI from starting, please uninstall LeelaGUI and reinstall it before starting LeelaGUI. Windows has an uninstall menu in the start menu.
- There was no significant difference in performance between the KataGo analysis engine and the GTP engine, regardless of which one was selected.
- Even if you set the following definitions in the KataGo configuration definition file, LeelaGUI will rewrite the information specified on the screen.
- reportAnalysisWinratesAs
- rules
- friendlyPassOk
- hasButton
- koRule
- scoringRule
- taxRule
- multiStoneSuicideLegal
- whiteHandicapBonus
- maxVisits
- maxTime
- ponderingEnabled
- The following settings are invalid for the KataGo analysis engine.
- allowResignation
- resignThreshold
- rejectConsecTurns
- resignMinScoreDifference
- maxTimePondering
- The following settings are invalid for the KataGo GTP engine.
- numAnalysisThreads
- KataGo performance settings are common to analysis and GTP, except for wideRootNoise and analysisWideRootNoise.
- wideRootNoise (GTP only)
- analysisWideRootNoise (Analysis only)
- numSearchThreads (numSearchThreadsPerAnalysisThread not available)
- nnMaxBatchSize
- nnCacheSizePowerOfTwo
- nnMutexPoolSizePowerOfTwo
- numNNServerThreadsPerModel (Used GPU only)
- openclReTunePerBoardSize (Used GPU only)
- openclUseFP16 (Used GPU only)
- numEigenThreadsPerModel (Unused GPU only)
- The number of threads for KataGo analysis engine should be set as "numSearchThreads" like GTP engine instead of "numSearchThreadsPerAnalysisThread" for analysis engine.
- When using the KataGo configuration definition file bundled with LeelaIGUL with other GTP interface-based GUIs (e.g. Lizzie, Sabaki), the win rate and eye difference are reversed. Change the following setting value on line 88 of the configuration definition file.
- reportAnalysisWinratesAs = BLACK (-> Change BLACK to SIDETOMOVE)
- If you want KataGo to run at maximum performance, get the recommended number of threads below and change the following settings in the configuration definition file.
.\katago[_OpenCL].exe benchmark -config katago_comoon.cfg -modelfile name of the model to use
./katago[_OpenCL] benchmark -config katago_comoon.cfg -modelfile name of the model to use
- numSearchThreads =
KataGo recommended number of threads
- (When using two GPUs: External graphics board and built-in GPU can be mixed)
- numNNServerThreadsPerModel = 2
- openclDeviceToUseThread0 = 0
- openclDeviceToUseThread1 = 1
- numSearchThreads =
- For ubuntu, install with "sudo dpkg -i leela_2.0.3_amd64.deb" and uninstall with "sudo dpkg -r leela".
- If the KataGo engine is selected in the setting dialog in advance, and there is a problem with the path information of the engine, a message box asking whether to start with the Leela engine will be output when LeelaGUI is started. In that case, please launch with Leela engine and correct the path information of KataGo.
- For KataGo engine, the first boot after installation may take several minutes.
- When building from source files with cmake, add -DUSE_GPU=1 to the cmake command arguments to specify GPU usage.
- You may need to install zlib1g-dev when using Linux released deb files. (Ubuntu 20.04)
- You may need to install libzip5_1.5.1 when using Linux released deb files. (Ubuntu 22.04)
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo apt install ./libzip5_1.5.1-0ubuntu1_amd64.deb
- Even if "Pondering" is specified in the settings dialog, this will not work unless the new game has Max Engine Level set to "Ponder/Time Priority". It doesn't work on rate games. And newer games that don't have a max engine level specified in "Ponder/Time Priority".
- The following items are managed independently by Leela engine and KataGo engine.
- Engine in the settings dialog (In addition, the analysis engine and GTP engine are independent.)
- Configration in the settings dialog (In addition, the analysis engine and GTP engine are independent.)
- Model in the settings dialog (In addition, the analysis engine and GTP engine are independent.)
- Pondering in the settings dialog
- Time for game in the New Game... dialog
- Byo time in the New Game... dialog
- Engine max level in the New Game... dialog
Added 2023/01/28
- There was a case where LeelaI18N_OpenCL.exe could not be started because OpenCL.dll did not exist in System32(SysWOW64) of Windows. I thought that if I install the following GPU driver, it will be placed in the Windows System, but it was different. If it is not placed in the Windows System, search your PC for OpenCL.dll and copy it to the folder with LeelaI18N_OpenCL.exe. You can also get OpenCL.dll from https://github.com/KhronosGroup/OpenCL-SDK.
- NVIDIA
- AMD
- Intel
- TesorRT backend katago_TRT.exe included insetupLeelaI18N_WIN64.zip is built in the following environment. If it does not work properly, there may be a mismatch in TesorRT, CUDA, and CUDNN versions (at least Cuda-11.xx).
- TesorRT TensorRT-8.5.2.2.Windows10.x86_64.cuda-11.8.cudnn8.6
- CUDA 11.8
- CUDNN 8.6(for cuda-11)
v2.0.3
Notable Changes
- Support for KataGo v1.12.3
- Addition of KataGo executable file for TensorRT backend (because the performance was the best in my environment)
2023/01/24 add
- Incorporate KataGo's reference DLLs (zip, libzip) into the executable. (setupLeelaI18N_WIN32MT.zip, setupLeelaI18N_WIN64MT.zip)
Other notes
- To use katago_TRT.exe included in setupLeelaI18N_WIN64.zip, you need to install TensorRT-8.5.2.2.Windows10.x86_64.cuda-11.8.cudnn8.6. After downloading and unzipping, copy the following files to the folder containing the KataGo executable file.
- nvinfer.dll
- nvinfer_builder_resource.dll
- nvinfer_plugin.dll
- nvonnxparser.dll
- nvparsers.dll
- TensorRT-8.5.2.2.Windows10.x86_64.cuda-11.8.cudnn8.6
Note the cuda-11.8 part. It doesn't work with cuda-10.x. Also, you don't need to install cuda and cudnn. - This katago_TRT.exe can only work on 64bit environment with Nvidia GPU.
- See v2.0.2 for other notes.
v2.0.2
Notable Changes
- Unification of KataGo configuration files.
analysis_example.cfg and gtp_example.cfg have been abolished and integrated into katago_common.cfg. This configuration file (katago_common.cfg) is not specific to LeelaGUI and can be used by other GUIs. - Fix for error response from KataGo.
Other notes
- The launch immediately after installation may refer to the previous KataGo configuration definition file, in which case it will not be able to launch with the KataGo engine. Start with the Leela engine once and reconfigure the engine information on the setting screen. If you use the bundled KataGo executable and model, just clear the three path information and it will launch with the current default configuration the next time you launch it.
- There was no significant difference in performance between the KataGo analysis engine and the GTP engine, regardless of which one was selected.
- Even if you set the following definitions in the KataGo configuration definition file, LeelaGUI will rewrite the information specified on the screen.
- reportAnalysisWinratesAs
- rules
- friendlyPassOk
- hasButton
- ko
- scoring
- suicide
- whiteHandicapBonus
- maxVisits
- maxTime
- ponderingEnabled
- The following settings are invalid for the KataGo analysis engine.
- allowResignation
- resignThreshold
- rejectConsecTurns
- resignMinScoreDifference
- maxTimePondering
- The following settings are invalid for the KataGo GTP engine.
- numAnalysisThreads
- The settings for KataGo performance improvement are common to analysis and GTP.
- analysisWideRootNoise (Analysis only)
- numSearchThreads (numSearchThreadsPerAnalysisThread not available)
- nnMaxBatchSize
- nnCacheSizePowerOfTwo
- nnMutexPoolSizePowerOfTwo
- numNNServerThreadsPerModel (Used GPU only)
- openclReTunePerBoardSize (Used GPU only)
- openclUseFP16 (Used GPU only)
- numEigenThreadsPerModel (Unused GPU only)
- The number of threads for KataGo analysis engine should be set as "numSearchThreads" like GTP engine instead of "numSearchThreadsPerAnalysisThread".
- For ubuntu, install with "sudo dpkg -i leela_2.0.2_amd64.deb" and uninstall with "sudo dpkg -r leela".
- If the KataGo engine is selected in the setting dialog in advance, and there is a problem with the path information of the engine, a message box asking whether to start with the Leela engine will be output when LeelaGUI is started. In that case, please launch with Leela engine and correct the path information of KataGo.
- For KataGo engine, the first boot after installation may take several minutes.
- When building from source files with cmake, add -DUSE_GPU=1 to the cmake command arguments to specify GPU usage.
- You may need to install zlib1g-dev when using Linux released deb files. (Ubuntu 20.04)
- You may need to install libzip5_1.5.1 when using Linux released deb files. (Ubuntu 22.04)
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo apt install ./libzip5_1.5.1-0ubuntu1_amd64.deb
- Even if Pondering is specified in the settings dialog, this will only work for new games with unlimited maximum engine level. It doesn't work if you don't specify rate game or maximum engine level as unlimited.
- The following items are managed independently by Leela engine and KataGo engine.
- Engine in the settings dialog (Independent for analysis and GTP)
- Configration in the settings dialog (Independent for analysis and GTP)
- Model in the settings dialog (Independent for analysis and GTP)
- Pondering in the settings dialog
- Time for game in the New Game... dialog
- Byo time in the New Game... dialog
- Engine max level in the New Game... dialog
v2.0.1
Notable Changes
- Support KataGo v1.12.2 engine.
- katago_avx2.exe is included in setupLeelaI18N_WIN64.zip. When connecting with KataGo (EIGEN BACKEND) using AVX2, specify katago_avx2.exe in the engine path of the setting dialog. There is no setupLeelaI18N_WIN64_AVX2.zip provided after v2.0.1.
- Even if KataGo terminates abnormally without outputting an error log, it can be started with the Leela engine.
- Stop zlib1.dll reference for 64-bit EIGEN BACKEND KataGo included in v2.0.0.
Constraint
- Do not change "reportAnalysisWinratesAs = BLACK" in analysis_exapmple.cfg.
Other notes
- When using the bundled KataGo, the path of the configuration definition file should be as follows. If you clear the path information, the bundled consistent path information will be set.
- When the engine type is Analysis : analysis_example.cfg
- When the engine type is GTP : gtp_example.cfg
- If the KataGo engine is selected in the setting dialog in advance, and there is a problem with the path information of the engine, a message box asking whether to start with the Leela engine will be output when LeelaGUI is started. In that case, please launch with Leela engine and correct the path information of KataGo.
- For ubuntu, install with "sudo dpkg -i leela_2.0.1_amd64.deb" and uninstall with "sudo dpkg -r leela".
- For KataGo engine, the first boot after installation may take several minutes.
- In the case of KataGo engine, the first step after installation may take more than 10 seconds.
- You may need to install zlib1g-dev when using Linux released deb files. (Ubuntu 20.04)
- You may need to install libzip5_1.5.1 when using Linux released deb files. (Ubuntu 22.04)
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo apt install ./libzip5_1.5.1-0ubuntu1_amd64.deb
- Even if Pondering is specified in the settings dialog, this will only work for new games with unlimited maximum engine level. It doesn't work if you don't specify rate game or maximum engine level as unlimited.
- The following items are managed independently by Leela engine and KataGo engine.
- Pondering in the settings dialog
- Time for game in the New Game... dialog
- Byo time in the New Game... dialog
- Engine max level in the New Game... dialog
v2.0.0
Notable Changes
- In addition to the existing KataGo Analysis engine, KataGo GTP engine can be connected. However, it will not work unless KataGo V1.12.0 or later.
- Make 18x384 models available.
- In addition to engine selection, KataGo's configuration file and model can be specified in the Settings dialog. However, it will be reflected after restart.
- Improved the accuracy of time information control. However, in case of KataGo Analysis engine, it may exceed the specified value.
- Change Unlimited in the New Game dialog to Ponder/Time priority.
- Corrected the score displayed in the score dialog to the correct value.
- Show average think time per move and average number of visits for KataGo engine in Score dialog.
- Avoid window freezes as much as possible.
Constraint
- Do not change "reportAnalysisWinratesAs = BLACK" in analysis_exapmple.cfg.
Other notes
- For KataGo engine, the first boot after installation may take several minutes.
- In the case of KataGo engine, the first step after installation may take more than 10 seconds.
- You may need to install zlib1g-dev when using Linux released deb files. (Ubuntu 20.04)
- You may need to install libzip5_1.5.1 when using Linux released deb files. (Ubuntu 22.04)
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo apt install ./libzip5_1.5.1-0ubuntu1_amd64.deb
- Even if Pondering is specified in the settings dialog, this will only work for new games with unlimited maximum engine level. It doesn't work if you don't specify rate game or maximum engine level as unlimited.
- The following items are managed independently by Leela engine and KataGo engine.
- Pondering in the settings dialog
- Time for game in the New Game... dialog
- Byo time in the New Game... dialog
- Engine max level in the New Game... dialog