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

Choosing a default backend depending on the system architecture #21

Open
vruusmann opened this issue Jan 18, 2024 · 0 comments
Open

Choosing a default backend depending on the system architecture #21

vruusmann opened this issue Jan 18, 2024 · 0 comments

Comments

@vruusmann
Copy link
Member

The default backend is JPype, which implements Python-to-Java intercommunication using JNI. The latter requires native library support to work.

The one architecture/platform where this default fails is Mac ARM (Mac M1, M2).

For example, see here:
jpmml/sklearn2pmml#407 (comment)

The solution would be to perform some architecture auto-detection, and fall back to the most universal (but the least performant) Py4J backend.

I don't have access to Mac ARM to see the exact error (type, message and the full stack trace). Would appreciate if anybody would share this information with me.

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

No branches or pull requests

1 participant