Scorpio 2.8.7 MCTS+NN windows version
Posted: Sat Sep 08, 2018 8:30 am
Hi,
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.
This version also works on Windows machines at least on the CPU. I have not tested the GPU version so
I am gonna need help with that.
I will describe the steps I took to get scorpio+mcts+nn CPU version woking on windows. Once you get that working then you can
try to get the GPU version working as well, which btw will give you 2 orders of magnitude acceleration
Steps
a) Download egbbdll64.dll from here. This dll is used for probing bitbases and neural networks as well. For the latter it comes prepackaged with a tensorflow.dll which is a huge step compared to previous version where I expected the user to figure this out ... silly me. Extract these files to where egbb endgame bitbases are located (or in any other place if you just want neural network support)
b) Add to the "Path" environment variable the path to where you extracted the egbbdll64.ll. This step is required so that the system can find
tensorflow.dll, cudnn.dll which comes pre-packaged with egbbdll
c) Download some network files from here. I have networks as big as A0s (40x256) if you need
them but it is pretty slow. Then edit the nn_path in scorpio.ini to choose your network
d) Then on the command line do a "scorpio go quit" to see if it works as intended.
More information can be found here and here
Daniel
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.
This version also works on Windows machines at least on the CPU. I have not tested the GPU version so
I am gonna need help with that.
I will describe the steps I took to get scorpio+mcts+nn CPU version woking on windows. Once you get that working then you can
try to get the GPU version working as well, which btw will give you 2 orders of magnitude acceleration
Steps
a) Download egbbdll64.dll from here. This dll is used for probing bitbases and neural networks as well. For the latter it comes prepackaged with a tensorflow.dll which is a huge step compared to previous version where I expected the user to figure this out ... silly me. Extract these files to where egbb endgame bitbases are located (or in any other place if you just want neural network support)
b) Add to the "Path" environment variable the path to where you extracted the egbbdll64.ll. This step is required so that the system can find
tensorflow.dll, cudnn.dll which comes pre-packaged with egbbdll
c) Download some network files from here. I have networks as big as A0s (40x256) if you need
them but it is pretty slow. Then edit the nn_path in scorpio.ini to choose your network
d) Then on the command line do a "scorpio go quit" to see if it works as intended.
More information can be found here and here
Daniel