oneapi-src / oneDNN

oneAPI Deep Neural Network Library (oneDNN)
https://uxlfoundation.org
Apache License 2.0
3.58k stars 985 forks source link

Is ONNX support oneDNN with windows 11? #2057

Closed yunhaolsh closed 1 week ago

yunhaolsh commented 2 weeks ago

https://onnxruntime.ai/docs/execution-providers/oneDNN-ExecutionProvider.html#support-coverage this page Support Coverage says windows 10, how about windows 11? if support,how can i config oneDNN within ONNX after i build onnx with the commond '.\build.bat --use_dnnl'?

yehudaorel commented 2 weeks ago

Hi @yunhaolsh, Yes both latest ONNX and oneDNN support windows 11.

May I know what you are specifically trying to configure with oneDNN? If you are referring to oneDNN build configuration from source you can find available options here: https://oneapi-src.github.io/oneDNN/dev_guide_build_options.html

yunhaolsh commented 2 weeks ago

Hi @yunhaolsh, Yes both latest ONNX and oneDNN support windows 11.

May I know what you are specifically trying to configure with oneDNN? If you are referring to oneDNN build configuration from source you can find available options here: https://oneapi-src.github.io/oneDNN/dev_guide_build_options.html

I want to enable oneDNN in onnx to accelerate cpu. Only windows10 is written in the Support Coverage of this document, so I would like to know whether it is applicable in windows11. Thanks a lot. https://onnxruntime.ai/docs/execution-providers/oneDNN-ExecutionProvider.html#support-coverage

shu1chen commented 2 weeks ago

Hi @yunhaolsh The information on the support-coverage section seems to be outdated. Since you have submitted microsoft/onnxruntime#21856, let's wait for the onnxruntime team to verify and fix it.

I want to enable oneDNN in onnx to accelerate cpu.

ONNX runtime wraps the APIs and provides the oneDNN execution provider. The usage section lists the ways to call oneDNN execution provider as well as documentation links to C/Python APIs.