Merge remote-tracking branch 'remotes/origin/main' into dev/rebase-v0170

Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
tzhouam committed 2026-03-04 08:26:56 +00:00
commit 36a507e071
29 files changed
+3554 -63

No files matched your search

+3
View File
@@ -120,6 +120,9 @@ class OmniRequestState(RequestState):
# When the audio tensor shape is inconsistent, torch.cat will fail.
# We need to use torch.cat in -1 dimension.
continue
elif k == "sr":
# Sample rate is a constant scalar, keep last value.
self.mm_accumulated[k] = v[-1]
else:
self.mm_accumulated[k] = torch.cat(v, dim=0)
except Exception: