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

Intel Extension for Pytorch program does not detect GPU on DevCloud

YuanM
Novice
810 Views

Hi,

 

I am trying to deploy DNN inference/training workloads in pytorch using GPUs provided by DevCloud. I tried the tutorial "Intel_Extension_For_PyTorch_GettingStarted" [Github Link] following the procedure:

 

qsub -I -l nodes=1:gpu:ppn=2 -d .
export LD_LIBRARY_PATH=/glob/development-tools/versions/oneapi/2023.0.1/oneapi/intelpython/latest/envs/pytorch/lib/python3.9/site-packages/torch/lib/:$LD_LIBRARY_PATH
patch < ./codes_for_ipynb/gpu.patch
./q ./run.sh

 

The compute node obtained is the [11th Gen Intel(R) Core(TM) i9-11900KB @ 3.30GHz] host cpu integrated with Intel® UHD Graphics (Tiget Lake Xe) GPU.

 

However, the output file (returned run.sh.e) shows the following error:

 

RuntimeError: Number of dpcpp devices should be greater than zero!

Is there any step I am missing for accessing GPU resources on the DevCloud?

0 Kudos
3 Replies
RajashekarK_Intel
Moderator
766 Views

Hi, Thanks for posting in Intel communities

The way you queried to get GPU node on DevCloud is correct, and you don't have to explicitly set the environment variable. Just

 

source /opt/intel/oneapi/setvars.sh

 

does the job.

 

FYI, prerequisites to run the sample are ( https://github.com/oneapi-src/oneAPI-samples/tree/master/AI-and-Analytics/Getting-Started-Samples/Intel_Extension_For_PyTorch_GettingStarted#prerequisites )

 

It requires Discrete GPUs

1. https://ark.intel.com/content/www/us/en/ark/products/series/230021/intel-data-center-gpu-flex-series.html

2. https://ark.intel.com/content/www/us/en/ark/products/series/232874/intel-data-center-gpu-max-series.html

 

Unfortunately, Intel DevCloud currently has only Integrated GPUs.

 

Thanks,

Rajashekar

 

0 Kudos
RajashekarK_Intel
Moderator
681 Views

Hi, Good day to you.


We have not heard back from you. Is your issue resolved with the above solution? If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.


Regards,

Rajashekar


0 Kudos
RajashekarK_Intel
Moderator
586 Views

Hi,

We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Rajashekar


0 Kudos
Reply