Add multilingual task loading to vLLM#1248
Merged
JoelNiklaus merged 1 commit intoMay 29, 2026
Merged
Conversation
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>
|
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. |
NathanHB
approved these changes
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
lighteval vllmcould not run multilingual tasks such aslexam_mcq_4_idk:enfrom 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-tasksor could not resolve the task at all.Root Cause
main_vllm.pydid not import the sharedload_tasks_multilingualCLI argument and did not pass that value intoPipelineParameters. As a result, the task registry was always initialized withload_multilingual=Falsefor vLLM runs.Solution
Add the shared
load_tasks_multilingualoption to the vLLM command and forward it toPipelineParameters, matching the behavior of theaccelerateandsglangbackends.Testing
Registry(tasks="lexam_mcq_4_idk:en|0", load_multilingual=True)resolves the LEXam task.lexam_mcq_4_idk:en|0withgoogle/gemma-4-E2B-itafter applying the cluster's cu129 vLLM upgrade recipe; the run completed end-to-end and saved results underresults/gemma4-lexam-mcq4-idk-en-smoke/.Made with Cursor