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

something is wrong with hard neg mine #779

Open
QuangTQV opened this issue May 13, 2024 · 2 comments
Open

something is wrong with hard neg mine #779

QuangTQV opened this issue May 13, 2024 · 2 comments

Comments

@QuangTQV
Copy link

I tried hard neg mining, but when running on 2 different gpu's (namely t4 and a100), t4 only took a few seconds while a100 took 20 minutes, and their hard neg results were also completely different.

@staoxiao
Copy link
Collaborator

I think this error is caused by faiss. You can use faiss on CPU instead of GPU

@QuangTQV
Copy link
Author

I think this error is caused by faiss. You can use faiss on CPU instead of GPU

My data has 7000 queries and 17 keys, how long should it take to mine hard negatives (because I still don't know if running in 10s or running in 20 minutes is wrong)

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

No branches or pull requests

2 participants