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
Currently pytorch models using torchtext modules cannot be loaded with DJL pytorch engine
I tried loading the _torchtext.so from python site packages in DJL with "PYTORCH_EXTRA_LIBRARY_PATH", but it doesn't seem to work either
Caused by: ai.djl.engine.EngineException: Failed to load PyTorch native library
Caused by: java.lang.UnsatisfiedLinkError: /usr/local/lib/python3.8/dist-packages/torchtext/_torchtext.so: libtorch_python.so: cannot open shared object file: No such file or directory
It looks like the _torchtext.so built for python is not compatible with DJL.
It would be great if DJL provides it as part of its pytorch native library distribution
The text was updated successfully, but these errors were encountered:
Description
Currently pytorch models using torchtext modules cannot be loaded with DJL pytorch engine
I tried loading the
_torchtext.so
from python site packages in DJL with "PYTORCH_EXTRA_LIBRARY_PATH", but it doesn't seem to work eitherIt looks like the
_torchtext.so
built for python is not compatible with DJL.It would be great if DJL provides it as part of its pytorch native library distribution
The text was updated successfully, but these errors were encountered: