Threadpoolctl

Latest version: v3.5.0

Safety actively analyzes 679296 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

2.2.0

==================

- `threadpoolctl.threadpool_info()` now reports the architecture of the CPU
cores detected by OpenBLAS (via `openblas_get_corename`) and BLIS (via
`bli_arch_query_id` and `bli_arch_string`).

- Fixed a bug when the version of MKL was not found. The
"version" field is now set to None in that case.
https://github.com/joblib/threadpoolctl/pull/82

2.1.0

==================

- New commandline interface:

python -m threadpoolctl -i numpy

will try to import the `numpy` package and then return the output of
`threadpoolctl.threadpool_info()` on STDOUT formatted using the JSON
syntax. This makes it easier to quickly introspect a Python environment.

2.0.0

==================

- Expose MKL, BLIS and OpenBLAS threading layer in information displayed by
`threadpool_info`. This information is referenced in the `threading_layer`
field.
https://github.com/joblib/threadpoolctl/pull/48
https://github.com/joblib/threadpoolctl/pull/60

- When threadpoolctl finds libomp (LLVM OpenMP) and libiomp (Intel OpenMP)
both loaded, a warning is raised to recall that using threadpoolctl with
this mix of OpenMP libraries may cause crashes or deadlocks.
https://github.com/joblib/threadpoolctl/pull/49

1.1.0

==================

- Detect libraries referenced by symlinks (e.g. BLAS libraries from
conda-forge).
https://github.com/joblib/threadpoolctl/pull/34

- Add support for BLIS.
https://github.com/joblib/threadpoolctl/pull/23

- Breaking change: method `get_original_num_threads` on the `threadpool_limits`
context manager to cheaply access the initial state of the runtime:
- drop the `user_api` parameter;
- instead return a dict `{user_api: num_threads}`;
- fixed a bug when the limit parameter of `threadpool_limits` was set to
`None`.

https://github.com/joblib/threadpoolctl/pull/32

1.0.0

==================

Initial release.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.