Scorpio 2.8.7 MCTS+NN windows version

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
Guenther
Posts: 3223
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Guenther » Mon Sep 10, 2018 9:31 am

Daniel Shawul wrote:
Sat Sep 08, 2018 8:43 pm
a little correction of the sudden end of the pgn to make moves and evals readable...

User avatar
Werner
Posts: 2440
Joined: Wed Mar 08, 2006 9:09 pm

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Werner » Mon Sep 10, 2018 6:54 pm

Werner wrote:
Mon Sep 10, 2018 8:14 am
Werner wrote:
Sun Sep 09, 2018 1:58 pm
I did not know, how strong these 6x64 net with LC0 is:

1 Lc0-1 9154 1CPU 3205 +436 111½1111111111101111 18.5/20
2 Scorpio 2.8 x64 1CPU 2769 -436 000½0000000000010000 1.5/20
perhaps I will make some more games with it...
sorry - wrong configuration with Scorpio here - I have to repeat this match.
Correction:
1 Scorpio 2.8 x64 1CPU 2769 +368 1½½1010½111½1½½11½11 14.5/20
2 Lc0-1 9154 1CPU 2401 -368 0½½0101½000½0½½00½00 5.5/20
Werner

Daniel Shawul
Posts: 3810
Joined: Tue Mar 14, 2006 10:34 am
Location: Ethiopia
Contact:

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Daniel Shawul » Mon Sep 10, 2018 7:32 pm

Daniel Shawul wrote:
Sat Sep 08, 2018 6:30 am

I have made some significant work with GPU acceleration of NN evaluation in this version.
Multi-threaded batching as I have described in the programming section helps a lot and now scorpio
can be launched with upto 256 threads even on a 4-core machine and a single GPU and perform well.
I get 10kn/s on a 6x64 net on a P100 GPU.
Multi-threaded batching also helps tremendously on the CPU. On a 32-core machine, I am now getting 6.4kn/s
on a 6x64 net which is about 64% of eps that I got on a P100 GPU. I think batching helps in two ways -- a) minimizing
data transfer costs b/n CPU and GPU and b) minimizing the tensorflow call overhead. I think the latter is why the CPU
is benefiting from batching now while the GPU also benefits from (a) as well.

@Werner, the current scorpio-mcts+nn binary has issues with finishing mates (endgames). I haven't done any games before
I release. I have fixed that now along with fixing multi-core issues. I will upload this once I find workarounds for multi-GPU issue that
may take some time to fix ...

Daniel

User avatar
AdminX
Posts: 5293
Joined: Mon Mar 13, 2006 1:34 pm
Location: Acworth, GA
Contact:

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by AdminX » Sun Sep 23, 2018 5:40 am

Hi Daniel,

Quick question, Is there a way to specify which GPU to use. I have GPU0 and GPU1, I can tell it to use 1 or 2 GPU's but in the case of specifying which GPU to use I am unsure.

Thanks.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers

Daniel Shawul
Posts: 3810
Joined: Tue Mar 14, 2006 10:34 am
Location: Ethiopia
Contact:

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Daniel Shawul » Sun Sep 23, 2018 2:08 pm

I will add that feature in the next release but for now you can try to set the CUDA_VISIBLE_DEVICES environment variable for the scorpio process.
If you have 4 GPUs and you want to use /gpu:1 and /gpu:3 you just set CUDA_VISIBLE_DEVICES=1,3. Internally scorpio will still recognize these two devices as /gpu:0 and /gpu:1 because the numbering is local.

regards,
Daniel

joechess
Posts: 24
Joined: Sun Oct 30, 2016 10:02 pm

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by joechess » Sun Sep 23, 2018 3:04 pm

Hi 2.8.8 CPU version was working fine, downloaded latest egbbdll64 and epd and binaries for win 7 today . i start engine now type "go".
crashes with
Fault Module Name: StackHash_1dc2

Daniel Shawul
Posts: 3810
Joined: Tue Mar 14, 2006 10:34 am
Location: Ethiopia
Contact:

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Daniel Shawul » Sun Sep 23, 2018 3:13 pm

If your CPU is older than 2011 (no AVX intructions) the new one won't work.
I will recompile and put up both of them.

User avatar
Scally
Posts: 99
Joined: Thu Sep 28, 2017 7:34 pm
Location: Bermondsey, London
Full name: Alan Cooper
Contact:

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Scally » Sun Sep 23, 2018 3:36 pm

Hi Daniel,

Is it possible to compile a version for the 32 bit CPU armv7l Raspberry Pi? I managed to compile LC0 using openblas and can get up to 100 nps on 3 cores, but I’m having problems compiling your engine.

Thanks,

Al.
Alan Cooper
My Chess Computers

joechess
Posts: 24
Joined: Sun Oct 30, 2016 10:02 pm

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by joechess » Sun Sep 23, 2018 3:43 pm

Daniel Shawul wrote:
Sun Sep 23, 2018 3:13 pm
If your CPU is older than 2011 (no AVX intructions) the new one won't work.
I will recompile and put up both of them.
That will be great - thankyou!!

Daniel Shawul
Posts: 3810
Joined: Tue Mar 14, 2006 10:34 am
Location: Ethiopia
Contact:

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Daniel Shawul » Sun Sep 23, 2018 4:31 pm

joechess wrote:
Sun Sep 23, 2018 3:43 pm
Daniel Shawul wrote:
Sun Sep 23, 2018 3:13 pm
If your CPU is older than 2011 (no AVX intructions) the new one won't work.
I will recompile and put up both of them.
That will be great - thankyou!!
I have uploaded both now. The default supports sse2 intructions and is the one that should work for you.
Those with modern cpus can use the one in avx/ sub-folder.
Let me know if it works for you now.

Post Reply