Add EasyMagpie vLLM-Omni serving#15931
Open
vklimkov-nvidia wants to merge 2 commits into
Open
Conversation
vklimkov-nvidia
force-pushed
the
codex/migrate-easymagpie-vllm-omni
branch
from
July 21, 2026 12:23
376d038 to
df4f340
Compare
Signed-off-by: Viacheslav Klimkov <vklimkov@nvidia.com>
vklimkov-nvidia
force-pushed
the
codex/migrate-easymagpie-vllm-omni
branch
from
July 21, 2026 12:24
df4f340 to
8f85db5
Compare
Signed-off-by: Viacheslav Klimkov <vklimkov@nvidia.com>
vklimkov-nvidia
marked this pull request as ready for review
July 21, 2026 12:46
blisc
self-requested a review
July 21, 2026 15:01
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.
Summary
POST /v1/audio/speech, and incremental text/audio streaming throughWS /v1/audio/speech/stream.Why
EasyMagpie generates stacked acoustic codes autoregressively and then decodes them into audio. Running both stages in vLLM-Omni provides batched, high-throughput inference while retaining progressive audio output for streaming and voice-agent use cases.
The conversion tool turns the training-time EasyMagpie and causal codec
.nemocheckpoints into a self-contained model directory. It converts the model weights, precomputes the text-embedding lookup, bundles the native codec, saves the tokenizer, and optionally stores speaker embeddings. After conversion, serving requires vLLM/vLLM-Omni and this plugin package, but does not require NeMo at runtime.The native codec keeps its causal history in vLLM-managed state pages, allowing each invocation to process only newly generated acoustic frames and emit asynchronous PCM chunks without replaying the full context.
Validation
pytest -q examples/tts/easymagpie_vllm_omni/tests: 70 passed, 1 skipped.add_special_tokens,NemotronHConfig,ModelLoadConfig, andload_easy_magpie_modelresolve from the Speech checkout.