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

feat: [LAS] use thread pool in LAS one_pass implementation #4141

Merged
merged 3 commits into from
Sep 2, 2022

Conversation

olgavrou
Copy link
Collaborator

@olgavrou olgavrou commented Sep 2, 2022

No description provided.

@olgavrou olgavrou changed the title Las w thread pool feat: [LAS] use thread pool in LAS one_pass implementation Sep 2, 2022
row_index++;
}

for (auto& ft : _futures) { ft.get(); }
Copy link
Collaborator Author

@olgavrou olgavrou Sep 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

calculate_aomega_row could throw so we could wrap ft.get() in a try/catch and rethrow here (not sure how we would recover if we did not want to rethrow)

@olgavrou olgavrou merged commit a725147 into VowpalWabbit:master Sep 2, 2022
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.

3 participants