1

I was trying image classification using IPEX on DevCloud but it is showing "Illegal instruction" for me.

qsub -I -l nodes=1:gpu:ppn=2 -d .
python3 inf.py
Raviranjan
  • 13
  • 3

2 Answers2

1
qsub -I -l nodes=1:gpu:ppn=2 -d .

This command is used to assign one full GPU node. IPEX don't support gpu as mentioned here: https://github.com/intel/intel-extension-for-pytorch/issues/149#issuecomment-812348623

This could be the reason for that error.

Try using below commands:

qsub -I
python3 inf.py
Yu Hao
  • 119,891
  • 44
  • 235
  • 294
1

Recently, IntelĀ® Extension for PyTorch* extends PyTorch with up-to-date features and optimizations on Intel GPU for an extra performance boost on Intel Graphics cards. Please check out the link, https://intel.github.io/intel-extension-for-pytorch/xpu/latest/index.html.

Ramya R
  • 163
  • 8