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
DJL native support can not be finished without changes in DJL library. Djl library heavily depends on JNA (mostly models). Full support for JNA is not available or planned (see oracle/graal#673 or oracle/graal#1701)
Here is a stack trace with error caused by JNA from model.
java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J [symbol: Java_com_sun_jna_Native_malloc or Java_com_sun_jna_Native_malloc__J]
at com.oracle.svm.jni.access.JNINativeLinkage.getOrFindEntryPoint(JNINativeLinkage.java:145)
at com.oracle.svm.jni.JNIGeneratedMethodSupport.nativeCallAddress(JNIGeneratedMethodSupport.java:57)
at com.sun.jna.Native.malloc(Native.java)
at com.sun.jna.Memory.malloc(Memory.java:722)
at com.sun.jna.Memory.(Memory.java:114)
at com.sun.jna.ptr.ByReference.(ByReference.java:42)
at com.sun.jna.ptr.PointerByReference.(PointerByReference.java:40)
at com.sun.jna.ptr.PointerByReference.(PointerByReference.java:36)
at ai.djl.mxnet.jna.JnaUtils.createSymbolFromFile(JnaUtils.java:1062)
No description provided.
The text was updated successfully, but these errors were encountered: