Skip to content

Recognize ROCm host OpenBLAS libraries - #311

Open
cccat6 wants to merge 2 commits into
joblib:masterfrom
cccat6:codex/fix-rocm-openblas-prefix
Open

cccat6 wants to merge 2 commits into
joblib:masterfrom
cccat6:codex/fix-rocm-openblas-prefix

Conversation

@cccat6

@cccat6 cccat6 commented Nov 30, 2026

Copy link
Copy Markdown

I found that threadpoolctl was missing the host OpenBLAS library loaded by
PyTorch in my ROCm environment. threadpool_info() did not list it, and
threadpool_limits() could not control its thread count. I need it to be
recognized so I can manage its threads alongside the other BLAS libraries.

ROCm names these libraries librocm-openblas.so.0 and librocm-openblas64.so.0.
Those filenames do not match the prefixes currently recognized by
OpenBLASController, even though the existing controller can handle them.

Add "librocm-openblas" to OpenBLASController.filename_prefixes and reuse the
existing detection and thread-limit handling.

This branch has not been deployed

No deployments
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