[Perf]: Speedup VoxCPM2 TTS performance and Support PagedAttention (#2690)

Signed-off-by: Sy03 <1370724210@qq.com>
Signed-off-by: Yueqian Lin <linyueqian@outlook.com>
Co-authored-by: Yueqian Lin <linyueqian@outlook.com>
Co-authored-by: Yueqian Lin <70319226+linyueqian@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-04-14 09:16:47 +12:00
1 parent c9e2e3e8d7
commit 14f7910900
9 files changed
+1325 -440

No files matched your search

+1
View File
@@ -1241,6 +1241,7 @@ class OmniGPUModelRunner(GPUModelRunner):
span_len = int(e) - int(s)
# call the custom process function
req_infos["request_id"] = req_id
embed_slice = inputs_embeds[s:e] if inputs_embeds is not None else None
req_input_ids, req_embeds, update_dict = self.model.preprocess(
input_ids=input_ids[s:e], input_embeds=embed_slice, **req_infos