macOS and LinuxFollow the instructions below to compile the leelaz binary, then go intothe autogtp subdirectory and follow the instructions there to build theautogtp binary. Copy the leelaz binary into the autogtp dir, and launchautogtp.
Example of compiling and running - Ubuntu# Test for OpenCL support & compatibilitysudo apt install clinfo && clinfo# Clone github repogit clone https://github.com/gcp/leela-zerocd leela-zero/srcsudo apt install libboost-all-dev libopenblas-dev opencl-headers ocl-icd-libopencl1 ocl-icd-opencl-dev zlib1g-devmakecd ..wget https://sjeng.org/zero/best_v1.txt.zipunzip best_v1.txt.zipsrc/leelaz --weights weights.txt