Description
Describe the issue
When i import intel_extension_for_pytorch,I got this message:
C:\Users\hwbox\PycharmProjects\BERT-BiLSTM-CRF.venv\Scripts\python.exe C:\Users\hwbox\PycharmProjects\BERT-BiLSTM-CRF\test000.py
Traceback (most recent call last):
File "C:\Users\hwbox\PycharmProjects\BERT-BiLSTM-CRF\test000.py", line 2, in
import intel_extension_for_pytorch as ipex
File "C:\Users\hwbox\PycharmProjects\BERT-BiLSTM-CRF.venv\Lib\site-packages\intel_extension_for_pytorch_init_.py", line 118, in
raise err
OSError: [WinError 126] 找不到指定的模块。 Error loading "C:\Users\hwbox\PycharmProjects\BERT-BiLSTM-CRF.venv\Lib\site-packages\intel_extension_for_pytorch\bin\intel-ext-pt-gpu-bitsandbytes.dll" or one of its dependencies.
run collect_env.py,I got this:
Collecting environment information...
PyTorch version: 2.7.0+cu128
PyTorch CXX11 ABI: No
IPEX version: N/A
IPEX commit: N/A
Build type: N/A
OS: Microsoft Windows 11 Professional (10.0.26100 64 位)
GCC version: N/A
Clang version: N/A
IGC version: N/A
CMake version: N/A
Libc version: N/A
Python version: 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-11-10.0.26100-SP0
Is XPU available: N/A
DPCPP runtime: N/A
MKL version: N/A
GPU models and configuration onboard:
- Intel(R) Arc(TM) 140T GPU (16GB)
GPU models and configuration detected:
N/A
Driver version:
- 32.0.101.6795 (20250520000000.***+)
CPU:
Description: Intel64 Family 6 Model 197 Stepping 2
Manufacturer: GenuineIntel
Name: Intel(R) Core(TM) Ultra 7 255H
NumberOfCores: 16
NumberOfEnabledCore: 16
NumberOfLogicalProcessors: 16
ThreadCount: 16
Versions of relevant libraries:
[pip] dpcpp-cpp-rt==2025.0.5
[pip] intel-cmplr-lib-rt==2025.0.5
[pip] intel-cmplr-lib-ur==2025.0.5
[pip] intel-cmplr-lic-rt==2025.0.5
[pip] intel_extension_for_pytorch==2.7.10+xpu
[pip] intel-opencl-rt==2025.0.5
[pip] intel-openmp==2025.0.5
[pip] intel-sycl-rt==2025.0.5
[pip] mkl==2025.0.1
[pip] mkl-dpcpp==2025.0.1
[pip] numpy==1.26.4
[pip] onemkl-sycl-blas==2025.0.1
[pip] onemkl-sycl-datafitting==2025.0.1
[pip] onemkl-sycl-dft==2025.0.1
[pip] onemkl-sycl-lapack==2025.0.1
[pip] onemkl-sycl-rng==2025.0.1
[pip] onemkl-sycl-sparse==2025.0.1
[pip] onemkl-sycl-stats==2025.0.1
[pip] onemkl-sycl-vm==2025.0.1
[pip] pytorch-crf==0.7.2
[pip] torch==2.7.0+cu128
[pip] torchaudio==2.7.0+cu128
[pip] torchvision==0.22.0+cu128
[pip] transformers==4.52.2
I have already installed:
Microsoft Visual C++ 2015-2022 Redistributable(X86)-14.44.35112
Microsoft Visual C++ 2015-2022 Redistributable(X64)-14.44.35112
NVIDIA DUDA
intel oneAPI
What should I do next?