lc0 - which package

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

MOBMAT
Posts: 385
Joined: Sat Feb 04, 2017 11:57 pm
Location: USA

lc0 - which package

Post by MOBMAT »

I had lc0 working fine on my PC, but after DL'ing 26.3-rc2 it is tossing errors.

I have a GTX1080 (no fp-16 support).
I dl'ed the lc0-v0.26.3-rc2-windows-gpu-nvidia-cuda.zip file
It installed the cuda 11 dll's along with the other lc0 files.

when i run lc0 from a command prompt, I get the following:

v0.26.3-rc2 built Oct 3 2020
Detected 4 core(s) and 8 thread(s) in 1 group(s).
Group 0 has 4 core(s) and 8 thread(s).
go
Found pb network file: E:\Chess\Leela/703810.pb.gz
Creating backend [cuda-auto]...
Switching to [cuda]...
CUDA Runtime version: 11.1.0
Latest version of CUDA supported by the driver: 11.0.0
WARNING: code was compiled with unsupported CUDA version.
GPU: GeForce GTX 1080
GPU memory: 8 Gb
GPU clock frequency: 1733.5 MHz
GPU compute capability: 6.1
error CUDA error: a PTX JIT compilation failed (c:\projects\lc0\src\neural\cuda\winograd_helper.inc:563)

The download page says "Note: The cuda package requires nvidia driver 456.38 or newer."
I have 456.71 installed

Any thoughs?
i7-6700K @ 4.00Ghz 32Gb, Win 10 Home, EGTBs on PCI SSD
Benchmark: Stockfish15.1 NNUE x64 bmi2 (nps): 1277K
User avatar
AdminX
Posts: 6339
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: lc0 - which package

Post by AdminX »

MOBMAT wrote: Sat Oct 10, 2020 6:28 pm I had lc0 working fine on my PC, but after DL'ing 26.3-rc2 it is tossing errors.

I have a GTX1080 (no fp-16 support).
I dl'ed the lc0-v0.26.3-rc2-windows-gpu-nvidia-cuda.zip file
It installed the cuda 11 dll's along with the other lc0 files.

when i run lc0 from a command prompt, I get the following:

v0.26.3-rc2 built Oct 3 2020
Detected 4 core(s) and 8 thread(s) in 1 group(s).
Group 0 has 4 core(s) and 8 thread(s).
go
Found pb network file: E:\Chess\Leela/703810.pb.gz
Creating backend [cuda-auto]...
Switching to [cuda]...
CUDA Runtime version: 11.1.0
Latest version of CUDA supported by the driver: 11.0.0
WARNING: code was compiled with unsupported CUDA version.
GPU: GeForce GTX 1080
GPU memory: 8 Gb
GPU clock frequency: 1733.5 MHz
GPU compute capability: 6.1
error CUDA error: a PTX JIT compilation failed (c:\projects\lc0\src\neural\cuda\winograd_helper.inc:563)

The download page says "Note: The cuda package requires nvidia driver 456.38 or newer."
I have 456.71 installed

Any thoughs?
Strange, I have both GTX 1060 and RTX 2070S. My system is in use right now, but I have been able to run Cudnn and DX12 on the GTX 1060 if I remember correctly. Not sure if I tried Cuda on the 1060, I did use it on the 2070.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
MMarco
Posts: 195
Joined: Sun Apr 12, 2020 1:09 am
Full name: Marc-O Moisan-Plante

Re: lc0 - which package

Post by MMarco »

AdminX wrote: Sat Oct 10, 2020 6:43 pm
MOBMAT wrote: Sat Oct 10, 2020 6:28 pm I had lc0 working fine on my PC, but after DL'ing 26.3-rc2 it is tossing errors.

I have a GTX1080 (no fp-16 support).
I dl'ed the lc0-v0.26.3-rc2-windows-gpu-nvidia-cuda.zip file
It installed the cuda 11 dll's along with the other lc0 files.

when i run lc0 from a command prompt, I get the following:

v0.26.3-rc2 built Oct 3 2020
Detected 4 core(s) and 8 thread(s) in 1 group(s).
Group 0 has 4 core(s) and 8 thread(s).
go
Found pb network file: E:\Chess\Leela/703810.pb.gz
Creating backend [cuda-auto]...
Switching to [cuda]...
CUDA Runtime version: 11.1.0
Latest version of CUDA supported by the driver: 11.0.0
WARNING: code was compiled with unsupported CUDA version.
GPU: GeForce GTX 1080
GPU memory: 8 Gb
GPU clock frequency: 1733.5 MHz
GPU compute capability: 6.1
error CUDA error: a PTX JIT compilation failed (c:\projects\lc0\src\neural\cuda\winograd_helper.inc:563)

The download page says "Note: The cuda package requires nvidia driver 456.38 or newer."
I have 456.71 installed

Any thoughs?
Strange, I have both GTX 1060 and RTX 2070S. My system is in use right now, but I have been able to run Cudnn and DX12 on the GTX 1060 if I remember correctly. Not sure if I tried Cuda on the 1060, I did use it on the 2070.
There are issues with 10xx card and cuda 11 if I remember correctly from what I read from Lc0 discord. I think 26.3-rc1 is build with cuda 10 and should run on your card.
George Sobala
Posts: 44
Joined: Sat Feb 03, 2018 2:42 pm
Location: Yorkshire, England

Re: lc0 - which package

Post by George Sobala »

You just need to update your nvidia driver so that it supports 11.1
MOBMAT
Posts: 385
Joined: Sat Feb 04, 2017 11:57 pm
Location: USA

Re: lc0 - which package

Post by MOBMAT »

George Sobala wrote: Sun Oct 11, 2020 5:13 am You just need to update your nvidia driver so that it supports 11.1
You were correct. I "thought" I had the latest version, but I did not. I updated the drivers and now it is working. Doesn't seem to be any faster, but the utilization on the GPU is a lot lower.
i7-6700K @ 4.00Ghz 32Gb, Win 10 Home, EGTBs on PCI SSD
Benchmark: Stockfish15.1 NNUE x64 bmi2 (nps): 1277K