Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Increase the number of threads when importing everything.
Importing all of numpy loads OpenBlas which spawns many worker threads behind the scenes. We need to increase the number of threads that are allowed when importing "lots of crap". The other option would be to limit the number of threads that OpenBLAS uses by setting the `OPENBLASH_NUM_THREADS` environment variable: ``` import os os.environ['OPENBLAS_NUM_THREADS'] = '1' ```
- Loading branch information