pasky / pachi

A fairly strong Go/Baduk/Weiqi playing program
http://pachi.or.cz/
GNU General Public License v2.0
514 stars 117 forks source link

Can pachi be used with Caffe and Nvidia Docker containers? #75

Closed JDJoe closed 6 years ago

JDJoe commented 6 years ago

I got NVIDIA CUDA 9.0 + cuDNN + tensorflow etc up and running (for Leela_Zero) but never managed to get Caffe up and running so I thought about going with Docker's NVIDIA and Caffe containers for Pachi.

Before I start to build all that, can Pachi be built/use Docker containers? If so, perhaps you can give me few pointers how to get it up an running. My experience with Docker is rather limited.

lemonsqueeze commented 6 years ago

This is for Windows I guess ?

JDJoe commented 6 years ago

This is for Windows I guess ?

No. Kubuntu 17.10, with 4.14.13 kernel and nvidia-387 driver, GeForce GTX 1080 Ti

lemonsqueeze commented 6 years ago

Actually setting up Caffe for Ubuntu >= 17.04 should be easy, there are packages in the repositories now. sudo apt-get install libcaffe-cuda-dev should give you everything you need for the gpu version (or libcaffe-cpu-dev for the cpu version).

Really don't know for the docker container. As long as there's a compiler in it, caffe + dependencies libs and headers it should work.

JDJoe commented 6 years ago

Thanks. How did I miss that :) Compiled with

DCNN=1
CAFFE_PREFIX=/usr/include/caffe/

no problems there