雾聪
2024-03-26 94adec3594eb5c5a8e3ef0b638e2dfcd3519020b
setup.py
@@ -10,14 +10,11 @@
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",
        # "nltk>=3.4.5",
@@ -32,7 +29,6 @@
        # ENH
        "pytorch_wpe",
        "editdistance>=0.5.2",
        "tensorboard",
        # "g2p",
        # "nara_wpe",
        # PAI
@@ -41,14 +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
@@ -85,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"])
@@ -132,5 +140,6 @@
    ],
    entry_points={"console_scripts": [
        "funasr = funasr.bin.inference:main_hydra",
        "funasr-export = funasr.bin.export:main_hydra",
    ]},
)