MCPcopy Index your code
hub / github.com/modelscope/FunASR / concat_results

Function concat_results

benchmark_vllm.py:82–86  ·  view source on GitHub ↗
(all_segments, seg_texts, n_files)

Source from the content-addressed store, hash-verified

80
81
82def concat_results(all_segments, seg_texts, n_files):
83 file_texts = {}
84 for (fi, _), text in zip(all_segments, seg_texts):
85 file_texts.setdefault(fi, []).append(text)
86 return ["".join(file_texts.get(fi, [])) for fi in range(n_files)]
87
88
89def run_pytorch(model_name, seg_files, device="cuda:0"):

Callers 1

benchmark_vllm.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…