[Bugfix] Do not assume a stream decoder in MRv2 eager-MTP preprocess (#8484)
Signed-off-by: Sy03 <1370724210@qq.com>
This commit is contained in:
2 files changed
+8
-2
No files matched your search
@@ -760,7 +760,8 @@ class OmniModelState(DefaultModelState):
|
||||
n_tok = int(input_batch.num_scheduled_tokens[i])
|
||||
if (
|
||||
self._eager_mtp
|
||||
and self.model.stream_decoder is not None
|
||||
# Only the Qwen3-TTS Talker has an in-Talker streaming codec.
|
||||
and getattr(self.model, "stream_decoder", None) is not None
|
||||
and self._eager_state.replay_inputs(
|
||||
buf["req_id"],
|
||||
req_idx,
|
||||
|
||||
Reference in new issue
Block a user