Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Don't run so many OpenBlas threads.
Importing all of numpy loads OpenBlas which spawns many worker threads behind the scenes. Increasing the number of threads didn't seem to work. I got up to 30 before deciding that it would be better for the test to just limit the number of OpenBLAS threads. The addition of the following code seems to resolve the issue: ``` import os os.environ['OPENBLAS_NUM_THREADS'] = '1' ``` Reference: https://stackoverflow.com/questions/52026652/openblas-blas-thread-init-pthread-create-resource-temporarily-unavailable
- Loading branch information