Skip to content

Add multilingual task loading to vLLM#1248

Merged
JoelNiklaus merged 1 commit into
huggingface:mainfrom
JoelNiklaus:add-vllm-multilingual-loading
May 29, 2026
Merged

Add multilingual task loading to vLLM#1248
JoelNiklaus merged 1 commit into
huggingface:mainfrom
JoelNiklaus:add-vllm-multilingual-loading

Conversation

@JoelNiklaus
Copy link
Copy Markdown
Collaborator

Problem

lighteval vllm could not run multilingual tasks such as lexam_mcq_4_idk:en from the built-in multilingual registry. Other backends already expose --load-tasks-multilingual, but the vLLM entrypoint did not, so users had to fall back to --custom-tasks or could not resolve the task at all.

Root Cause

main_vllm.py did not import the shared load_tasks_multilingual CLI argument and did not pass that value into PipelineParameters. As a result, the task registry was always initialized with load_multilingual=False for vLLM runs.

Solution

Add the shared load_tasks_multilingual option to the vLLM command and forward it to PipelineParameters, matching the behavior of the accelerate and sglang backends.

Testing

  • Verified that Registry(tasks="lexam_mcq_4_idk:en|0", load_multilingual=True) resolves the LEXam task.
  • Ran a one-sample vLLM smoke test for lexam_mcq_4_idk:en|0 with google/gemma-4-E2B-it after applying the cluster's cu129 vLLM upgrade recipe; the run completed end-to-end and saved results under results/gemma4-lexam-mcq4-idk-en-smoke/.

Made with Cursor

Expose the shared multilingual task-loading flag on the vLLM entrypoint and pass it through to PipelineParameters so vLLM can run built-in multilingual tasks.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JoelNiklaus JoelNiklaus requested a review from NathanHB May 29, 2026 13:37
@bot-ci-comment
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@JoelNiklaus JoelNiklaus merged commit 4d47029 into huggingface:main May 29, 2026
4 checks passed
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.

2 participants