lc0-win-20180512-cuda90-cudnn712-00
Moderators: hgm, Rebel, chrisw
-
- Posts: 2801
- Joined: Mon Feb 11, 2008 3:53 pm
- Location: Denmark
- Full name: Damir Desevac
Re: lc0-win-20180512-cuda90-cudnn712-00
how do I find the requested dll files ?
-
- Posts: 2434
- Joined: Sat Sep 03, 2011 7:25 am
- Location: Berlin, Germany
- Full name: Stefan Pohl
Re: lc0-win-20180512-cuda90-cudnn712-00
with the windows-explorer. Just use <STRG>+F and type the name in the search window
https://www.tenforums.com/tutorials/944 ... -10-a.html
-
- Posts: 1339
- Joined: Fri Nov 02, 2012 9:43 am
- Location: New Delhi, India
Re: lc0-win-20180512-cuda90-cudnn712-00
Thank you for the wonderful, detailed explanation, Herr Pohl.pohl4711 wrote: ↑Sun May 20, 2018 3:03 pm CUDNN is a download of a zip-file, only. Just unzip and get the file cudnn64_7.dll out of it.
And it doesnt matter, how you name the folder, in which your LCZero is. I name it Leela Cuda. You can name it "cold_beer", if you like.
Just put the 3 dll-files in that folder, where your LCZero exe-file is, which you downloaded here https://crem.xyz/lc0/
Then load the network-file. Unpack it. Name the unpacked file "weights.txt" and put in the same folder.
With these 5 files, it works.
No installation of anything is required. Works with Cuda 9.0. I did not try Cuda 9.2 until now.
Its working now in Arena, making moves but not showing the output.
I suppose that's because I have yet to find the right CUDNN file for my OS, which is 8.1.
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
-
- Posts: 3019
- Joined: Wed Mar 08, 2006 9:57 pm
- Location: Rio de Janeiro, Brazil
Re: lc0-win-20180512-cuda90-cudnn712-00
No, LC0 has this issue at times. Try analyzing a position or two first. It is a small problem he is fixing.shrapnel wrote: ↑Sun May 20, 2018 4:05 pmThank you for the wonderful, detailed explanation, Herr Pohl.pohl4711 wrote: ↑Sun May 20, 2018 3:03 pm CUDNN is a download of a zip-file, only. Just unzip and get the file cudnn64_7.dll out of it.
And it doesnt matter, how you name the folder, in which your LCZero is. I name it Leela Cuda. You can name it "cold_beer", if you like.
Just put the 3 dll-files in that folder, where your LCZero exe-file is, which you downloaded here https://crem.xyz/lc0/
Then load the network-file. Unpack it. Name the unpacked file "weights.txt" and put in the same folder.
With these 5 files, it works.
No installation of anything is required. Works with Cuda 9.0. I did not try Cuda 9.2 until now.
Its working now in Arena, making moves but not showing the output.
I suppose that's because I have yet to find the right CUDNN file for my OS, which is 8.1.
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
-
- Posts: 4190
- Joined: Wed Nov 25, 2009 1:47 am
Re: lc0-win-20180512-cuda90-cudnn712-00
Btw. for those who want to compile themselves, Cuda 9.2 finally installs well VS integration with VS2017. Either they fixed the installer or it's a matter of drivers (the newest Nvidia drivers are now bundled with 9.2), but anyhow integration finally works.Albert Silver wrote: ↑Sun May 20, 2018 5:28 amNo, it is completely unnecessary. You can ignore that warning too. It relates only to CUDA items for VS, and nothing to do with Leela. There is now a 9.2 version, so by all means install it and use the latest LC0 built for it.
lc0-win-20180519-cuda92-cudnn714-00.7z
-
- Posts: 2434
- Joined: Sat Sep 03, 2011 7:25 am
- Location: Berlin, Germany
- Full name: Stefan Pohl
Re: lc0-win-20180512-cuda90-cudnn712-00
Oh. There are only downloads for Windows 7 and 10. I would try both (my tip is, that Windows 7 version should work).
-
- Posts: 1563
- Joined: Thu Jul 16, 2009 10:47 am
- Location: Almere, The Netherlands
Re: lc0-win-20180512-cuda90-cudnn712-00
Milos wrote: ↑Sun May 20, 2018 4:22 pmBtw. for those who want to compile themselves, Cuda 9.2 finally installs well VS integration with VS2017. Either they fixed the installer or it's a matter of drivers (the newest Nvidia drivers are now bundled with 9.2), but anyhow integration finally works.Albert Silver wrote: ↑Sun May 20, 2018 5:28 amNo, it is completely unnecessary. You can ignore that warning too. It relates only to CUDA items for VS, and nothing to do with Leela. There is now a 9.2 version, so by all means install it and use the latest LC0 built for it.
lc0-win-20180519-cuda92-cudnn714-00.7z
Yesterday I installed CUDA 9.2 but I still had to change the compiler version in the host_config.h before I could get it to work with the latest version of MSVC, max. _MSC_VER is 1913 and for the latest version of MSVC (15.7.1) it has to be 1914, and it wanted to install driver 397.55, the driver on my system is already 397.64, so I skipped driver installation.
I have the impression that the development of CUDA always lags somewhat behind the actual situation, it still doesn't work with the Intel compiler either and that is a pity because the Intel compiler is clearly the best for floating point work.
-
- Posts: 3019
- Joined: Wed Mar 08, 2006 9:57 pm
- Location: Rio de Janeiro, Brazil
Re: lc0-win-20180512-cuda90-cudnn712-00
Any version of CUDA, or just the 9.2 version?Joost Buijs wrote: ↑Sun May 20, 2018 5:36 pmMilos wrote: ↑Sun May 20, 2018 4:22 pmBtw. for those who want to compile themselves, Cuda 9.2 finally installs well VS integration with VS2017. Either they fixed the installer or it's a matter of drivers (the newest Nvidia drivers are now bundled with 9.2), but anyhow integration finally works.Albert Silver wrote: ↑Sun May 20, 2018 5:28 am
No, it is completely unnecessary. You can ignore that warning too. It relates only to CUDA items for VS, and nothing to do with Leela. There is now a 9.2 version, so by all means install it and use the latest LC0 built for it.
lc0-win-20180519-cuda92-cudnn714-00.7z
Yesterday I installed CUDA 9.2 but I still had to change the compiler version in the host_config.h before I could get it to work with the latest version of MSVC, max. _MSC_VER is 1913 and for the latest version of MSVC (15.7.1) it has to be 1914, and it wanted to install driver 397.55, the driver on my system is already 397.64, so I skipped driver installation.
I have the impression that the development of CUDA always lags somewhat behind the actual situation, it still doesn't work with the Intel compiler either and that is a pity because the Intel compiler is clearly the best for floating point work.
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
-
- Posts: 1563
- Joined: Thu Jul 16, 2009 10:47 am
- Location: Almere, The Netherlands
Re: lc0-win-20180512-cuda90-cudnn712-00
Albert Silver wrote: ↑Sun May 20, 2018 5:50 pmAny version of CUDA, or just the 9.2 version?Joost Buijs wrote: ↑Sun May 20, 2018 5:36 pm
Yesterday I installed CUDA 9.2 but I still had to change the compiler version in the host_config.h before I could get it to work with the latest version of MSVC, max. _MSC_VER is 1913 and for the latest version of MSVC (15.7.1) it has to be 1914, and it wanted to install driver 397.55, the driver on my system is already 397.64, so I skipped driver installation.
I have the impression that the development of CUDA always lags somewhat behind the actual situation, it still doesn't work with the Intel compiler either and that is a pity because the Intel compiler is clearly the best for floating point work.
Any version I suppose. It is possible to compile the device code with MSVC or GCC and to compile the rest with Intel but that complicates things more than you would like.
-
- Posts: 4190
- Joined: Wed Nov 25, 2009 1:47 am
Re: lc0-win-20180512-cuda90-cudnn712-00
Yea they always lag with the version, 9.1 was officially supporting only to MSC_VER 1911. That's why I left my VS at 15.6 still and removed the newest driver before installing the one that came with CUDA 9.2 (397.44) and only after installed the newest.Joost Buijs wrote: ↑Sun May 20, 2018 5:36 pmMilos wrote: ↑Sun May 20, 2018 4:22 pmBtw. for those who want to compile themselves, Cuda 9.2 finally installs well VS integration with VS2017. Either they fixed the installer or it's a matter of drivers (the newest Nvidia drivers are now bundled with 9.2), but anyhow integration finally works.Albert Silver wrote: ↑Sun May 20, 2018 5:28 am
No, it is completely unnecessary. You can ignore that warning too. It relates only to CUDA items for VS, and nothing to do with Leela. There is now a 9.2 version, so by all means install it and use the latest LC0 built for it.
lc0-win-20180519-cuda92-cudnn714-00.7z
Yesterday I installed CUDA 9.2 but I still had to change the compiler version in the host_config.h before I could get it to work with the latest version of MSVC, max. _MSC_VER is 1913 and for the latest version of MSVC (15.7.1) it has to be 1914, and it wanted to install driver 397.55, the driver on my system is already 397.64, so I skipped driver installation.
I have the impression that the development of CUDA always lags somewhat behind the actual situation, it still doesn't work with the Intel compiler either and that is a pity because the Intel compiler is clearly the best for floating point work.