From e01f742a859dfccbd4fb1208f08f16f70abda45a Mon Sep 17 00:00:00 2001
From: aky15 <ankeyu.aky@11.17.44.249>
Date: 星期一, 10 四月 2023 15:54:12 +0800
Subject: [PATCH] rnnt infer
---
funasr/runtime/python/libtorch/setup.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/funasr/runtime/python/libtorch/setup.py b/funasr/runtime/python/libtorch/setup.py
index 99d8b52..c50e497 100644
--- a/funasr/runtime/python/libtorch/setup.py
+++ b/funasr/runtime/python/libtorch/setup.py
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
from pathlib import Path
import setuptools
-
+from setuptools import find_packages
def get_readme():
root_dir = Path(__file__).resolve().parent
@@ -28,8 +28,8 @@
install_requires=["librosa", "onnxruntime>=1.7.0",
"scipy", "numpy>=1.19.3",
"typeguard", "kaldi-native-fbank",
- "PyYAML>=5.1.2"],
- packages=['torch_paraformer'],
+ "PyYAML>=5.1.2", "torch-quant >= 0.4.0"],
+ packages=find_packages(include=["torch_paraformer*"]),
keywords=[
'funasr,paraformer'
],
--
Gitblit v1.9.1