LCZero update (2)

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

Moderators: hgm, Rebel, chrisw

smatovic
Posts: 2639
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: LCZero update (2)...Deep Green?

Post by smatovic »

Maybe it is time for Deep Green....

https://www.anandtech.com/show/12587/nv ... -only-400k

400K Bucks anyone?

--
Srdja

PS: and some power plant nearby?
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: LCZero update

Post by Guenther »

Laskos wrote:
CMCanavessi wrote:New official version released:

https://github.com/glinscott/leela-ches ... s/tag/v0.4

Finally includes a windows build with all the dlls, and a working windows CPU-Only build as well
I have a weak video card, but I didn't expect that:
http://www.talkchess.com/forum/viewtopi ... 45&start=5

CPU version is performing much better. Is LCZero using the GPU card properly?
I had a very different experience with the (finally) working cpu version.
Here it was around 4 times slower on one thread despite having a cheap
gpu card. May be I create exact numbers again. Currently I have already
deleted the cpu version after my measurement.
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: LCZero update

Post by Guenther »

Ok I reinstalled it and recalculated, which was interesting anyway after my earlier suggestion to add some gpu benchmark page.

https://github.com/glinscott/leela-chess/issues/203

I had set up an early draft at google docs already and used the latest suggestion from error 23 which runs a traing game under exact conditions. (generalized now to cpu and gpu benchmarks)

Code: Select all

lczero -w 0b93ff053467f47c57c2182e144a45c9633249519b7297c4f41fc07b30a88dd8 -t1 --start="train 1 1" -q -s 1
The result is that my gpu gives 3,32 faster average nps than my cpu.

https://docs.google.com/spreadsheets/d/ ... cAGCk/edit
https://rwbc-chess.de

trollwatch:
Chessqueen + chessica + AlexChess + Eduard + Sylwy
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: LCZero update

Post by Joost Buijs »

Guenther wrote:
Laskos wrote:
CMCanavessi wrote:New official version released:

https://github.com/glinscott/leela-ches ... s/tag/v0.4

Finally includes a windows build with all the dlls, and a working windows CPU-Only build as well
I have a weak video card, but I didn't expect that:
http://www.talkchess.com/forum/viewtopi ... 45&start=5

CPU version is performing much better. Is LCZero using the GPU card properly?
I had a very different experience with the (finally) working cpu version.
Here it was around 4 times slower on one thread despite having a cheap
gpu card. May be I create exact numbers again. Currently I have already
deleted the cpu version after my measurement.
Over here the CPU only version does about 400 n/s on a single core (Broadwell 3.8 GHz.), when I use my cheap GT-720 GPU with 192 Cuda cores this figure drops down to 250 n/s. On my GTX-1080Ti it runs at ~3500 n/s (when running 2 instances of the client).

I have the feeling that the new v4 client has problems uploading the games. This morning I let v4 run for some time, it produced about 30 games but only a few of them appear in the server statistics. Running the client with -debug doesn't give any extra information at all, so I really don't know what is going on.
Last edited by Joost Buijs on Thu Mar 29, 2018 2:52 pm, edited 1 time in total.
Jhoravi
Posts: 291
Joined: Wed May 08, 2013 6:49 am

Re: LCZero update

Post by Jhoravi »

Joost Buijs wrote: I have the feeling that the new v4 client has problems uploading the games. This morning I let v4 run for some time, it produced about 30 games but only a few of them appear in the server statistics. Running the client with -debug doesn't give any extra information at all, so I really don't know what is going on.
The bug is discussed in the link below but now fixed.
https://groups.google.com/forum/#!topic ... vf9p3biLRk
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: LCZero update

Post by Joost Buijs »

Jhoravi wrote:
Joost Buijs wrote: I have the feeling that the new v4 client has problems uploading the games. This morning I let v4 run for some time, it produced about 30 games but only a few of them appear in the server statistics. Running the client with -debug doesn't give any extra information at all, so I really don't know what is going on.
The bug is discussed in the link below but now fixed.
https://groups.google.com/forum/#!topic ... vf9p3biLRk
Thanks! Missed that one, later today I will give it another try.
User avatar
AdminX
Posts: 6339
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: LCZero update (2)

Post by AdminX »

Looking for setup samples using UCI2WB or PolyGlot for LCZero.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
CMCanavessi
Posts: 1142
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: LCZero update

Post by CMCanavessi »

jpqy wrote:Thanks!

Put the windows version into a folder..click on LCZero.. and i get just a flashing command prompt window ,open,close?

Still not working..

JP.
It IS working, you just don't know how to use it. You need to specify the network file with -w <file>
Follow my tournament and some Leela gauntlets live at http://twitch.tv/ccls
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: LCZero update

Post by Laskos »

jkiliani wrote:If you have cutechess_cli or some other software that can conduct chess engine tournaments, could you run a competition between the CPU and GPU versions at equal playouts? There has been talk on Github that GPU version is producing large error due to OpenCL calculations sometime, it would be cool if you could provide data on that (and share on Github).

Your tournament so far is a good start, but just means that this GPU just doesn't work well for you. We'd need equal playout settings (e.g. 800) to make this meaningful in evaluating whether the GPU calculation errors hurt playing strength a lot.
I played 100 games with 200 playouts on CPU and GPU, was within error margins:
GPU vs CPU:
+45 -40 =15

So, GPU version is at least not significantly weaker than CPU version at the same number of playouts. The average depth was almost identical.
jpqy
Posts: 550
Joined: Thu Apr 24, 2008 9:31 am
Location: Belgium

Re: LCZero update

Post by jpqy »

CMCanavessi wrote:
jpqy wrote:Thanks!

Put the windows version into a folder..click on LCZero.. and i get just a flashing command prompt window ,open,close?

Still not working..

JP.
It IS working, you just don't know how to use it. You need to specify the network file with -w <file>
It's indeed working when explained well.. for using it into Cutechess you need to make a play.bat file then the engine get loaded..Thanks with the help from Aloril and other guys on LCZero chat!

So,now first time i see it working ;)