From 3c349ac0531b07239f37b81254f8568ab80e3f6a Mon Sep 17 00:00:00 2001
From: Han Zhang <45134013+holazzer@users.noreply.github.com>
Date: 星期二, 18 三月 2025 11:45:37 +0800
Subject: [PATCH] fix: use converted token_ids for alignment for sensevoice model with timestamp output (#2429)

---
 runtime/onnxruntime/src/precomp.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/runtime/onnxruntime/src/precomp.h b/runtime/onnxruntime/src/precomp.h
index 776de8e..d525c65 100644
--- a/runtime/onnxruntime/src/precomp.h
+++ b/runtime/onnxruntime/src/precomp.h
@@ -64,6 +64,10 @@
 #include "seg_dict.h"
 #include "resample.h"
 #include "paraformer.h"
+#include "sensevoice-small.h"
+#ifdef USE_GPU
+#include "paraformer-torch.h"
+#endif
 #include "paraformer-online.h"
 #include "offline-stream.h"
 #include "tpass-stream.h"

--
Gitblit v1.9.1