From 9ba0dbd98bf69c830dfcfde8f109a400cb65e4e5 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期五, 29 三月 2024 17:24:59 +0800
Subject: [PATCH] fix func Forward
---
setup.py | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/setup.py b/setup.py
index f4439b0..b41148c 100644
--- a/setup.py
+++ b/setup.py
@@ -37,15 +37,15 @@
# "textgrid",
# "protobuf",
"tqdm",
- "hdbscan",
- "umap",
+ "umap_learn",
"jaconv",
"hydra-core>=1.3.2",
+ "tensorboardX",
+ "rotary_embedding_torch",
],
# train: The modules invoked when training only.
"train": [
"editdistance",
- "tensorboardX",
],
# all: The modules should be optionally installled due to some reason.
# Please consider moving them to "install" occasionally
@@ -82,6 +82,17 @@
"nbsphinx>=0.4.2",
"sphinx-markdown-tables>=0.0.12",
"configargparse>=1.2.1"
+ ],
+ "llm":[
+ "transformers>=4.32.0",
+ "accelerate",
+ "tiktoken",
+ "einops",
+ "transformers_stream_generator>=0.0.4",
+ "scipy",
+ "torchvision",
+ "pillow",
+ "matplotlib",
],
}
requirements["all"].extend(requirements["train"])
@@ -129,5 +140,6 @@
],
entry_points={"console_scripts": [
"funasr = funasr.bin.inference:main_hydra",
+ "funasr-export = funasr.bin.export:main_hydra",
]},
)
--
Gitblit v1.9.1