You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is to collect discussions and feedback regarding the ONNX backend. Feel free to post your thoughts.
#1234 has been merged, bringing large speedups on Intel GPUs and NPUs, as well as a generic DirectML backend that may perform better than OpenCL on the latest transformer models.
The OpenVINO backend is currently only built when lightvector manually triggers a run or tags a commit. If you want to test it, you can use https://github.com/seniorfish/KataGo/releases/tag/v1.17.2-onnx-openvino, but note that this is not the latest version. For configuration, you can refer to gtp_example.cfg.
Future plans:
There are reports that the NPU backend is not working on the largest b40 net; I will investigate this. If the backend crashes on your device, please let me know.
Optimize the OpenVINO batching strategy and fine-tune config options, which may require more benchmark data across various processors.
onnxbackend.cpp seems a bit messy with many special cases in the code. I might look into refactoring it for better maintainability as more execution providers might be added in the future.
This issue is to collect discussions and feedback regarding the ONNX backend. Feel free to post your thoughts.
#1234 has been merged, bringing large speedups on Intel GPUs and NPUs, as well as a generic DirectML backend that may perform better than OpenCL on the latest transformer models.
Prebuilt DirectML binaries are available at https://github.com/lightvector/KataGo/actions/workflows/onnx-backend.yml. Open the latest run and download the files you need from artifacts.
The OpenVINO backend is currently only built when lightvector manually triggers a run or tags a commit. If you want to test it, you can use https://github.com/seniorfish/KataGo/releases/tag/v1.17.2-onnx-openvino, but note that this is not the latest version. For configuration, you can refer to
gtp_example.cfg.Future plans:
onnxbackend.cppseems a bit messy with many special cases in the code. I might look into refactoring it for better maintainability as more execution providers might be added in the future.