sysutils/py-threadpoolctl 3.6.0 OpenBSD
introspect/set max threads in native libraries like BLAS
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- sysutils, lang/python
Description
Python helpers to limit the number of threads used in the threadpool-backed of common native libraries used for scientific computing and data science (e.g. BLAS and OpenMP).
Fine control of the underlying thread-pool size can be useful in workloads that involve nested parallelism so as to mitigate oversubscription issues.
Install
Binary package:
pkg_add py3-threadpoolctl
From the ports tree:
cd /usr/ports/sysutils/py-threadpoolctl && make install