On-line engine blitz tourney April

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

AlvaroBegue
Posts: 931
Joined: Tue Mar 09, 2010 3:46 pm
Location: New York
Full name: Álvaro Begué (RuyDos)

Re: On-line engine blitz tourney April

Post by AlvaroBegue »

Joost Buijs wrote:
AlvaroBegue wrote:
Joost Buijs wrote:
hgm wrote:Well, I won't run it. I have no GPU. Of course it would be welcome.
I have a spare computer with an Intel i7-5960X and a GTX-1080ti that I don't use at the moment, I can try to set it up but I have no clue whether LC0 works in conjunction with polyglot and Winboard.
Of course I'll also need another account for it.
I've used it with xboard on Linux without any problems.
This morning I saw that there already is a 'LCZeroTest' account on HGM's server, so I assume that somebody else is going to take care of it.
No, that was me, making sure that I could run it if someone asks me to. It seems to work just fine. But it was just a guest account.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney April

Post by Joost Buijs »

AlvaroBegue wrote:
Joost Buijs wrote:
AlvaroBegue wrote:
Joost Buijs wrote:
hgm wrote:Well, I won't run it. I have no GPU. Of course it would be welcome.
I have a spare computer with an Intel i7-5960X and a GTX-1080ti that I don't use at the moment, I can try to set it up but I have no clue whether LC0 works in conjunction with polyglot and Winboard.
Of course I'll also need another account for it.
I've used it with xboard on Linux without any problems.
This morning I saw that there already is a 'LCZeroTest' account on HGM's server, so I assume that somebody else is going to take care of it.
No, that was me, making sure that I could run it if someone asks me to. It seems to work just fine. But it was just a guest account.
Ah, I didn't notice it was a guest account.

Yesterday I sent Harm Geert a PM and asked him if he can make an account for LCZero. He was online this morning and probably missed the PM.

This evening I can set it up, I don't have any experience with LCZero, it probably needs more than 1 thread to make full use of the GTX-1080ti.
AlvaroBegue
Posts: 931
Joined: Tue Mar 09, 2010 3:46 pm
Location: New York
Full name: Álvaro Begué (RuyDos)

Re: On-line engine blitz tourney April

Post by AlvaroBegue »

Joost Buijs wrote:
AlvaroBegue wrote:
Joost Buijs wrote:
AlvaroBegue wrote:
Joost Buijs wrote:
hgm wrote:Well, I won't run it. I have no GPU. Of course it would be welcome.
I have a spare computer with an Intel i7-5960X and a GTX-1080ti that I don't use at the moment, I can try to set it up but I have no clue whether LC0 works in conjunction with polyglot and Winboard.
Of course I'll also need another account for it.
I've used it with xboard on Linux without any problems.
This morning I saw that there already is a 'LCZeroTest' account on HGM's server, so I assume that somebody else is going to take care of it.
No, that was me, making sure that I could run it if someone asks me to. It seems to work just fine. But it was just a guest account.
Ah, I didn't notice it was a guest account.

Yesterday I sent Harm Geert a PM and asked him if he can make an account for LCZero. He was online this morning and probably missed the PM.

This evening I can set it up, I don't have any experience with LCZero, it probably needs more than 1 thread to make full use of the GTX-1080ti.
With 1 thread my GTX 980 claims to be at 89% usage (according to nvidia-smi; I don't know how reliable that is). So I didn't bother figuring out how to use more threads.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Tip of the month

Post by Joost Buijs »

Volker Annuss wrote:If you leave your engine online after the tourney is over, please check if your tourney variable has been reset.

Entering

Code: Select all

set tourney 0
makes sure, your engine is open to accept challenges.
Maybe mamer can be modified to turn off the tourney variable for all participants after the tourney is finished.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Tip of the month

Post by Joost Buijs »

Volker Annuss wrote:If you leave your engine online after the tourney is over, please check if your tourney variable has been reset.

Entering

Code: Select all

set tourney 0
makes sure, your engine is open to accept challenges.
Maybe mamer can be modified to turn off the tourney variable for all participants after the tourney is finished.
User avatar
hgm
Posts: 27787
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Tip of the month

Post by hgm »

It is supposed to already do that, I think.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Tip of the month

Post by Joost Buijs »

hgm wrote:It is supposed to already do that, I think.
Somehow it doesn't, but probably very simple to solve.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney April

Post by Joost Buijs »

AlvaroBegue wrote:
Joost Buijs wrote:
AlvaroBegue wrote:
Joost Buijs wrote:
AlvaroBegue wrote:
Joost Buijs wrote:
hgm wrote:Well, I won't run it. I have no GPU. Of course it would be welcome.
I have a spare computer with an Intel i7-5960X and a GTX-1080ti that I don't use at the moment, I can try to set it up but I have no clue whether LC0 works in conjunction with polyglot and Winboard.
Of course I'll also need another account for it.
I've used it with xboard on Linux without any problems.
This morning I saw that there already is a 'LCZeroTest' account on HGM's server, so I assume that somebody else is going to take care of it.
No, that was me, making sure that I could run it if someone asks me to. It seems to work just fine. But it was just a guest account.
Ah, I didn't notice it was a guest account.

Yesterday I sent Harm Geert a PM and asked him if he can make an account for LCZero. He was online this morning and probably missed the PM.

This evening I can set it up, I don't have any experience with LCZero, it probably needs more than 1 thread to make full use of the GTX-1080ti.
With 1 thread my GTX 980 claims to be at 89% usage (according to nvidia-smi; I don't know how reliable that is). So I didn't bother figuring out how to use more threads.
Just give it -tn on the command line. With the 1080ti using 3 or 4 threads seems to be optimal, after a full tune I get around 3500 to 4000 n/s on the initial position.

I want to try to make a modified version which uses cuBlas, this might be better optimized for nVidia. A nice experiment for a rainy day.
AlvaroBegue
Posts: 931
Joined: Tue Mar 09, 2010 3:46 pm
Location: New York
Full name: Álvaro Begué (RuyDos)

Re: On-line engine blitz tourney April

Post by AlvaroBegue »

Joost Buijs wrote: I want to try to make a modified version which uses cuBlas, this might be better optimized for nVidia. A nice experiment for a rainy day.
You are primarily going to need convolutions, which cuBLAS doesn't do. But cuDNN does, so perhaps that's what you meant. A cuDNN implementation on a GPU with tensor cores (Titan V or V100) should go much much faster.
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney April

Post by Joost Buijs »

AlvaroBegue wrote:
Joost Buijs wrote: I want to try to make a modified version which uses cuBlas, this might be better optimized for nVidia. A nice experiment for a rainy day.
You are primarily going to need convolutions, which cuBLAS doesn't do. But cuDNN does, so perhaps that's what you meant. A cuDNN implementation on a GPU with tensor cores (Titan V or V100) should go much much faster.
You are right, I didn't know that nVidia has a specialized library for deep-learning. If it can make use of the Volta tensor-cores it probably runs a lot faster. I wonder if the new (still to be released) consumer GPU based on Volta (GTX-20XX?) will have tensor cores or not.

The current version of LCZero (v0.7) doesn't seem to make very good use of the GTX-1080ti, at max. ~50% GPU utilization, so there is still enough room for improvement.

This morning I run some test games on HGM's server, it plays a decent game, very strong openings but a clueless endgame. With just a few games it is difficult to get a grasp of how strong it actually is, my guess is that it is around 2700-2800 Elo on the CCRL scale.