-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [WinError 193] %1 is not a valid win32 application. Error loading "...\intel-ext-pt-gpu.dll" or one of its dependencies. #710
Comments
Hi @0Pinky0 , thanks for reporting it, I follow the installation guide in my side on Arc and work properly. |
Processor: Intel® Core™ Ultra 7 155H Python platform: Windows-10-10.0.22631-SP0 I tried to create python 3.9 and 3.10 virtual envs and install ipex==2.3.110+xpu following the same process; In the python 3.10 environment I can properly import ipex and run throught sanity check, but in the python 3.9 environment I got the same error. |
I can confirm this issue happening with python 3.11 for MTL iGPU.
Python 3.10 works fine. |
I can also reproduce this issue with python 3.8 on MTL-H, will investigate more |
**Description:** IPEX 2.3.110+xpu for MTL doesn't work with python 3.11, downgrade to IPEX 2.1.40+xpu for MTL. **Related Issue:** intel/intel-extension-for-pytorch#710 **Checklist:** - [x] I have tested the changes locally. - [x] I have self-reviewed the code changes. - [ ] I have updated the documentation, if necessary.
I just noticed that there's a new distribution for Ultra Series 2 with Intel® Arc™ Graphics in official installation guide, and it did help me run through sanity check in Python 3.8: |
That was optimized for Intel® Core™ Ultra 2XX processor. Using it with Intel® Core™ Ultra 7 155H may be problematic: you may experience a long warmup (JIT compilation) time before inference starts. Sanity check doesn't expose this issue. |
This is indeed a big problem what I am facing #725 |
Hi @0Pinky0 could you please try to enable |
@0Pinky0 could you please verify if IPEX v2.3.110 hotfix patch resolves your issue? please refer to the installation guide: https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu&version=v2.3.110%2bxpu&os=windows&package=pip. For Intel® Arc™ A-Series Graphics, use the commands below:conda install libuv For Intel® Core™ Ultra Processors with Intel® Core™ Ultra Processors with Intel® Arc™ Graphics (MTL-H), use the commands below:conda install libuv For Intel® Core™ Ultra Series 2 with Intel® Arc™ Graphics, use the commands below:conda install libuv |
The issue is gone for me with 2.3.110 hotfix! Thank you!
|
Describe the bug
I installed ipex==2.3.110+xpu on Windows11 following official instructions, and got [WinError 193] when importing ipex.
The python 3.8 environment was created with Miniforge3-24.7.1;
OneApi was not installed since it was not mentioned in installation documents.
Versions
PyTorch version: 2.3.1+cxx11.abi
PyTorch CXX11 ABI: No
IPEX version: N/A
IPEX commit: N/A
Build type: N/A
OS: Microsoft Windows 11 家庭中文版
GCC version: N/A
Clang version: N/A
IGC version: N/A
CMake version: N/A
Libc version: N/A
Python version: 3.8.19 (default, Mar 20 2024, 19:55:45) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22631-SP0
Is XPU available: N/A
DPCPP runtime version: N/A
MKL version: N/A
GPU models and configuration:
N/A
Intel OpenCL ICD version: N/A
Level Zero version: N/A
CPU:
Architecture=9
CurrentClockSpeed=1400
DeviceID=CPU0
Family=774
L2CacheSize=18432
L2CacheSpeed=
Manufacturer=GenuineIntel
MaxClockSpeed=1400
Name=Intel(R) Core(TM) Ultra 7 155H
ProcessorType=3
Revision=
Versions of relevant libraries:
[pip3] intel_extension_for_pytorch==2.3.110+xpu
[pip3] numpy==1.24.4
[pip3] torch==2.3.1+cxx11.abi
[conda] intel-extension-for-pytorch 2.3.110+xpu pypi_0 pypi
[conda] mkl 2024.2.1 pypi_0 pypi
[conda] mkl-dpcpp 2024.2.1 pypi_0 pypi
[conda] numpy 1.24.4 pypi_0 pypi
[conda] onemkl-sycl-blas 2024.2.1 pypi_0 pypi
[conda] onemkl-sycl-datafitting 2024.2.1 pypi_0 pypi
[conda] onemkl-sycl-dft 2024.2.1 pypi_0 pypi
[conda] onemkl-sycl-lapack 2024.2.1 pypi_0 pypi
[conda] onemkl-sycl-rng 2024.2.1 pypi_0 pypi
[conda] onemkl-sycl-sparse 2024.2.1 pypi_0 pypi
[conda] onemkl-sycl-stats 2024.2.1 pypi_0 pypi
[conda] onemkl-sycl-vm 2024.2.1 pypi_0 pypi
[conda] torch 2.3.1+cxx11.abi pypi_0 pypi
The text was updated successfully, but these errors were encountered: