Feat/sglang image vllm asr engines#5121
Open
OliverBryant wants to merge 3 commits into
Open
Conversation
…-dev Implement the SGLangImageModel stub with sglang-diffusion offline API (sglang.multimodal_gen.DiffGenerator) so text-to-image models can run on the SGLang engine on Linux with NVIDIA GPUs. Supported models: Qwen-Image, Qwen-Image-2512, Z-Image, Z-Image-Turbo and FLUX.1-dev, matching the sglang-diffusion compatibility matrix. Virtualenv specs install sglang[diffusion] when the SGLang engine is selected. Ref xorbitsai#4896 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Add an engine abstraction layer for audio models (mirroring the image module design): AUDIO_ENGINES registry, engine matching and virtualenv marker support. Families without registered engines keep the legacy hardcoded dispatch, so existing behavior is unchanged. Qwen3-ASR-0.6B/1.7B register two engines: the default transformers engine and, on Linux with NVIDIA GPUs, a vLLM engine backed by qwen_asr's Qwen3ASRModel.LLM which shares the same transcribe API. /v1/engines/audio/<model_name> now returns engine params for audio models. Ref xorbitsai#4896 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Show the engine dropdown in the launch drawer for audio models that support engine selection (e.g. Qwen3-ASR on transformers/vLLM). Audio models without registered engines keep the previous form, and launch history entries without a model_engine still apply for them. Ref xorbitsai#4896 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
Warning Gemini encountered an error creating the review. You can try again by commenting |
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.
#4896