zhifu gao
2024-03-12 68f0603b10d13b8b8e6e090324c7e24e009df90b
setup.py
@@ -37,15 +37,15 @@
        # "textgrid",
        # "protobuf",
        "tqdm",
        "hdbscan",
        "umap",
        "umap_learn",
        "jaconv",
        "hydra-core",
        "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
@@ -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",
    ]},
)