Open
Description
Describe the issue
Traceback (most recent call last):
File "C:.pytemp\ipex\app.py", line 1, in
import torch
File "C:.pytemp\ipex.env\lib\site-packages\torch_init_.py", line 262, in
load_dll_libraries()
File "C:.pytemp\ipex.env\lib\site-packages\torch_init.py", line 258, in _load_dll_libraries
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:.pytemp\ipex.env\lib\site-packages\torch\lib\aoti_custom_ops.dll" or one of its dependencies.
===========================
Code :
import torch
import intel_extension_for_pytorch as ipex
model = torch.nn.Linear(10, 10)
model = ipex.optimize(model)
input_data = torch.randn(1, 10)
output = model(input_data)
print(output)
Activity
huiyan2021 commentedon Feb 20, 2025
Hi @samabogbog , as we described in the installation guide, on Windows, libuv needs to be installed, could you try in conda environment? Thanks!
opolette commentedon Mar 3, 2025
Same issue here. Libuv installed. Error loading "[...]aoti_custom_ops.dll" or one of its dependencies.
kangxiatao commentedon Mar 5, 2025
I have encountered the same problem and I am looking forward to its resolution.😲
Intel(R) Core(TM) Ultra 7 255H
huiyan2021 commentedon Mar 18, 2025
@kangxiatao Could you try the latest version for Intel(R) Core(TM) Ultra 7 255H in a clean conda environment?
kangxiatao commentedon Mar 21, 2025
Thank you, it can now be used normally @huiyan2021
NoteMate-EX-CEO commentedon Mar 31, 2025
can someone help me also please
NoteMate-EX-CEO commentedon Mar 31, 2025
i have a ultra 7 155H, i did all i could a video explaining how to do it would be nice