From 0cf5dfec2c8313fc2ed2aab8d10bf3dc4b9c283f Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 14 三月 2024 14:41:49 +0800
Subject: [PATCH] update cmakelist
---
setup.py | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 561dea2..b41148c 100644
--- a/setup.py
+++ b/setup.py
@@ -37,15 +37,15 @@
# "textgrid",
# "protobuf",
"tqdm",
- "hdbscan",
"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