Skip to content

Disable openblas multi-threading #548

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

Merged
merged 1 commit into from
May 2, 2025
Merged

Disable openblas multi-threading #548

merged 1 commit into from
May 2, 2025

Conversation

aaron-kaplan
Copy link
Collaborator

gunicorn uses fork in a way that's incompatible with openblas multi-threading, so we have to disable the latter.

The problem didn't show up in Vagrant because OPENBLAS_NUM_THREADS defaults to the number of CPUs, and the vagrant box has one CPU. It blew up when I deployed to production.

@aaron-kaplan aaron-kaplan requested a review from jturmelle May 2, 2025 20:25
@aaron-kaplan aaron-kaplan merged commit ad98e1f into master May 2, 2025
1 check passed
@aaron-kaplan aaron-kaplan deleted the gunicorn-take-2 branch May 2, 2025 20:26
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