Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minimalist instructions :
- (no explanations, assumes you know what you're doing and what you want)
- custom machine :
- -> (recommended) or, if you want to run 2 games simultaneously ./autogtp -g 2 (20% faster, slightly higher probability to get disconnected by preemptible rules of low priority cost), due to more cloud hardware used by one machine) :
- 4 vcpu
- 5.5 gb ram
- -> (not recommended) if you want to run one game at a time ./autogtp (20% slower, slightly less chance to get disconnected by preemptible rules) :
- 2 vcpu
- 3.5 gb ram
- for more details on hardware needs calculation, you can see part 5f of the long pastebin tutorial
- then, the rest is common for both cases
- 1 GPU : tesla v100
- ubuntu 18.04 LTS
- 10gb hdd
- allow http/https
- Preemptible ON : in Management, security, disks, networking, sole tenancy, Availability policy -> Preemptibility option to ON
- then,in SSH window :
- note : before starting this command : if you want to install latest fresh nvidia drivers, look at part 1b of the long version tutorial : https://pastebin.com/552UN25c
- select the long ALL IN ONE command below, and copy paste all selection (includes leela-zero NEXT BRANCH) :
- sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo add-apt-repository -y ppa:graphics-drivers/ppa && sudo apt-get update && sudo apt-get -y install nvidia-driver-410 linux-headers-generic nvidia-opencl-dev && sudo apt-get -y install clinfo cmake git libboost-all-dev libopenblas-dev zlib1g-dev build-essential qtbase5-dev qttools5-dev qttools5-dev-tools libboost-dev libboost-program-options-dev opencl-headers ocl-icd-libopencl1 ocl-icd-opencl-dev qt5-default qt5-qmake curl glances zip && git clone https://github.com/gcp/leela-zero && cd leela-zero && git checkout next && git pull && git clone https://github.com/gcp/leela-zero && git submodule update --init --recursive && mkdir build && cd build && cmake .. && cmake --build . && cd ../autogtp && cp ../build/autogtp/autogtp . && cp ../build/leelaz . && sudo reboot
- note :
- if you want to use MASTER BRANCH (not recommended, slower, possibly more stable) instead, you can see the instructions in part 6d of the long pastebin tutorial
- to run autogtp again (after exit or restart because of preemptibility,etc) :
- cd leela-zero/autogtp
- ./autogtp
- startup-script will be added later (no need to manually start autogtp, autogtp is still producing games even if no SSH window, even if your computer is powered off)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement