Skip to content

Choosing a default backend depending on the system architecture #21

Open
@vruusmann

Description

@vruusmann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions