Skip to content

Support multi-node evaluation with vLLM #46

Description

@marianna13

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions