[Bugfix] Segmentation fault for darts[all] on macOS arm64#3050
Conversation
Co-authored-by: Zhihao Dai <zhihao.dai@eng.ox.ac.uk>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3050 +/- ##
==========================================
- Coverage 95.75% 95.69% -0.07%
==========================================
Files 158 158
Lines 17229 17229
==========================================
- Hits 16498 16487 -11
- Misses 731 742 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks @daidahao. I'm not sure how quickly (I would assume it's LightGBM) resolves this issue. For me (also mac user), setting the env variable to the brew installed libomp resolved this issue: |
|
Thank you for the suggestion and I can confirm it fixes the problem for me! Would it be helpful to include it in |
Checklist before merging this PR:
Fixes #.
Summary
torch (latest, 2.11) bundled libomp is not compatible with lightgbm (latest, 4.6.0) on macOS arm64, causing segmentation faults:
Related Issue:
Until it is fixed on either side, I suggest capping the torch version to 2.10.
Other Information