CPU version of AQ on macOS
AQ is a program of Go game with level of expert players.
CGOS rating: 3746 (standings)
This is a porting version of AQ for macOS without NVIDIA GPU.
Requirement
- OS: macOS
- CPU: CPU with SSE 4.2
- Library: boost
Usage
AQ configuration
Set hardware and time control etc. in 'aq_config.txt.'
Time controll on CGOS
The current version does not support time_setting
command, so you need to change time setting for runnning it on CGOS. Otherwise, AQ often loses due to timeout.
-main time[sec] =900
-byoyomi[sec] =0
-time controll =off
Build from source code.
brew install boost
git clone https://github.com/yich/AQ.git
# Below <AQ> means the directory of the local AQ repository
git clone --recursive https://github.com/tensorflow/tensorflow.git
# Below <tensorflow> means the directory of the local tensorflow repository
cd <tensorflow>
ln -s <AQ>/src tensorflow/cc/AQ
bazel build -c opt --copt=-mavx //tensorflow/cc/AQ:AQ
How to run
cd <AQ>
mkdir bin
cd bin
mkdir log
ln -s <tensorflow>/bazel-bin/tensorflow/cc/AQ/AQ .
cp ../aq_config.txt .
cp ../prob/*.txt .
ln -s ../pb .
./AQ
License
Author
Porting Information
ported for macOS by ICHIKAWA, Yuji.
- sl_0.pb and vl_0.pb was changed for CPU by no_device.py.
- The stack size of std::thread on macOS was too small for AQ, so I replaced std::thread with boost::thread.