Closed kennyfrc closed 3 years ago
Yes, it is kind of complicated the way it is now. egbbdll.so has three dependencies, libnnprobe.so, linnnueprobe.so and libnncpuprobe.so. Moreover, there is no libnnprobe.so on the mac because tensorflow does not work there AFAIK. Anyway I am glad you are able to resolve this.
Apple has been working on a tensorflow fork since Big Sur 11.0 (a month ago): https://github.com/apple/tensorflow_macos. It's still in alpha stage and still has a long way to go (couldn't make Lc0 work). And that's just the start of the problem as CUDA is not compatible with Apple-compatible GPUs/eGPUs. The best way forward if a Mac user wants to contribute resnets is through Google Colab. For now, NNUE+MCTS is the closest Mac users have to attaining a "human-like" sparring partner, which luckily Scorpio does best :) Thanks for maintaining this project.
Anyway, closing this now - just wanted to make a public record in case a Linux / Mac user encounters this issue.
Hi, since I'm using Mac, I had to compile scorpio myself (I also replicated the issue in Linux despite using
install.sh
). I found and was able to resolve what I think is an unintended bug (as it's not in the documentation).After successfully compiling scorpio, egbbdll, and nnue-probe, when I run
./scorpio go quit
, I get aEgbbProbe not Loaded
error despite using the correct paths:After adding this logger in
probe.cpp:247
...... and running
./scorpio go quit
again, I get this error:The above was strange because
egbbdll
compiled correctly and it was linked to the nnue-probe library.I was able to resolve it by moving
libnnueprobe.so
in the same folder as the scorpio binary.Suggested long-term solution: add a path to
nnue-probe
inscorpio.ini
.