Skip to content
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

ONNX for Mac M1 Silicon #1336

Closed
OuYubin opened this issue Mar 16, 2023 · 7 comments
Closed

ONNX for Mac M1 Silicon #1336

OuYubin opened this issue Mar 16, 2023 · 7 comments

Comments

@OuYubin
Copy link

OuYubin commented Mar 16, 2023

I am an IDE plug-in developer and have tried to build the corresponding graph editor through the ONNX API,
ONNX4IDEA

But I found that it does not work under Mac M1 Silicon,

Plugin 'cn.shanghai.oyb.onnx' failed to initialize and will be disabled. Please restart IntelliJ IDEA.
java.lang.UnsatisfiedLinkError: no jnionnx in java.library.path: [/Users/ouyubin/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]

Can provide a wrapper for the corresponding library? Thank you。

@saudet
Copy link
Member

saudet commented Mar 16, 2023

Sure! Contributions are welcome. However, I think we can more simply use the protobuf file itself.
@EmergentOrder What do you think?

@saudet
Copy link
Member

saudet commented Mar 16, 2023

Duplicate of #1069

@saudet saudet marked this as a duplicate of #1069 Mar 16, 2023
@OuYubin
Copy link
Author

OuYubin commented Mar 16, 2023

Sure! Contributions are welcome. However, I think we can more simply use the protobuf file itself. @EmergentOrder What do you think?
Well, I tried to do the assignment directly through protobuf object reflection mechanism and serialize it, but many people thought it was unreliable, such as things like changing the opset version to define an op differently in different opsets and having to express it in another way. So... Calling the native implementation directly is more reassuring. 😄

@saudet
Copy link
Member

saudet commented Mar 16, 2023

I see, if you have any questions about builds for macosx-arm64, please ask over at issue #1069.

@saudet saudet closed this as completed Mar 16, 2023
@OuYubin
Copy link
Author

OuYubin commented Mar 16, 2023

I see, if you have any questions about builds for macosx-arm64, please ask over at issue #1069.

Oh,You're going to update the packaging script or whatever, and we are going to download it in the repo eventually, right?

@saudet
Copy link
Member

saudet commented Mar 16, 2023

I don't plan on doing it myself no.

@OuYubin
Copy link
Author

OuYubin commented Mar 16, 2023

I don't plan on doing it myself no.

understand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants