From b81396f912456a6a9d3813467242a805e7ce7553 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期一, 01 四月 2024 14:31:48 +0800
Subject: [PATCH] add dec reset for batch

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

diff --git a/runtime/onnxruntime/src/precomp.h b/runtime/onnxruntime/src/precomp.h
index 5513819..1a98852 100644
--- a/runtime/onnxruntime/src/precomp.h
+++ b/runtime/onnxruntime/src/precomp.h
@@ -64,7 +64,9 @@
 #include "seg_dict.h"
 #include "resample.h"
 #include "paraformer.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