-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
published maven jars don't support Apple Silicon (ARM) Macs (arm64e) because of missing dynamic library #5035
Comments
@xelax Hey, sorry about the problem you are having! Next time please add a reference to the preceding context of the issue. microsoft/SynapseML#1405 |
ok, sorry about that. I though that it was not essential for the report. I will put a cross reference in that bug report as well pointing to this one. |
We have no communication channels with SynapseML maintainers other than public conversations on GitHub, so it's really important to use cross references with the aim to "connect" us because we are not maintaining |
Hey @StrikerRUS, i suggested that @xelax raise this issue because it seems like it will require a change to the actual jar that lightGBM publishes. In particular one needs to add native libraries for MacOSX in the lightGBM jar creation side. Do you know how he can get started with trying to make that change? |
@StrikerRUS I think @mhamilton723 is correct, we publish the jar with linux/macos/windows native files built by lightgbm repository. However, I'm not sure how to resolve this issue. I see a similar issue here: |
Hey guys @mhamilton723, @imatiach-msft 🙋♂️
Unfortunately, not.
As of best of my knowledge, there is no any free CI service that suggests ARM64 macOS right now. So we cannot simply add new CI job. Probably, cross-compilation is a workaround. But I don't know much about it and unfortunately don't have enough time to get familiar with it right now. Also, I heard cross compilation for ARM64 macOS has its own challenges. Some potentially useful links if one has interest to start digging: |
You can simply download nightly builds. They have files you need. |
"As of best of my knowledge, there is no any free CI service that suggests ARM64 macOS right now. So we cannot simply add new CI job." |
The thing is that this architecture is getting more and more popular. New Macs will be released exclusively with Apple M chips. The main problem is that no one of maintainers here has new Mac, so we cannot even check some basic workarounds (see for example this thread #4843). |
support for M1 macs in github actions might be coming soon: https://github.com/actions/runner/blob/main/docs/start/envosx.md |
That will be truly amazing! However, that doc hasn't been updated since 15 Sep 2021 and the PR they are referring to as a blocker was merged 10 Jun 2021. |
In addition, to be clear, "support for M1 macs in github actions" runner doesn't mean free GitHub Actions hosted runner on M1 Mac. |
Some thoughts about cross-compilation from more experienced person than me.
|
Any updates on this? My team is interested in testing SynapseML in an EMR Cluster composed of Graviton2 nodes. |
Thanks for using LightGBM. If you're saying you have access to an environment with an arm64e architecture and are willing to work on proposing fixes to allow compiling LightGBM in such environments, we'd welcome the help! Otherwise, click "subscribe" on this issue to be notified of updates. |
Description
Running lightgbm on a Mac with apple silicon (M1 chip, aarch64 architecture) fails because of missing native library for the architecture:
I think the fix should be as simple as adding the appropriate library inside lightgbmlib-3.2.110.jar.
The text was updated successfully, but these errors were encountered: