On-line engine blitz tourney April

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Henk
Posts: 7216
Joined: Mon May 27, 2013 10:31 am

Re: On-line engine blitz tourney April

Post by Henk »

Looks like LeelaZero is a great success. Who is its author ?
Maarten Claessens
Posts: 106
Joined: Mon May 12, 2014 10:08 am
Location: Near Nijmegen

Re: Tip of the month

Post by Maarten Claessens »

flok wrote:It doesn't. Can we work around this in an automated way?
With 6+ systems this gets cumbersome :-)
Actually it does (when you are still logged in at the end of the tourney). From the winboard log (at te start of the tourney):

Code: Select all

<ICS&#58; 
mamer&#40;49&#41;&#58; WaDuuttie &#40;1990&#41; has joined tourney #1 32 players now.
&#58;mamer notes&#58; You joined the tournament.
mamer has set your tourney variable to ON.
At the end of the tourney:

Code: Select all

<ICS&#58;
mamer&#40;49&#41;&#58; Arminius vs. ArasanX a game in tourney #1 just ended. Game drawn by the 50 move rule 1/2-1/2
mamer&#40;49&#41;&#58; Tourney Results&#58; First place in tourney #1 goes to&#58; Texel NightmareX Berta 
<ICS&#58; 
mamer has set your tourney variable to OFF.
Slightly edited for readability
Nothing is unstable (Lawrence Krauss)
User avatar
hgm
Posts: 27790
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Tip of the month

Post by hgm »

So perhaps the problem is in the ICS, that it does not execute the 'tournset' command for users that are not logged in. Or, when mamer loops over players, it might only send this command for players still logged in.

I would have to figure out what this 'activeFlag' represents. I thought it would only get cleared for players forfeited from the tournament. Not being connected is usually no issue (e.g. when the pairing for a new round is done, and the games are started.)

The ICS code for this command is:

Code: Select all

 963 /* tournset &#40;cause settourney is BAD for set&#41;
 964  *   used by Tournament Director programs to set/unset the
 965  *   tourney variable of another registered player.
 966  * fics usage&#58; tournset playername int   &#40;int can be 0 or 1&#41;
 967  */
 968 int com_tournset&#40;int p, param_list param&#41;
 969 &#123;
 970   struct player *pp = &player_globals.parray&#91;p&#93;;
 971   int p1, v;
 972 
 973   if (!in_list&#40;p, L_TD, pp->name&#41;) &#123;
 974     pprintf&#40;p, "Only TD programs are allowed to use this command.\n");
 975     return COM_OK;
 976   &#125;
 977   if ((&#40;p1 = player_find_bylogin&#40;param&#91;0&#93;.val.word&#41;) < 0&#41;
 978       || (!CheckPFlag&#40;p1, PFLAG_REG&#41;)) &#123;
 979      return COM_OK;
 980   &#125;
 981   v = BoolCheckPFlag&#40;p1, PFLAG_TOURNEY&#41;;
 982   if &#40;param&#91;1&#93;.val.integer == 0&#41; &#123;  /* set it to 0 */
 983     if &#40;v == 1&#41; &#123;
 984       SetPFlag&#40;p1, PFLAG_TOURNEY, 0&#41;;
 985       pprintf_prompt&#40;p1, "\n%s has set your tourney variable to OFF.\n",
 986             pp->name&#41;;
 987     &#125;
 988   &#125; else &#123;  /* set it to 1 */
 989     if &#40;v == 0&#41; &#123;
 990       SetPFlag&#40;p1, PFLAG_TOURNEY, 1&#41;;
 991       pprintf_prompt&#40;p1, "\n%s has set your tourney variable to ON.\n",
 992             pp->name&#41;;
 993     &#125;
 994   &#125;
 995   return COM_OK;
 996 &#125;
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 »

This time a got a message at the end of the tourney that my tourney flag was reset, the last 3 months or so this didnt happen. I don't know if it has anything to do with being logged in or not, usually I stay logged in until the tournament is finished, and the engines from Folkert always stay online too.
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 »

Henk wrote:Looks like LeelaZero is a great success. Who is its author ?
It is just LCZero and has many authors. Since several people were interested in how it would perform, and I have a spare system available, so I decided to enter it in the tourney.

I used the OpenCL version which didn't not seem to make good use of my GTX-1080ti, on a GTX-1060 or GTX-1070 you almost get the same performance.

Since yesterday there seem to be a LCZero fork that uses cuDNN instead of OpenCL/OpenBLASS, that version runs several times faster and I will try use that one during the next tourney.

The performance of LCZero is still a bit disappointing, in the forum they claim 2900 Elo CCRL, but I doubt it, my guess is that it is more like 2700, which is still not bad for an engine just a few months old.
User avatar
hgm
Posts: 27790
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: On-line engine blitz tourney April

Post by hgm »

But this is blitz, which is not supposed to be LeelaZero's 'thing'.
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 »

hgm wrote:But this is blitz, which is not supposed to be LeelaZero's 'thing'.
You are right, if it is human like it needs more time. And the older it gets the more time it needs.
Maarten Claessens
Posts: 106
Joined: Mon May 12, 2014 10:08 am
Location: Near Nijmegen

Re: Tip of the month

Post by Maarten Claessens »

Joost Buijs wrote:This time a got a message at the end of the tourney that my tourney flag was reset, the last 3 months or so this didnt happen. I don't know if it has anything to do with being logged in or not, usually I stay logged in until the tournament is finished, and the engines from Folkert always stay online too.
I keep on harddisk the winboard debug-files of each montly blitz-tourney. I just checked and the past year every time the tourney variable was set to OFF, except the one time I logged of before all games were finished ( so 11 times set OFF, 1 time not, but explainable, out of 12 ).
Nothing is unstable (Lawrence Krauss)
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 »

Maarten Claessens wrote:
Joost Buijs wrote:This time a got a message at the end of the tourney that my tourney flag was reset, the last 3 months or so this didnt happen. I don't know if it has anything to do with being logged in or not, usually I stay logged in until the tournament is finished, and the engines from Folkert always stay online too.
I keep on harddisk the winboard debug-files of each montly blitz-tourney. I just checked and the past year every time the tourney variable was set to OFF, except the one time I logged of before all games were finished ( so 11 times set OFF, 1 time not, but explainable, out of 12 ).
This means that for some users it works and for others not. I always stay online until the games are finished and the final results of the tourney are there. I don't care because it is just a matter of resetting the flag, but for Folkert with his many engines it can be a bit annoying.
User avatar
hgm
Posts: 27790
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Tip of the month

Post by hgm »

Maarten Claessens wrote:I keep on harddisk the winboard debug-files of each montly blitz-tourney. I just checked and the past year every time the tourney variable was set to OFF, except the one time I logged of before all games were finished ( so 11 times set OFF, 1 time not, but explainable, out of 12 ).
That doesn't mean it was not switched off, just that it did not happen while you were still logged on.