Search code examples
pythonpytorchintel-pytorch

When I was trying to run IPEX on DevCloud it is showing "Illegal instruction"


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


Solution

  • 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