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

Use num_threads for batch recommendations in MF models #562

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

benfred
Copy link
Owner

@benfred benfred commented Apr 12, 2022

For the MF models on the CPU, there didn't use to be a way to
control how many threads were used during batch .recommend calls.
Re-use the num_threads parameter for this, to allow using only
a limited number of threads for calculating batch recommendation
calls.

Closes #554

For the MF models on the CPU, there didn't use to be a way to
control how many threads were used during batch .recommend calls.
Re-use the num_threads parameter for this, to allow using only
a limited number of threads for calculating batch recommendation
calls.

Closes #554
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

recommend function in MatrixFactorizationBase cannot set num_thread in topk function
1 participant