Stefan Pohl schrieb:
Guenter Stertenbrink schrieb:
kann man es nicht einfach an den nps ablesen ?
Nein. Im Konsolenmodus mit “go infinite“ ist die Leela-Cuda auf meinen Notebooks ca. 4x schneller, als die normale GPU-Leela. Das ist natürlich toll. Allerdings legten einige Tests anderer nahe, daß zumindest ältere Leela-Cuda-Versionen kaum besser spielten, trotz des deutlichen Geschwindigkeitsvorteils. Daher mache ich lieber mit der aktuellen Version einen 7-Tages Testrun mit 300 Partien. Mit demselben Network, daß gerade im Testrun mit der v0.8-GPU Leela bei mir läuft. Dann weiß ich mehr, weil ich dann auch einen guten Basis-Vergleichswert habe.
Der Testrun läuft jetzt seit knapp 24 Stunden. Gute Nachricht vorweg: Leela Cuda (180512) läuft bisher stabil in der FritzGUI (unter zuhilfenahme des polyglot-Adapters). Hoffentlich bleibt das so.
Und bisher läuft es fantastisch. Nach knapp 50 Partien, was noch sehr, sehr wenig ist, sieht es nach einer sehr deutlichen Spielstärkesteigerung aus - gegenüber der GPU-Leela und zwar auch deutlich über dem, was man aufgrund der höheren Rechengeschwindigkeit erwarten würde/dürfte. Konkrete Elo-Schätzungen gebe ich prinzipiell nach so wenigen Partien nicht ab. Aber man darf auf das Ergebnis in 6 Tagen gespannt sein...
Ich kann aber jetzt schon jedem raten, der eine Cuda-fähige NVIDIA-Karte in seinem Rechner hat: Macht euch die Mühe, die CUDA-Leela zum Laufen zu bringen, es lohnt sich! Auf meiner Website gibt es ein step-by-step manual, damit sollte es zu schaffen sein. Ich kopiere das manual hier noch mal rein:
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-website, otherwise it can not run!
And - of course - you need a NVIDIA CUDA GPU in your PC...
Leela needs cublas64_90.dll and cudart64_90.dll and cudnn64_7.dll.
You can also get the latest version of CUDA (which is v9.1 with the 3 patches installed) and get cublas64_91.dll
and cudart64_91.dll from there and you can rename them to cublas64_90.dll and cudart64_90.dll respectively.
Thats, what I did.
1) Get .exe for the cuDNN version from:
https://crem.xyz/lc0/ and unpack it and put it in your Leela CUDA folder.
2) Install CUDA v9.0 from
https://developer.nvidia.com/cuda-90-download-archive (you need an account) and get
cublas64_90.dll and cudart64_90.dll from the bin directory of CUDA v9.0 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.
3) Get cuDNN 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.
4) 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.
5) Download the polyglot-adapter here:
http://hgm.nubati.net/polyglot.exeCreate a textfile with the name polyglot.ini and copy the following lines in it:
[PolyGlot]
EngineCommand=lc0-win-cuda90-cudnn712.exe
EngineDir=.
Log=false
LogFile=polyglot.log
ShowTbHits=false
Book=false
[Engine]
Hash=1024
6) copy the polylgot.exe and your polylgot.ini file in your Leela CUDA-folder.
7) Then use the file polylgot.exe as engine-file in the FritzGUI engine-creation process, NOT
lc0-win-cuda90-cudnn712.exe. And switch off pondering always. Otherwise Leela CUDA will crash immediately!!!
And mention, that (at the moment) Leela CUDA does not show any information, while it is thinking in the
FritzGUI. But, when it moves, you will see an evaluation and a main-move-line.