Conversation
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.
Adds an optional
rank_devices: {rank: device_index}key to deployment configs. A worker is one process per rank and ranknruns on devicenby default. The mapping lets two node groups run as separate workers on the same GPU:Why: a single worker loop alternates the steps of every node it hosts, so for a streaming TTS graph every codec window sits between two Talker steps.
What it does for Qwen3-TTS 1.7B on one H100 (numbers and the config in the model PR). On its own the split lowers first-audio p50 by 15-30% at c>=8 with throughput within a few percent of one worker, because without CUDA MPS two processes time-slice the GPU. Under a user-level MPS daemon (
nvidia-cuda-mps-control -dbeforemstar serve) the workers' kernels overlap and c=32 goes from 153 ms / 76 audio-s/s to 75 ms / 91 audio-s/s (70 ms / 100 audio-s/s with a bf16 codec). The split config caps the Talker KV pool at 1024 pages so both workers fit in memory.Three commits, one per file (
conductor.py,docs/serving.rst,test/modular/test_worker_device_map.py). Deployments without the key are unchanged. Fulltest/modularpasses.