-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnsatisfiedLinkError jniOpenCL on Mac M2 with onnxruntime-platform #1389
Comments
Please set the "org.bytedeco.javacpp.logger.debug" system property to "true" to get more information on the console. |
Are you trying to run this in native mode with an ARM version of the JDK? If so, binaries for that are not available, so that's normal. |
Hi @saudet thanks for your replies, yes I'm running that natively using ARM version of JDK. well that makes sense, thank you. |
Duplicate of #1069 |
I've added macosx-arm64 to the builds for ONNX Runtime. |
Sorry for taking a while to reply your message, I just got a hold of my mac m2, been using windows machine for a while. I've tested the SNAPSHOT version, and it worked. but for some reason, org.bytedeco.javacpp.Loader.Detector.getPlatform detected my machine as macosx-x86_64 instead of macosx-arm64. thanks! |
Issue
When trying to use the onnxruntime-platform on a Mac with an M2chip, I'm encountering an UnsatisfiedLinkError related to jniOpenCL.
using this import
.settings(libraryDependencies += "org.bytedeco" % "onnxruntime-platform" % "1.15.0-1.5.9")
To Reproduce
Steps to reproduce the behavior:
Environment
OS: macOS
Chip: M2
Java version: [e.g., 18.0.2]
Scala version: [e.g., 2.13.6]
ONNX Runtime version: 1.15.0-1.5.9
The text was updated successfully, but these errors were encountered: