Skip to content

Thread limit introspection, part 2: Empirical observation in CI#224

Open
itamarst wants to merge 9 commits into
joblib:masterfrom
itamarst:214-limit-semantics-introspection-api
Open

Thread limit introspection, part 2: Empirical observation in CI#224
itamarst wants to merge 9 commits into
joblib:masterfrom
itamarst:214-limit-semantics-introspection-api

Conversation

@itamarst

Copy link
Copy Markdown
Contributor

Fixes #214

In theory one could, say, distribute another package in PyPI/conda-forge of compiled OpenMP code so users can run this locally. Or I guess ... pick some part of e.g. scikit-learn that is unlikely to change but that seems brittle too. So this could be better, and maybe sometime it's worth doing that.

But at least it should run in CI and give us useful info, so it's a good first step.

@itamarst

Copy link
Copy Markdown
Contributor Author

Looks like occasionally the output is "not sure", but mostly gets everything right.

@itamarst itamarst marked this pull request as ready for review July 13, 2026 18:53
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.

API to introspect semantic meaning of setting a thread pool limit

1 participant