Skip to content

Add workaround for segfault in MacOS tests#1184

Merged
adriangonz merged 2 commits into
SeldonIO:masterfrom
adriangonz:fix-libomp-macos
Jun 1, 2023
Merged

Add workaround for segfault in MacOS tests#1184
adriangonz merged 2 commits into
SeldonIO:masterfrom
adriangonz:fix-libomp-macos

Conversation

@adriangonz

Copy link
Copy Markdown
Contributor

Recent versions of OpenMP (i.e. >= 12) cause segfaults in MacOS when training LightGBM / XGBoost models (but only when Torch is present). This PR downgrades OpenMP to an older version (i.e. == 11).

See lightgbm-org/LightGBM#4229 and autogluon/autogluon#1442 for more details.

@adriangonz

Copy link
Copy Markdown
Contributor Author

The only failure in all-runtimes is due to a flaky test in the MacOS setup - not related to this PR.

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.

1 participant