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

fix lighgbm segmentation fault #2304

Merged
merged 3 commits into from
Apr 8, 2024
Merged

Conversation

dennisbader
Copy link
Collaborator

@dennisbader dennisbader commented Apr 8, 2024

Checklist before merging this PR:

  • Mentioned all issues that this PR fixes or addresses.
  • Summarized the updates of this PR under Summary.
  • Added an entry under Unreleased in the Changelog.

Fixes a segmentation fault when important LightGBMModel.

Summary

  • Some Mac users faced segmentation faults when importing LightGBMModel. For some reason importing lightgbm at the wrong place (relative to other dependency imports) can cause this segmentation fault. A fix for this was to import lightgbm at the top in the module/script where the model was used.

@dennisbader dennisbader requested a review from madtoinou as a code owner April 8, 2024 10:01
@dennisbader dennisbader changed the title fix lighgbm segmentation fualt fix lighgbm segmentation fault Apr 8, 2024
@dennisbader dennisbader merged commit 49c3a1d into master Apr 8, 2024
7 of 9 checks passed
@dennisbader dennisbader deleted the fix/lgbm_segmentation_fault branch April 8, 2024 11:49
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

Successfully merging this pull request may close these issues.

2 participants