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

Support Multi-node evaluation #155

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

NouamaneTazi
Copy link
Contributor

@NouamaneTazi NouamaneTazi commented Aug 12, 2023

You can try this PR using:

torchrun --nproc_per_node=2 examples/retrieval/evaluation/dense/evaluate_sbert_multi_gpu.py

Using e5-large model I got

  • MSMARCO (8.84M documents) took 1h03min to encode (on 16 GPUs) -> evaluation took 1h04min
  • NQ (2.68M documents) took 22min to encode (on 16 GPUs) -> evaluation took 25min

cc @thakur-nandan

Fixes #134

@NouamaneTazi NouamaneTazi marked this pull request as ready for review August 12, 2023 23:55
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.

evaluate_sbert_multi_gpu - metrics.compute() unable to read cache file
1 participant