AI: Unable to chat. And error occured while building the embedding model. Failed to load PyTorch native library. #12169
Labels
component: ai
Related to AI Chat/Summarization
[outdated] type: bug
Confirmed bugs or reports that are very likely to be bugs
status: has-workaround
Bugs where a workaround exist
JabRef commit ed0e90e
I am on Windows 10 with an Nvidia Geforce GTX 1060 3GB and an AMD Ryzen 5 5600 that supports AVX and AVX2.
Error message:
This was a Windows issue.
I did install the newest Visual C++ redistributable from Microsoft and restarted and I also deleted the
.djl.ai
folder in my home directory, as adviced. Both of which did not solve the issue.I then used Dependency Walker on torch_cuda.dll. It found that lots of dependencies were not satisfied, but dependency walker is a little outdated. See https://stackoverflow.com/a/36244483/873282. One should use https://github.com/lhak/Dependencies IMHO.
Funny enough, this is a regression introduced by commit c280eb7 (#11773). That one upgrades ai.djl:pytorch:pytorch-model-zoo from 0.29 to 0.30, which comes with different pytorch cuda dlls. Version 0.29.0 still works. Version 0.30.0 does not.
JabRef documenation:
DJL Documentation:
DJL related issues:
The text was updated successfully, but these errors were encountered: