Description
Describe the bug
OSError: [WinError 126] 找不到指定的模块。 Error loading "E:\programs\python\Python312\Lib\site-packages\intel_extension_for_pytorch\bin\intel-ext-pt-gpu.dll" or one of its dependencies.
Versions
Traceback (most recent call last):
File "E:\programs\python\Python312\Lib\site-packages\torch_init_.py", line 2756, in import_device_backends
entrypoint = backend_extension.load()
^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\programs\python\Python312\Lib\importlib\metadata_init.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\programs\python\Python312\Lib\importlib_init_.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "E:\programs\python\Python312\Lib\site-packages\intel_extension_for_pytorch_init.py", line 124, in
raise err
OSError: [WinError 126] 找不到指定的模块。 Error loading "E:\programs\python\Python312\Lib\site-packages\intel_extension_for_pytorch\bin\intel-ext-pt-gpu.dll" or one of its dependencies.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "E:\programs\python\Python312\Lib\site-packages\torch_init_.py", line 2784, in
import_device_backends()
File "E:\programs\python\Python312\Lib\site-packages\torch_init.py", line 2760, in _import_device_backends
raise RuntimeError(
RuntimeError: Failed to load the backend extension: intel_extension_for_pytorch. You can disable extension auto-loading with TORCH_DEVICE_BACKEND_AUTOLOAD=0.