From 6a8c595fc3ca8005e2d08387354553835c64e951 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期二, 26 三月 2024 17:41:34 +0800
Subject: [PATCH] add log for torch

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

diff --git a/runtime/onnxruntime/src/paraformer-torch.h b/runtime/onnxruntime/src/paraformer-torch.h
index a5993de..f099fbc 100644
--- a/runtime/onnxruntime/src/paraformer-torch.h
+++ b/runtime/onnxruntime/src/paraformer-torch.h
@@ -3,6 +3,7 @@
  * MIT License  (https://opensource.org/licenses/MIT)
 */
 #pragma once
+#define C10_USE_GLOG
 #include <torch/serialize.h>
 #include <torch/script.h>
 #include <torch/torch.h>

--
Gitblit v1.9.1