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

Avoid storing full distance matrix during validation #506

Closed
AlekseySh opened this issue Feb 20, 2024 · 1 comment
Closed

Avoid storing full distance matrix during validation #506

AlekseySh opened this issue Feb 20, 2024 · 1 comment
Assignees

Comments

@AlekseySh
Copy link
Contributor

AlekseySh commented Feb 20, 2024

We don't really need to store full QxG matrix due to its weight.

We can compute matmul + top_k in a batchwise rejime and then clip the second dimension, so the resulted matrix is QxC, where C >> k (where k is from map@k, precision@k, recall@k)

@AlekseySh
Copy link
Contributor Author

now it's a part of: #522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant