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 |   30 ++++++++++++++++++++----------
 1 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/setup.py b/setup.py
index 63beb5b..b41148c 100644
--- a/setup.py
+++ b/setup.py
@@ -10,16 +10,13 @@
 
 requirements = {
     "install": [
-        # "setuptools>=38.5.1",
-        "humanfriendly",
         "scipy>=1.4.1",
         "librosa",
         "jamo",  # For kss
         "PyYAML>=5.1.2",
         # "soundfile>=0.12.1",
-        # "h5py>=3.1.0",
         "kaldiio>=2.17.0",
-        # "torch_complex",
+        "torch_complex",
         # "nltk>=3.4.5",
         # ASR
         "sentencepiece", # train
@@ -30,9 +27,8 @@
         # "pypinyin>=0.44.0",
         # "espnet_tts_frontend",
         # ENH
-        # "pytorch_wpe",
+        "pytorch_wpe",
         "editdistance>=0.5.2",
-        "tensorboard",
         # "g2p",
         # "nara_wpe",
         # PAI
@@ -41,13 +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",
-        "wandb",
     ],
     # all: The modules should be optionally installled due to some reason.
     #      Please consider moving them to "install" occasionally
@@ -84,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"])
@@ -130,6 +139,7 @@
         "Topic :: Software Development :: Libraries :: Python Modules",
     ],
     entry_points={"console_scripts": [
-        "funasr = funasr.bin.inference_cli:main",
+        "funasr = funasr.bin.inference:main_hydra",
+        "funasr-export = funasr.bin.export:main_hydra",
     ]},
 )

--
Gitblit v1.9.1