Hi Lion
Just make sure you have the following FIVE files in your Leela CUDA folder, cublas64_92.dll,cudart64_92.dll,
cudnn64_7.dll, lc0.exe and weights.txt.
Simple.
Hope this helps.
Regards
Moderators: hgm, Rebel, chrisw
Hi Lion
No. I meant Cuda 9.0/9.2. Both Cuda-Versions are around 4xfaster than the normal GPU-Leela.
You're missing the point. It is about what LION meant, not you. I think lion means he sees no speedup at all from Open CL.
OK that's really helpful - I didn't know this existed.pohl4711 wrote: ↑Fri May 25, 2018 7:44 pm Then he should follow my step-by-manual:
How to run Leela CUDA (should be around 4x faster, than Leela GPU(!)) in Fritz/Shredder GUI:
Important: Leela CUDA needs 3 .dll-files from the NVIDIA-developer-website, otherwise it can not run!
And - of course - you need a NVIDIA CUDA GPU in your PC...
1) Update your Nvidia driver for your GPU to the latest version here: http://www.nvidia.de/Download/index.aspx
After that: reboot your PC.
2) Get LC0.exe for the cuDNN version from: https://crem.xyz/lc0/ and unpack it and put it in your Leela CUDA folder.
3) Install CUDA v9.2 from https://developer.nvidia.com/cuda-92-download-archive (you need an account) and get
cublas64_92.dll and cudart64_92.dll from the bin directory of CUDA v9.2 and copy it to your Leela CUDA-folder.
(Alternatively if you don't want to install CUDA, you can just unpack the installer and search in the unpacked
folder and files for the .dlls with <Strg>+F in the Windows-Explorer, that was, what I did). Put the 2 files in
your Leela CUDA-folder.
4) Get cuDNN for CUDA 9.2 from https://developer.nvidia.com/rdp/cudnn-download (you also need an account for this)
and get cudnn64_7.dll from the bin directory of the zip and extract it and put it in your Leela CUDA-folder.
5) Download the latest network from http://lczero.org/networks and unpack it (Leela CUDA will autodetect it in
any form either as weights.txt or however it is named) and put it in your Leela CUDA-folder.
6) Create the UCI-Engine in Fritz/Shredder.
Done.
7) I strongly recommend to change the UCI-settings of Leela CUDA to this:
Scale thinking time = 2.500000
FPU reduction = -0.068300
Cpuct MCTS = 3.168000
Why these values? Because FPU reduction and Cpuct were optimized with the CLOP-tool to these values.
And raising Scale thinking time to 2.5 makes Leela moving slower, which means a better use of the game-time.
In my testing, Leela plays definitly stronger with this settings.
Excellent Tutorial.pohl4711 wrote: ↑Fri May 25, 2018 7:44 pm Then he should follow my step-by-manual:
How to run Leela CUDA (should be around 4x faster, than Leela GPU(!)) in Fritz/Shredder GUI:
Important: Leela CUDA needs 3 .dll-files from the NVIDIA-developer-website, otherwise it can not run!
And - of course - you need a NVIDIA CUDA GPU in your PC...
1) Update your Nvidia driver for your GPU to the latest version here: http://www.nvidia.de/Download/index.aspx
After that: reboot your PC.
2) Get LC0.exe for the cuDNN version from: https://crem.xyz/lc0/ and unpack it and put it in your Leela CUDA folder.
3) Install CUDA v9.2 from https://developer.nvidia.com/cuda-92-download-archive (you need an account) and get cublas64_92.dll and cudart64_92.dll from the bin directory of CUDA v9.2 and copy it to your Leela CUDA-folder (Alternatively if you don't want to install CUDA, you can just unpack the installer and search in the unpacked folder and files for the .dlls with <Strg>+F in the Windows-Explorer, that was, what I did). Put the 2 files in your Leela CUDA-folder.
4) Get cuDNN for CUDA 9.2 from https://developer.nvidia.com/rdp/cudnn-download (you also need an account for this) and get cudnn64_7.dll from the bin directory of the zip and extract it and put it in your Leela CUDA-folder.
5) Download the latest network from http://lczero.org/networks and unpack it (Leela CUDA will autodetect it in any form either as weights.txt or however it is named) and put it in your Leela CUDA-folder.
6) Create the UCI-Engine in Fritz/Shredder.
Done.
7) I strongly recommend to change the UCI-settings of Leela CUDA to this:
Scale thinking time = 2.500000
FPU reduction = -0.068300
Cpuct MCTS = 3.168000
Why these values? Because FPU reduction and Cpuct were optimized with the CLOP-tool to these values.
And raising Scale thinking time to 2.5 makes Leela moving slower, which means a better use of the game-time.
In my testing, Leela plays definitly stronger with this settings.
Checkout the manuals for Fritz/ShredderGUI on my website. Fritz has no command-line, too. What works in Fritz/Shredder should work in Aquarium, too. In my 2 manuals, I describe the use of polyglot-adapter, too.
Thank you so much for your time and help.pohl4711 wrote: ↑Fri May 25, 2018 7:44 pm Then he should follow my step-by-manual:
How to run Leela CUDA (should be around 4x faster, than Leela GPU(!)) in Fritz/Shredder GUI:
Important: Leela CUDA needs 3 .dll-files from the NVIDIA-developer-website, otherwise it can not run!
And - of course - you need a NVIDIA CUDA GPU in your PC...
1) Update your Nvidia driver for your GPU to the latest version here: http://www.nvidia.de/Download/index.aspx
After that: reboot your PC.
2) Get LC0.exe for the cuDNN version from: https://crem.xyz/lc0/ and unpack it and put it in your Leela CUDA folder.
3) Install CUDA v9.2 from https://developer.nvidia.com/cuda-92-download-archive (you need an account) and get cublas64_92.dll and cudart64_92.dll from the bin directory of CUDA v9.2 and copy it to your Leela CUDA-folder (Alternatively if you don't want to install CUDA, you can just unpack the installer and search in the unpacked folder and files for the .dlls with <Strg>+F in the Windows-Explorer, that was, what I did). Put the 2 files in your Leela CUDA-folder.
4) Get cuDNN for CUDA 9.2 from https://developer.nvidia.com/rdp/cudnn-download (you also need an account for this) and get cudnn64_7.dll from the bin directory of the zip and extract it and put it in your Leela CUDA-folder.
5) Download the latest network from http://lczero.org/networks and unpack it (Leela CUDA will autodetect it in any form either as weights.txt or however it is named) and put it in your Leela CUDA-folder.
6) Create the UCI-Engine in Fritz/Shredder.
Done.
7) I strongly recommend to change the UCI-settings of Leela CUDA to this:
Scale thinking time = 2.500000
FPU reduction = -0.068300
Cpuct MCTS = 3.168000
Why these values? Because FPU reduction and Cpuct were optimized with the CLOP-tool to these values.
And raising Scale thinking time to 2.5 makes Leela moving slower, which means a better use of the game-time.
In my testing, Leela plays definitly stronger with this settings.