[Model] Add Ming-omni-tts MoE 16.8B-A3B + CFM CUDAGraph (#4341)
Signed-off-by: LHXuuu <xulianhao.xlh@antgroup.com> Signed-off-by: Yuanheng Zhao <jonathan.zhaoyh@gmail.com> Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com> Co-authored-by: Yuanheng Zhao <jonathan.zhaoyh@gmail.com> Co-authored-by: Yuanheng Zhao <54058983+yuanheng-zhao@users.noreply.github.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
17 files changed
+637
-57
No files matched your search
@@ -15,6 +15,22 @@ VISION_START_TOKEN_ID = 151652 # <|vision_start|>
|
||||
TEXT_EOS_TOKEN_ID = 151669 # <text_eos>
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# MoE (bailing_moe / Ming-omni-tts-16.8B-A3B) token IDs
|
||||
# (confirmed from the bailing tokenizer_config.json — different vocab than the
|
||||
# dense Qwen2 tokenizer above). The bailing tokenizer has NO <text_eos>; the
|
||||
# audio AR loop terminates purely on the stop-head (see upstream
|
||||
# modeling_bailingmm.sample), so <end_of_audio> doubles as the AR stop token.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
MOE_AUDIO_DUMMY_TOKEN_ID = 126357 # <audioPatch>
|
||||
MOE_AUDIO_START_TOKEN_ID = 126358 # <audio>
|
||||
MOE_AUDIO_END_TOKEN_ID = 126359 # </audio>
|
||||
MOE_AUDIO_EOS_TOKEN_ID = 126356 # <end_of_audio>
|
||||
MOE_TEXT_EOS_TOKEN_ID = 126356 # no <text_eos> in bailing; reuse <end_of_audio> as AR stop
|
||||
MOE_SPK_TOKEN_ID = 126368 # <spk> — speaker-embedding placeholder (dense uses <|vision_start|>)
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Architectural constants (confirmed from original config.json)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user