[BugFix][CI] Address review follow-ups from v0.24.0 rebase (#4709)
Addresses Gaohan123's post-approval review comments on #4709: - pipeline_dreamzero: restore platform-dispatched synchronize() instead of torch.cuda so DreamZero keeps working on non-CUDA hardware (regression of #4399 introduced during the rebase). - omni_scheduler_mixin: drop the VLLM_OMNI_INPUT_WAIT_TIMEOUT_S env-var override; the full-payload input-wait timeout is now a plain constant. - diffusion_worker: implement _DiffusionVllmModelConfig.is_diffusion by mirroring upstream ModelConfig.is_diffusion (dLLM canvas_length check) and document why omni DiT pipelines must not enable dLLM paths. - qwen3_tts: make _embedding_dtype a class attribute on the talker and prompt-embeds builder so __new__-based test stubs inherit it; remove the (duplicated) manual assignments from the preprocess test. - .buildkite: document why the rebase raised per-step timeouts (steps were killed by the old limits, masking real failures; e.g. CustomVoice passes in ~9-15 min but cold runs were killed at 20m). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
1 parent
f11b32a42e
commit
35a423c9bd
8 files changed
+40
-23
No files matched your search
@@ -302,6 +302,11 @@ class Qwen3TTSPromptEmbedsBuilder:
|
||||
artifacts. ``0`` disables the cache.
|
||||
"""
|
||||
|
||||
# The embedding path always runs in bf16 regardless of the configured
|
||||
# model dtype (mirrors ``Qwen3TTSTalkerForConditionalGeneration``).
|
||||
# Class attribute so test stubs built via ``__new__`` inherit it.
|
||||
_embedding_dtype = torch.bfloat16
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
*,
|
||||
@@ -329,7 +334,6 @@ class Qwen3TTSPromptEmbedsBuilder:
|
||||
self._tts_pad_embed_buffer = tts_pad_embed
|
||||
self._encode_ref_audio_batch_fn = encode_ref_audio_batch
|
||||
self._speaker_cache = speaker_cache
|
||||
self._embedding_dtype = torch.bfloat16
|
||||
|
||||
self._text_tokenizer: Any | None = None
|
||||
|
||||
|
||||
@@ -266,6 +266,11 @@ class Qwen3TTSTalkerForConditionalGeneration(nn.Module):
|
||||
"""vLLM-AR talker: step-wise layer-0 codec decoding.
|
||||
Predicts residual codebooks (1..Q-1) into `audio_codes` and streams text via `tailing_text_hidden`."""
|
||||
|
||||
# The embedding path always runs in bf16 regardless of the configured
|
||||
# model dtype (encoder weights are cast to bf16 in ``__init__``). Class
|
||||
# attribute so test stubs built via ``__new__`` inherit it.
|
||||
_embedding_dtype = torch.bfloat16
|
||||
|
||||
hf_to_vllm_mapper = WeightsMapper(
|
||||
orig_to_new_prefix={
|
||||
# Talker backbone (Qwen3 decoder-only).
|
||||
@@ -411,7 +416,6 @@ class Qwen3TTSTalkerForConditionalGeneration(nn.Module):
|
||||
torch.zeros(1, int(self.talker_config.hidden_size), dtype=model_dtype),
|
||||
persistent=False,
|
||||
)
|
||||
self._embedding_dtype = torch.bfloat16
|
||||
|
||||
tokenizer_config = Qwen3TTSTokenizerV2Config.from_pretrained(
|
||||
self.model_path,
|
||||
|
||||
Reference in new issue
Block a user