Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1644 Discussions

Intel® Developer Cloud for the Edge - Bare-metal - Missing OneAPI Libraries

JasonPua
Employee
997 Views

I have a customer interested in testing out IPEX with Pytorch on Intel Developer Cloud for the Edge on the bare metal instance. 

It seems there is a node option with the config:

Intel Xeon D ProcessorIntel Xeon D processor D-2796NT (formerly code named Ice Lake)65 GBIntel® Data Center GPU Flex 170 (Discrete)None

CPU: d-2796nt

GPU: intel-data-center-gpu-flex-170

idc084

 

The IPEX library was installed with "pip"
# python3 -m pip install torch==1.13.0a0+git6c9b55e torchvision==0.14.1a0 intel_extension_for_pytorch==1.13.120+xpu -f https://developer.intel.com/ipex-whl-stable-xpu

Installation was successful with "pip show torch"

=========================================================================

Name: torch

Version: 1.13.0a0+git6c9b55e

Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration

Home-page: https://pytorch.org/

Author: PyTorch Team

Author-email: packages@pytorch.org

License: BSD-3

Location: /home/u183618/.local/lib/python3.8/site-packages

Requires: typing-extensions

Required-by: accelerate, optimum, torchvision, triton

=========================================================================

 

However once we tried importing torch on terminal with [python3 -c "import torch"], we are getting error that mkl libraries are missing.
=========================================================================
OSError: libmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory

=========================================================================

Upon further checking I can see that the node idc084 has no OneAPI root as well.

ls /opt/intel/oneapi/  

also returns missing error. 

 

Does anyone from developer cloud team for the edge know if we can install OneAPI on those nodes? 

0 Kudos
1 Solution
JesusE_Intel
Moderator
976 Views

Hi JasonPua,


The Intel Developer Cloud for the Edge nodes do not have the Intel oneAPI Software Installed. If IPEX only requires pip packages you could try to setup a customer kernel with the required packages and submit the job to the node. If you need additional software outside pip packages I recommend using DevCloud for oneAPI.


Please take a look at this discussion where I provided instructions to setup a custom kernel:

https://community.intel.com/t5/Intel-DevCloud/Unable-to-import-pandas-after-activating-openvino-2022-2-0/m-p/1479334#M8003


Regards,

Jesus


View solution in original post

0 Kudos
5 Replies
JesusE_Intel
Moderator
977 Views

Hi JasonPua,


The Intel Developer Cloud for the Edge nodes do not have the Intel oneAPI Software Installed. If IPEX only requires pip packages you could try to setup a customer kernel with the required packages and submit the job to the node. If you need additional software outside pip packages I recommend using DevCloud for oneAPI.


Please take a look at this discussion where I provided instructions to setup a custom kernel:

https://community.intel.com/t5/Intel-DevCloud/Unable-to-import-pandas-after-activating-openvino-2022-2-0/m-p/1479334#M8003


Regards,

Jesus


0 Kudos
JasonPua
Employee
953 Views

Hi there Jesus, 

I've read through the documentation for IPEX and MKL libraries are certainly one of the prerequisites to run some AI Model training on the FLEX170 GPU. I've tried installing mkl via "pip install mkl" and exported the library_path to the MKL libraries but no cigar. So its certainly an outside pip packages situation. 

Thank you for the pointers on the custom kernels though, that sure will come in useful. 

Best Regards, 
Jason


0 Kudos
JesusE_Intel
Moderator
949 Views

Hi JasonPua,


Any time! Please let me know if I can proceed to close this discussion. or if you have any additional questions.


Regards,

Jesus


0 Kudos
JasonPua
Employee
931 Views

Yes sir, none for now.

Please proceed to close the discussion. 

Thank you, 
Jason

0 Kudos
JesusE_Intel
Moderator
914 Views

If you need any additional information, please submit a new question as this thread will no longer be monitored.


0 Kudos
Reply