Scorpio 2.8.7 MCTS+NN windows version

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

Moderators: hgm, Rebel, chrisw

User avatar
AdminX
Posts: 6339
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by AdminX »

Daniel Shawul wrote: Sat Sep 08, 2018 7:51 pm
Daniel Shawul wrote: Sat Sep 08, 2018 7:15 pm Nice!!

Lets try and get the gpu version working.

Daniel
I have now made it so that the necessary CUDA 9.2 dlls come pre-packaged as well.
If you have a GPU already, you should have the driver i.e. nvcuda.dll so no need to put that in.
The process for installing egbbdll for the gpu should be equally easy as the CPU counterpart now.

Download egbbdll for the gpu here https://github.com/dshawul/Scorpio/rele ... ws-gpu.zip

Extract it somewhere and set the "Path" environement variable. I should be able to write an install script for this soon.

Daniel
Done. I've used the previously used eenvironement variable path. However now engine is non responsive. IE: Not Moving.

Correction: Seems to be working
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Daniel Shawul »

AdminX wrote: Sat Sep 08, 2018 8:52 pm
Daniel Shawul wrote: Sat Sep 08, 2018 7:51 pm
Daniel Shawul wrote: Sat Sep 08, 2018 7:15 pm Nice!!

Lets try and get the gpu version working.

Daniel
I have now made it so that the necessary CUDA 9.2 dlls come pre-packaged as well.
If you have a GPU already, you should have the driver i.e. nvcuda.dll so no need to put that in.
The process for installing egbbdll for the gpu should be equally easy as the CPU counterpart now.

Download egbbdll for the gpu here https://github.com/dshawul/Scorpio/rele ... ws-gpu.zip

Extract it somewhere and set the "Path" environement variable. I should be able to write an install script for this soon.

Daniel
Done. I've used the previously used eenvironement variable path. However now engine is non responsive. IE: Not Moving.

Correction: Seems to be working
Ok make sure you have all the dlls. If there is something missing it will be non-responsive.
Also if it works set the number of threads to very high number like 128 to see the benefit of batching.
With low values such as mt=2 you shouldnt see much benefit from using the GPU.
Could you post a picture for the GPU run like you did before ?

Code: Select all

c:\dev\egbbdll\gpu>dir
 Volume in drive C is OS
 Volume Serial Number is 78F4-686E

 Directory of c:\dev\egbbdll\gpu

09/08/2018  05:54 PM    <DIR>          .
09/08/2018  05:54 PM    <DIR>          ..
07/09/2018  12:29 AM        59,784,704 cublas64_92.dll
09/07/2018  09:43 PM            81,106 CUDA.txt
09/07/2018  09:43 PM            38,963 CUDNN.txt
09/07/2018  09:58 PM       336,443,392 cudnn64_7.dll
06/12/2018  11:53 PM        87,017,472 cufft64_92.dll
06/12/2018  11:53 PM        47,990,784 curand64_92.dll
06/12/2018  11:53 PM       114,022,400 cusolver64_92.dll
09/08/2018  05:34 PM       437,867,649 egbbdll64-nn-windows-gpu.zip
09/08/2018  05:18 AM            93,184 egbbdll64.dll
07/10/2018  09:11 PM       101,838,848 tensorflow.dll
              10 File(s)  1,185,178,502 bytes
               2 Dir(s)  151,305,957,376 bytes free
User avatar
AdminX
Posts: 6339
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by AdminX »

Code: Select all

D:\Chess Engines\ScorpioNN>scorpio use_nn 1 mt 128 montecarlo 1 frac_alphabeta 0 backup_type 6 go quit
feature done=0
ht 4194304 X 16 = 64.0 MB
eht 524288 X 8 = 8.0 MB
pht 32768 X 24 = 0.8 MB
treeht 335539200 X 40 = 12799.8 MB
processors [128]
processors [128]
EgbbProbe 4.1 by Daniel Shawul
509 egbbs loaded !
Loading neural network ...
2018-09-08 15:21:14.220729: I c:\users\user\source\repos\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2018-09-08 15:21:14.535000: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1392] Found device 0 with properties:
name: GeForce GTX 1060 6GB major: 6 minor: 1 memoryClockRate(GHz): 1.835
pciBusID: 0000:01:00.0
totalMemory: 6.00GiB freeMemory: 4.97GiB
2018-09-08 15:21:14.677391: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1392] Found device 1 with properties:
name: GeForce GTX 1060 6GB major: 6 minor: 1 memoryClockRate(GHz): 1.835
pciBusID: 0000:05:00.0
totalMemory: 6.00GiB freeMemory: 4.97GiB
2018-09-08 15:21:14.687719: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1471] Adding visible gpu devices: 0, 1
2018-09-08 15:21:16.312770: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-09-08 15:21:16.318185: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:958]      0 1
2018-09-08 15:21:16.321937: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 0:   N N
2018-09-08 15:21:16.327157: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 1:   N N
2018-09-08 15:21:16.331470: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4734 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-09-08 15:21:16.575703: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 4734 MB memory) -> physical GPU (device: 1, name: GeForce GTX 1060 6GB, pci bus id: 0000:05:00.0, compute capability: 6.1)
2018-09-08 15:21:16.885257: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1471] Adding visible gpu devices: 0, 1
2018-09-08 15:21:16.890123: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-09-08 15:21:16.896153: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:958]      0 1
2018-09-08 15:21:16.900452: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 0:   N N
2018-09-08 15:21:16.905858: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 1:   N N
2018-09-08 15:21:16.909802: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4734 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-09-08 15:21:16.920119: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 4734 MB memory) -> physical GPU (device: 1, name: GeForce GTX 1060 6GB, pci bus id: 0000:05:00.0, compute capability: 6.1)
Neural network loaded !
loading_time = 5s
[st = 11114ms, mt = 29250ms , hply = 0 , moves_left 10]
63 16 112 3603  Nb1-c3 d7-d5 d2-d4 Ng8-f6 Ng1-f3
64 13 226 7133  d2-d4 d7-d5 e2-e3 Ng8-f6 Nb1-c3
65 12 341 9644  d2-d4 d7-d5 Ng1-f3 Ng8-f6 Nb1-c3
66 12 456 11525  d2-d4 d7-d5 Ng1-f3 Ng8-f6 Nb1-c3
67 12 573 13592  d2-d4 d7-d5 e2-e3 Ng8-f6 c2-c4 Bc8-g4 Ng1-f3
68 12 690 17588  d2-d4 d7-d5 Nb1-c3 Ng8-f6 Bc1-f4 h7-h6 e2-e3
69 13 805 20600  d2-d4 d7-d5 Nb1-c3 Ng8-f6 f2-f3 Nb8-c6 e2-e3 e7-e6 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    -10     850 c2-c4 d7-d5 Nb1-c3 e7-e6 Ng1-f3 Ng8-f6 d2-d4 Nb8-c6 e2-e3 h7-h6 Bf1-d3 d5xc4 Bd3xc4 Bf8-d6 Ke1-g1 Ke8-g8 Bc4-d3 a7-a6 a2-a3 Bc8-d7 h2-h3 Qd8-e7 Rf1-e1 Ra8-d8 e3-e4 e6-e5
# 17    -17     442 h2-h4 e7-e5 e2-e4 d7-d6 d2-d3 Ng8-f6 Ng1-f3 Nb8-c6 Nb1-c3 Bc8-e6 Bc1-e3
# 18    -13     578 a2-a4 d7-d5 d2-d4 e7-e5 d4xe5 Nb8-c6 Nb1-c3 Bc8-e6 Bc1-e3 Nc6xe5 Ng1-f3 f7-f6 b2-b3
# 19    -17     436 g2-g4 d7-d5 e2-e3 f7-f6 Nb1-c3 e7-e5 d2-d4 Nb8-c6
# 20    -19     373 b2-b4 e7-e5 e2-e4 Ng8-f6 Nb1-c3 d7-d5 Bf1-b5 Bc8-d7 Bb5xd7 Nb8xd7

nodes = 5479807 <89% qnodes> time = 11329ms nps = 483697 eps = 364376 nneps = 3931
Tree: nodes = 1336084 depth = 32 pps = 3981 visits = 45110
      qsearch_calls = 9994 search_calls = 0
move d2d4
Bye Bye

D:\Chess Engines\ScorpioNN>

Code: Select all

D:\Chess Engines\ScorpioNN>scorpio use_nn 1 go quit
feature done=0
ht 4194304 X 16 = 64.0 MB
eht 524288 X 8 = 8.0 MB
pht 32768 X 24 = 0.8 MB
treeht 335539200 X 40 = 12799.8 MB
processors [128]
EgbbProbe 4.1 by Daniel Shawul
509 egbbs loaded !
Loading neural network ...
2018-09-08 15:20:45.528777: I c:\users\user\source\repos\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2018-09-08 15:20:45.835804: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1392] Found device 0 with properties:
name: GeForce GTX 1060 6GB major: 6 minor: 1 memoryClockRate(GHz): 1.835
pciBusID: 0000:01:00.0
totalMemory: 6.00GiB freeMemory: 4.97GiB
2018-09-08 15:20:45.978576: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1392] Found device 1 with properties:
name: GeForce GTX 1060 6GB major: 6 minor: 1 memoryClockRate(GHz): 1.835
pciBusID: 0000:05:00.0
totalMemory: 6.00GiB freeMemory: 4.97GiB
2018-09-08 15:20:45.989946: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1471] Adding visible gpu devices: 0, 1
2018-09-08 15:20:47.592534: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-09-08 15:20:47.597685: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:958]      0 1
2018-09-08 15:20:47.602585: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 0:   N N
2018-09-08 15:20:47.606590: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 1:   N N
2018-09-08 15:20:47.610950: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4734 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-09-08 15:20:47.877256: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 4734 MB memory) -> physical GPU (device: 1, name: GeForce GTX 1060 6GB, pci bus id: 0000:05:00.0, compute capability: 6.1)
2018-09-08 15:20:48.172619: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1471] Adding visible gpu devices: 0, 1
2018-09-08 15:20:48.177133: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-09-08 15:20:48.185003: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:958]      0 1
2018-09-08 15:20:48.188497: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 0:   N N
2018-09-08 15:20:48.192012: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:971] 1:   N N
2018-09-08 15:20:48.197520: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4734 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:01:00.0, compute capability: 6.1)
2018-09-08 15:20:48.209015: I c:\users\user\source\repos\tensorflow\tensorflow\core\common_runtime\gpu\gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 4734 MB memory) -> physical GPU (device: 1, name: GeForce GTX 1060 6GB, pci bus id: 0000:05:00.0, compute capability: 6.1)
Neural network loaded !
loading_time = 5s
[st = 11114ms, mt = 29250ms , hply = 0 , moves_left 10]
63 18 111 1403  e2-e4 e7-e5 d2-d4 e5xd4 Qd1xd4
64 15 226 4366  d2-d4 d7-d5 Nb1-c3 Nb8-c6 e2-e3
65 13 338 6921  d2-d4 d7-d5 Ng1-f3 Ng8-f6 Nb1-c3
66 13 454 9319  d2-d4 d7-d5 Nb1-c3 Ng8-f6 e2-e3 Nb8-c6
67 13 569 12084  d2-d4 d7-d5 Nb1-c3 Nb8-c6 e2-e3 Ng8-f6 Ng1-f3
68 13 681 15319  d2-d4 d7-d5 Nb1-c3 Ng8-f6 f2-f3 Nb8-c6 e2-e3 e7-e5 d4xe5 Nc6xe5
69 13 796 19304  d2-d4 d7-d5 Nb1-c3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e5 d4xe5 Nc6xe5 Bf1-e2 Bc8-g4 Ke1-g1 h7-h6
# 15    -13     621 f2-f4 d7-d5 d2-d3 c7-c5 e2-e4 Ng8-f6 Nb1-c3 e7-e6 Bc1-e3 Nb8-c6 Ng1-f3 d5-d4 e4-e5 d4xe3 e5xf6 Qd8xf6 g2-g3
# 16     -8     787 c2-c4 d7-d5 c4xd5 e7-e6 d2-d4 e6xd5 Ng1-f3 Nb8-c6 Nb1-c3 Ng8-f6 e2-e3 h7-h6 Bf1-d3 a7-a6 Ke1-g1 Bf8-d6 e3-e4 Bc8-g4 Nc3xd5 Nc6xd4 Qd1-a4 Nd4-c6
# 17    -18     407 h2-h4 e7-e5 e2-e4 d7-d6 d2-d3 Nb8-c6 Ng1-f3 Bc8-e6 Nb1-c3 Ng8-f6 Bc1-e3 a7-a6 a2-a3 h7-h6 g2-g3 Bf8-e7 Bf1-g2 Ke8-g8 Ke1-g1
# 18    -13     566 a2-a4 d7-d5 d2-d4 c7-c6 e2-e3 Ng8-f6 Ng1-f3 h7-h6 Bf1-d3 e7-e6 Ke1-g1 Bf8-e7 h2-h3
# 19    -19     421 g2-g4 d7-d5 e2-e3 Ng8-f6 g4-g5 Nf6-e4 d2-d4 e7-e5 d4xe5 Ne4xg5 Bf1-g2 Bf8-b4 c2-c3 Bb4-e7 Qd1xd5
# 20    -20     365 b2-b4 e7-e5 Bc1-b2 Nb8-c6 Ng1-f3 Ng8-f6 e2-e3 d7-d5 Nf3xe5 Bf8xb4 Bf1-e2 Bc8-e6 Ne5xc6 b7xc6 Ke1-g1 Ke8-g8

nodes = 5289015 <89% qnodes> time = 11296ms nps = 468220 eps = 353303 nneps = 3807
Tree: nodes = 1284366 depth = 30 pps = 3858 visits = 43583
      qsearch_calls = 9354 search_calls = 0
move d2d4
Bye Bye
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Daniel Shawul »

Fantastic!!

That is another thing off my shoulders.

Now I can go back to my linux machine and fix multi-gpu issues, as well as making the cpu to
use more cores efficiently.

Thank you very much !

Daniel
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Werner »

Hi Daniel,
I played some games against lc0 on 6x64 net too:

Lc0-1 9154 1CPU - ScorpioNet : 14,0/14 14-0-0 (11111111111111) 100% +1200 :(

by the way: can Scorpio read weights_9154.txt.gz renamed to net-6x64.pb ?
Werner
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Daniel Shawul »

Werner wrote: Sat Sep 08, 2018 9:41 pm Hi Daniel,
I played some games against lc0 on 6x64 net too:

Lc0-1 9154 1CPU - ScorpioNet : 14,0/14 14-0-0 (11111111111111) 100% +1200 :(

by the way: can Scorpio read weights_9154.txt.gz renamed to net-6x64.pb ?
Lol ok -- i guess i shoulda expected that.
Turn off neural network usage (use_nn=0) and use montecarlo search with those options I gave
before and it will probably beat Lc0 on CPU.

If you have to use NN on CPU, use the smallest one ( 2x32.pb net ) that should be much faster
than 6x64. Btw all my nets are trained with not more than 0.5 million games since I am mostly focused
on getting things working at the moment.

Daniel
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Daniel Shawul »

There maybe an issue with networks trained from PGN games (CCRL games) .

I have mostly been using another set of networks that I trained from set of EPD postions.
This set was also used for training standard scorpio's eval.

Could you try the net-2x32.pb file contained in https://github.com/dshawul/Scorpio/rele ... ts-epd.zip
It beat tscp three times in a row here on the cpu though it has some issues converting endgames.

These are trained from much less games (maybe 25000 games) but they should be able to capture atleast piece values.
My training script needs a lot more work for sure.
Here is the last game with the 2x32 net from nets-epd nor nets-ccrl. I figure this engine should be around 2400 from looking
at the way it plays but I am not chess player. It plays badly in the endgame though.

[pgn] [Event "Computer Chess Game"] [Site "dani-s-xp"] [Date "2018.09.08"] [Round "3"] [White "scorpio"] [Black "tscp"] [Result "*"] [TimeControl "40/120"] [Annotator "1. +0.00 9... -0.84"] 1. e4 {+0.00/70} c5 2. Nf3 {+0.00/70 0.1} d6 3. d4 {+0.00/70 0.1} cxd4 4. Nxd4 {+0.00/70 0.1} Nf6 5. Nc3 {+0.00/70 0.1} Nc6 6. Bg5 {+0.00/70 0.1} e6 7. Qd2 {+0.00/70 0.1} a6 8. O-O-O {+0.00/70 0.1} h6 9. Be3 {+0.00/70 0.1} Bd7 {-0.84/6 4} 10. f3 {+0.00/70 0.1} Be7 {-0.59/6 4} 11. g4 {+0.00/70 0.1} O-O {-0.37/6 4} 12. Kb1 {+0.03/71 8} Nxd4 {-0.14/6 4} 13. Bxd4 {+1.12/71 4} e5 {-0.06/6 3} 14. Bf2 {+1.29/71 4} b5 {-0.01/5 3} 15. h4 {+1.62/71 4} Bc6 {-0.22/5 3} 16. g5 {+3.35/71 4} hxg5 {-0.15/7 3} 17. hxg5 {+3.54/71 0.9} Nh7 {-0.21/6 3} 18. Be3 {+2.96/71 4} Nxg5 {-0.21/5 2.9} 19. Qh2 {+3.75/71 4} f5 {-0.41/6 2.8} 20. Bxg5 {+4.65/71 4} Bxg5 {-0.81/6 2.7} 21. Qh7+ {+3.56/71 4} Kf7 {-0.81/5 2.6} 22. a4 {+3.14/71 4} fxe4 {+0.31/6 2.6} 23. Nxe4 {+3.54/71 4} Bxe4 {+0.33/6 2.5} 24. Qxe4 {+3.17/71 4} bxa4 {+0.43/5 2.4} 25. Bc4+ {+3.37/71 4} Ke7 {+0.43/5 2.3} 26. Rh5 {+3.64/71 4} Bf6 {+0.75/6 2.2} 27. f4 {+3.96/71 4} Rb8 {+1.53/5 2.2} 28. fxe5 {+4.01/71 4} Rxb2+ {-2.28/5 2.1} 29. Kxb2 {+7.29/71 1.0} Qb8+ {-2.67/6 2.0} 30. Ka2 {+7.09/71 4} Bxe5 {-2.64/6 1.9} 31. Rxe5+ {+5.95/71 4} dxe5 {-4.97/5 1.9} 32. Qg6 {+6.63/71 4} Rf2 {-7.94/6 1.8} 33. Qe6+ {+6.92/71 4} Kf8 {-7.94/6 1.8} 34. Qg8+ {+7.85/71 1.1} Ke7 {-9.22/6 1.7} 35. Qxb8 {+9.15/71 1.2} Rxc2+ {-10.85/6 1.6} 36. Kb1 {+11.41/71 6} Rd2 {-16.73/6 1.6} 37. Rxd2 {+11.44/71 6} Kf6 {-99.94/5 0.1} 38. Bxa6 {+14.71/71 6} g5 {-15.12/5 1.5} 39. Bb5 {+14.60/71 6} g4 {-15.76/5 1.5} 40. Rd5 {+14.59/71 7} a3 {-16.06/5 1.4} 41. Ka2 {+16.70/71 2.9} Kg6 {-99.92/6 2.0} 42. Kxa3 {+14.17/71 2.9} Kh6 {-18.11/6 5} 43. Rd8 {+18.18/71 2.9} e4 {-99.94/6 0.8} 44. Qa8 {+20.26/71 2.9} Kg5 {-18.31/7 5} 45. Qa7 {+15.70/71 2.9} Kh5 {-18.11/6 5} 46. Kb2 {+13.12/71 2.9} Kg5 {-18.00/6 5} 47. Qc5+ {+23.87/71 0.7} Kh4 {-99.94/5 1.4} 48. Qb6 {+14.84/71 2.9} Kg5 {-18.00/6 5} 49. Bc6 {+14.38/71 2.9} Kf5 {-18.05/6 4} 50. Qd4 {+16.32/71 2.9} g3 {-99.92/6 2.4} 51. Kc3 {+14.33/71 3} Kg5 {-99.92/6 1.8} 52. Rg8+ {+13.68/71 0.7} Kf5 {-99.94/4 0.1} 53. Rxg3 {+11.86/71 0.8} Ke6 {-99.96/4 0.1} 54. Bxe4 {+17.45/71 3} Ke7 {-99.94/5 0.1} 55. Qe5+ {+9.94/71 3} Kd8 {-99.96/3 0.1 [/pgn]

DAniel
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Werner »

Daniel Shawul wrote: Sat Sep 08, 2018 10:43 pm Could you try the net-2x32.pb file contained in https://github.com/dshawul/Scorpio/rele ... ts-epd.zip
It beat tscp three times in a row here on the cpu though it has some issues converting endgames.
...sorry - same result.
Werner
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Werner »

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...
Werner
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Scorpio 2.8.7 MCTS+NN windows version

Post by Werner »

Werner wrote: Sun Sep 09, 2018 3: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.
Werner