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

Suppress OpenMP error on double OpenMP initialisation #118

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

RUrlus
Copy link
Collaborator

@RUrlus RUrlus commented Aug 29, 2024

This PR implements the same strategy as used by scikit-learn to suppress the error (segfault) when OpenMP get loaded twice. This can happen when two or more packages vendor their own OpenMP library like we do.
Scikit-learn maintainers mentioned that they didn't face any issues

Current usage of both this library with Torch triggers a segfault

@mbaak mbaak self-requested a review September 3, 2024 14:56
@RUrlus RUrlus merged commit af6abe9 into ing-bank:master Sep 3, 2024
33 checks passed
@RUrlus RUrlus deleted the openmp_warnig branch September 3, 2024 15:01
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