Repository navigation
Conversation
vLLM removed the --task engine argument in v0.13.0. The tutorial installs
the latest vLLM (pip install vllm[audio]), so its serve command now exits
with:
vllm: error: unrecognized arguments: --task transcription
The flag is no longer needed: vLLM picks the transcription task from the
Whisper architecture and serves /v1/audio/transcriptions without it.
Pass the model as the positional argument and drop the flag.
Signed-off-by: YoungjuKim <fjvbn2003@gmail.com>
fjvbn2003
requested review from
ApostaC,
YuhanLiu11 and
ruizhang0101
as code owners
October 16, 2026 16:00
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the Whisper API transcription tutorial by removing the --task transcription argument from the vllm serve command, simplifying the backend startup command. There are no review comments, and I have no feedback to provide.
This branch has not been deployed
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.
tutorials/23-whisper-api-transcription.mdstarts the backend with:vLLM deprecated
--taskand removed it in v0.13.0 (it is still invllm/engine/arg_utils.pyat v0.12.0 and gone at v0.13.0). The tutorial installs the latest vLLM (pip install vllm[audio]), so this command now fails before the server starts:The flag is not needed any more. vLLM picks the transcription task from the Whisper architecture. This PR passes the model as the positional argument and drops
--task:How I checked (vLLM v0.31.0, the current release,
vllm/vllm-openaiimage, single 8 GB consumer GPU)--task transcription,vllm serveexits with status 2 and prints the error above.WhisperForConditionalGeneration(same architecture asopenai/whisper-small,--load-format dummy, built offline). The server logsSupported tasks: ['transcription'], andPOST /v1/audio/transcriptionswith a 1 s WAV returns HTTP 200. The text is garbage because the weights are random.I did not run the router part of the tutorial; this PR changes only the backend command.
I have not run
pre-commitlocally for this small doc change; I will fix anything CI flags.-swhen doinggit commit[Bugfix],[Feat], and[CI].This change was drafted with AI assistance and reviewed by me.
🤖 Generated with Claude Code