-
Notifications
You must be signed in to change notification settings - Fork 299
Running Leela Chess Zero on Intel CPUs (Haswell or later)
nikolaleung edited this page May 9, 2018
·
3 revisions
If you have an newer intel CPU and no dedicated GPU, you can boost your nps by using Intel's Math Kernel Library. Please note that you should keep track of your CPU temperature to avoid overheating, especially if you have an older Haswell CPU. Windows Task Manager and HWInfo64 are great tools for tracking your resource usage. This guide takes into account that you have already downloaded the most recent cpu-win.zip and extracted it.
- Head over to Intel's Math Kernel Library page
- Register
- Download the MKL libraries for Windows
- Install the package
- You only need Intel MKL core libraries for C/C++ for Intel 64, so you can uncheck everything else
- Go to your installation directory (usually C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.2.185\windows\redist\intel64_win\mkl) and find three dlls: mkl_avx2.dll, mkl_core.dll, and mkl_sequential.dll
- Copy them to your cpu-win folder
- Extract and replace lczero.exe with the one from lczero_v0.9_avx2_mkl.zip
- Run client.exe
Running LCZero with MKL will directly increase your nps. If you have multiple cores/threads you can also run multiple clients.