Skip to content

Conversation

peddie
Copy link
Contributor

@peddie peddie commented Jan 24, 2025

Previously the clever GP cross-validation calculations could leverage BLAS / LAPACK parallelism, but iteration across held-out groups happened in a serial for-loop. This could lead to suboptimal performance in situations with many held-out groups to evaluate.

This commit plumbs thread pool support into the cross-validation and inverse covariance block calculation routines and uses the model's internal thread pool by default.

Previously the clever GP cross-validation calculations could leverage
BLAS / LAPACK parallelism, but iteration across held-out groups
happened in a serial for-loop.  This could lead to suboptimal
performance in situations with many held-out groups to evaluate.

This commit plumbs thread pool support into the cross-validation and
inverse covariance block calculation routines and uses the model's
internal thread pool by default.
@peddie peddie requested a review from akleeman January 24, 2025 03:54
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