JoshVarty / AlphaZeroCpp

A re-implementation of AlphaZeroSimple in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AlphaZeroCpp

A re-implementation of AlphaZeroSimple in C++

Dependencies

  • Ubuntu 18.04

  • Cuda 10

  • cuDNN v8.0.3 (August 26th, 2020), for CUDA 10.1

    • Download and unzip
    • cd cuda
    • sudo cp include/cudnn.h /usr/local/cuda/include
    • sudo cp include/cudnn_version.h /usr/local/cuda/include
    • sudo cp lib64/libcudnn* /usr/local/cuda/lib64
    • sudo chmod a+r /usr/local/cuda/lib64/libcudnn*
  • LibTorch 1.6.0 must be unzipped to this directory.

Building

cd build cmake -DCMAKE_PREFIX_PATH=/home/josh/git/AlphaZeroCpp/libtorch -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-10.1/ ..

Running

About

A re-implementation of AlphaZeroSimple in C++

License:MIT License


Languages

Language:C++ 96.3%Language:CMake 3.0%Language:Makefile 0.7%