Advertisement
gomasterzero

Untitled

Oct 16th, 2018
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. minimalist instructions :
  2. (no explanations, assumes you know what you're doing and what you want)
  3.  
  4.  
  5. custom machine :
  6.  
  7. -> (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) :
  8. 4 vcpu
  9. 5.5 gb ram
  10. -> (not recommended) if you want to run one game at a time ./autogtp (20% slower, slightly less chance to get disconnected by preemptible rules) :
  11. 2 vcpu
  12. 3.5 gb ram
  13. for more details on hardware needs calculation, you can see part 5f of the long pastebin tutorial
  14.  
  15.  
  16.  
  17. then, the rest is common for both cases
  18. 1 GPU : tesla v100
  19. ubuntu 18.04 LTS
  20. 10gb hdd
  21. allow http/https
  22. Preemptible ON : in Management, security, disks, networking, sole tenancy, Availability policy -> Preemptibility option to ON
  23.  
  24.  
  25. then,in SSH window :
  26.  
  27.  
  28. 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
  29.  
  30.  
  31. select the long ALL IN ONE command below, and copy paste all selection (includes leela-zero NEXT BRANCH) :
  32.  
  33.  
  34.  
  35.  
  36.  
  37. 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
  38.  
  39.  
  40.  
  41. note :
  42. 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
  43.  
  44.  
  45.  
  46.  
  47.  
  48. to run autogtp again (after exit or restart because of preemptibility,etc) :
  49.  
  50. cd leela-zero/autogtp
  51. ./autogtp
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. 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