oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions related to download, Installation and licensing for Intel oneAPI Toolkits and software development tools.
1496 Discussions

Unable to compile Intel® Extension for PyTorch

Jamas94
New Contributor I
852 Views

I want to use Intel Arc A770 16G LE for training on Windows. I found Intel® Extension for PyTorch and compiled and configured it according to the following link

https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu&version=v2.1.40%2bxpu&os=windows&package=source

. But it didn't work, there were many errors, it seems that there is a lack of environment support, the environment required by the document is Intel® oneAPI Base Toolkit, complete installation, python 3.11.10, Visual Studio 2022 C++ V143

 

Hardware Information:

CPU: AMD 5600G 

GPU: Intel Arc A770 16G LE ( 32.0.101.5972)

 

OS: 

Edition Windows 11 Pro
Version 23H2
Installed on ‎11/‎24/‎2023
OS build 22631.4169
Experience Windows Feature Experience Pack 1000.22700.1034.0

 

Some errors are displayed:

[4315/5981] Building CXX object third_party\ideep\mkl-...ph_backend_dnnl.dir\patterns\single_op_pattern.cpp.obj C:\Program Files (x86)\Intel\oneAPI\ipex_bundle\pytorch\third_party\ideep\mkl-dnn\src\graph/backend/dnnl/constant_cache.hpp(1): warning C4819: ? file contains characters that cannot be represented in the previous generation (950). File saved in Unicode to prevent data loss C:\Program Files (x86)\Intel\oneAPI\ipex_bundle\pytorch\third_party\ideep\mkl-dnn\src\graph/interface/partition_impl.hpp(1): warning C4819: File contains characters that cannot be represented in the previous generation (950). File saved in Unicode to prevent data loss C:\Program Files (x86)\Intel\oneAPI\ipex_bundle\pytorch\third_party\ideep\mkl-dnn\src\graph/backend/dnnl/kernels/binary.hpp(1): warning C4819: File contains characters that cannot be represented in the previous generation (950). ??? File saved in Unicode to prevent data loss ninja: Build stopped: Subcommand failed. Found existing installation: mkl-static 2024.2.1 Uninstalling mkl-static-2024.2.1:

 

 

0 Kudos
3 Replies
StefR_Intel
Moderator
766 Views

Thank you for posting in the Intel community. Please note that I have moved your topic to the relevant forum.

 

Best regards,

Stef

0 Kudos
Vipin_S_Intel
Moderator
601 Views

Hi Jianbo, please check the minimum system requirements to install Intel® Extension for PyTorch which are as follows:

 

  • Intel® Arc™ A-Series GPUs
  • Intel® Core™ Ultra Processors with Intel® Arc™ Graphics (MTL-H)

 

Kindly check the link you have shared with us and also check the below link for more information on Intel® oneAPI Base Toolkit System Requirements:

 

Intel® oneAPI Base Toolkit System Requirements


0 Kudos
Vipin_S_Intel
Moderator
519 Views

Hi Jianbo, thank you for your response! We’re glad to hear that your previous issue has been resolved.


We would like to inform you that we are routing your recent query to the dedicated team for further assistance. If you have any additional questions regarding downloading and installation, please post a new query, as this thread will no longer be monitored by Intel®. 



0 Kudos
Reply