You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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)
The text was updated successfully, but these errors were encountered: