From 7231fa07672ba276a7df937e27e2b813e653dd21 Mon Sep 17 00:00:00 2001
From: hnluo <haoneng.lhn@alibaba-inc.com>
Date: 星期六, 11 三月 2023 13:52:22 +0800
Subject: [PATCH] Merge pull request #213 from zhuzizyf/small-datatype-resample

---
 funasr/export/export_model.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/funasr/export/export_model.py b/funasr/export/export_model.py
index 8d41462..3cbf6d2 100644
--- a/funasr/export/export_model.py
+++ b/funasr/export/export_model.py
@@ -11,8 +11,8 @@
 import numpy as np
 import random
 
-torch_version = float(".".join(torch.__version__.split(".")[:2]))
-assert torch_version > 1.9
+# torch_version = float(".".join(torch.__version__.split(".")[:2]))
+# assert torch_version > 1.9
 
 class ASRModelExportParaformer:
     def __init__(self, cache_dir: Union[Path, str] = None, onnx: bool = True):

--
Gitblit v1.9.1