Tencent / PhoenixGo

Go AI program which implements the AlphaGo Zero paper
Other
2.88k stars 577 forks source link

Win GPU v1 Start doesn't work #38

Closed baduk1 closed 6 years ago

baduk1 commented 6 years ago

After installing Visual C++ Redistributable for Visual Studio 2015 (the file name is vc_redist.x64.exe) - as suggested in PDF guide, same XXX.dll pop-up appears. How to solve this? Thanks P.S. CPU version works perfectly.

wodesuck commented 6 years ago

Please tell me what XXX.dll is..

baduk1 commented 6 years ago

@wodesuck cufff64_90.dll

wodesuck commented 6 years ago

You should install cuda & cudnn. Btw, it is cufft64_90.dll, I guess.

baduk1 commented 6 years ago

I installed cuda and cudnn as in instruction.

wodesuck commented 6 years ago

Try adding them in your PATH

l1t1 commented 6 years ago

copy the dlls to bin directory, just as https://github.com/Tencent/PhoenixGo/issues/36

baduk1 commented 6 years ago

I can't find that particular dll. Can you give a link or send me directly?

l1t1 commented 6 years ago

download the cuda & cudnn as install.pdf said, then unzip them,you will found dlls

wodesuck commented 6 years ago

Default installed in C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin.

baduk1 commented 6 years ago

@wodesuck https://imgur.com/a/eLQjyNl

wodesuck commented 6 years ago

I think you hadn't installed cuda...

baduk1 commented 6 years ago

@wodesuck https://imgur.com/a/hsd4si6 failed 4 times. I installed VS 2017 also

wodesuck commented 6 years ago

You should install cuda 9.0.

baduk1 commented 6 years ago

@wodesuck https://imgur.com/a/GO5O8Hw I tried several times already CUDA 9 as was written in PDF

wodesuck commented 6 years ago

So, you should ask help from cuda community.

l1t1 commented 6 years ago

install is not needed, unzip is ok but you should download full version, not the web installer

2018/05/25  15:51     1,387,316,888 cuda_9.0.176_windows.exe
2018/05/25  09:38       211,175,387 cudnn-9.0-windows7-x64-v7.1.zip
wodesuck commented 6 years ago

@l1t1 For cudnn, unzip is ok, but for cuda, I guess "install" is needed.

l1t1 commented 6 years ago

@wodesuck not really, my nivida directory

 C:\Program Files\NVIDIA Corporation 的目录

2018/05/07  14:49    <DIR>          .
2018/05/07  14:49    <DIR>          ..
2018/05/07  14:48    <DIR>          Ansel
2017/08/17  20:00    <DIR>          Control Panel Client
2018/05/07  14:47    <DIR>          coprocmanager
2018/05/07  14:47    <DIR>          Display
2018/05/07  14:47    <DIR>          Display.NvContainer
2018/05/07  14:48    <DIR>          DisplayDriverAnalyzer
2018/05/07  14:47    <DIR>          Drs
2018/05/07  14:50    <DIR>          Installer2
2018/03/24  09:13            27,203 license.txt
2018/05/07  14:48    <DIR>          NvBackend
2018/05/07  14:48    <DIR>          NvContainer
2018/05/07  14:48    <DIR>          NvDriverUpdateCheck
2018/05/07  14:47    <DIR>          NvFBC
2018/05/07  14:47    <DIR>          nvgsync
2018/05/07  14:47    <DIR>          NVSMI
2018/05/07  14:48    <DIR>          NvStreamSrv
2018/05/07  14:48    <DIR>          NvTelemetry
2018/05/07  14:47    <DIR>          OpenCL
2018/05/07  14:49    <DIR>          ShadowPlay
2018/05/07  14:48    <DIR>          SHIELD Wireless Controller
2018/05/07  14:48    <DIR>          Update Core
               1 个文件         27,203 字节
              22 个目录

 C:\Program Files (x86)\NVIDIA Corporation 的目录

2018/05/07  14:49    <DIR>          .
2018/05/07  14:49    <DIR>          ..
2018/05/07  14:48    <DIR>          3D Vision
2018/05/07  14:47    <DIR>          coprocmanager
2018/05/07  14:47    <DIR>          Display.NvContainer
2018/05/07  14:48    <DIR>          NvBackend
2018/05/07  14:48    <DIR>          NvContainer
2018/05/07  14:47    <DIR>          NvFBC
2018/05/07  14:48    <DIR>          NVIDIA GeForce Experience
2018/05/07  14:48    <DIR>          NvNode
2018/05/07  14:48    <DIR>          NvStreamSrv
2018/05/07  14:48    <DIR>          NvTelemetry
2017/08/17  20:00    <DIR>          PhysX
2018/05/07  14:49    <DIR>          ShadowPlay
2018/05/07  14:48    <DIR>          Update Core
               0 个文件              0 字节
              15 个目录  

see https://github.com/Tencent/PhoenixGo/issues/36

baduk1 commented 6 years ago

I used 7Z to extract 4 missing DLLS and added them to PhoenixGo - Bin (I was confusing it with Nvidia - Cuda - Bin). Cudnn installation was no problems. Finally all working. I am not sure that Phoenix can see both of my GPUs thought. Also I did not any weights to Sabaki, as I can't find txt of Phoenix weights. I never used Sabaki before, so I wrote this: https://imgur.com/a9qarfy and they are playing now https://imgur.com/HxwNaKW Thanks for help. If you can comment abought weights and tuning - will be appreciated.

l1t1 commented 6 years ago

Phoenix weights includes many files , which are all in ckpt directory. so it use .conf file.

baduk1 commented 6 years ago

@wodesuck Did I write everything correctly here to use PhoenixGo full power on 2 gpus? https://imgur.com/a/C0LfC7I

wodesuck commented 6 years ago

You may use nvidia-smi to check your gpu usage.

baduk1 commented 6 years ago

@wodesuck are you planning to release PhoenixGo 40B? 20B is weaker than ELF on my PC.