cleverly.learners.set_thread_limit#

cleverly.learners.set_thread_limit(limit: int | None) → None[source]#

Set the native thread limit applied around each nuisance-model fit.

Parameters:
limitint or None

Threads per fit. 1 (the default) keeps each fit single-threaded so the parallelism happens across folds and candidates instead. None disables the limiting entirely and leaves each library’s own defaults in place.