Skip to content

fix: add ray as dependency of lm-eval[vllm]#3701

Open
Anai-Guo wants to merge 1 commit intoEleutherAI:mainfrom
Anai-Guo:fix-vllm-ray-dependency
Open

fix: add ray as dependency of lm-eval[vllm]#3701
Anai-Guo wants to merge 1 commit intoEleutherAI:mainfrom
Anai-Guo:fix-vllm-ray-dependency

Conversation

@Anai-Guo
Copy link
Copy Markdown

Problem

lm_eval/models/vllm_causallms.py imports ray at line 14, but ray is not listed in the vllm extras in pyproject.toml. This causes ImportError when using the vllm backend unless ray happens to be installed separately.

Fix

Add ray to the vllm optional dependency group in pyproject.toml.

Fixes #3688

vllm_causallms.py imports ray at line 14, but ray is not listed in
the vllm extras. This causes ImportError when using the vllm backend
unless ray happens to be installed separately.

Fixes EleutherAI#3688
@Anai-Guo Anai-Guo requested a review from 0xSMT as a code owner April 13, 2026 06:42
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 13, 2026

CLA assistant check
All committers have signed the CLA.

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.

ray missing as dependency of vllm backend

2 participants