Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel calculation support in groupwise cross validation #501

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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