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 with vLLM #46

Open
marianna13 opened this issue Dec 28, 2024 · 0 comments
Open

Support multi-node evaluation with vLLM #46

marianna13 opened this issue Dec 28, 2024 · 0 comments

Comments

@marianna13
Copy link

Problem description:

  • Currently evalchemy supports only multi-gpu (and not multi-node): data-parallel, based on accelerate and tensor-parallel, based on HF transformers evaluation. These 2 options are mutually exclusive. There's already a PR that expands on the accelerate approach to support multi-node setup. This approach seems to work fine with small models.
  • However, for larger models the approach that uses accelerate is not feasible.

Proposed solution:

  • Support vLLM backend (based on Ray) like lm-eval-harness.
  • vLLM supports highly optimized multi-node inference and both data- and tensor-parallelism.
  • In principle, vLLM should give 2 advantages: 1) faster evaluations than HF, especially with batched inference and 2) support for bigger models that do not fit on one GPU.
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

1 participant