Intel® oneAPI DL Framework Developer Toolkit
Get answers for developing new or customizing existing frameworks using common APIs.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

oneDNN Library and python code

RAror6
New Contributor I
557 Views

Hello,

I had a question on using the oneDNN framework. I am going through the developers guide, and I m having some difficulty figuring out how I can link my python code for NNs and the oneDNN library. Is there some sample code/examples I can reference for this? 

Further, how does Intel's distribution of Python come in the picture. Is it embedded with oneDNN and will any of my Intel python code automatically use oneDNN for optimization?

Just wondering how to use oneDNN to analyze and optimize my python code.

Thank you!

0 Kudos
5 Replies
AthiraM_Intel
Moderator
557 Views

Hi,

Thanks for your interest in oneDNN.

oneDNN provides a SYCL* extensions API for CPU and GPU and is available as a part of Intel® oneAPI DL Framework Developer Toolkit (https://software.intel.com/content/www/us/en/develop/tools/oneapi/dl-framework-developer-toolkit.htm...) .

You can refer sample tutorials avaialble for oneDNN at :

https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onednn.html

https://github.com/intel/BaseKit-code-samples/tree/master/oneDNN/oneDNN_Getting_Started

Regarding python code integration, we will check with our experts and get back to you.

 

 

 

AthiraM_Intel
Moderator
557 Views

Hi,

oneDNN is intended for deep learning applications and framework developers interested in improving application performance on Intel CPUs and GPUs .
Intel optimized DL frameworks like Intel Optimized Tensorflow and Pytorch is enabled with oneDNN by default.
Hence no additional intergration with your python code is required.

Thanks

 

AthiraM_Intel
Moderator
557 Views

Hi,

Could you please confirm whether the solution provided was helpful?

 

Thanks

RAror6
New Contributor I
557 Views

Hello,

The solution provided was very helpful! Thank you so much!

 

- Rushiv

AthiraM_Intel
Moderator
557 Views

Hi,

Thanks for the confirmation. We are closing this case. Please feel free to open a new thread if you have any further queries.

 

Reply