python3 webui.py --port 7865 --model_dir pretrained_models/CosyVoice-300M
2024-10-21 12:16:38,971 - modelscope - INFO - PyTorch version 2.0.1 Found.
2024-10-21 12:16:38,971 - modelscope - INFO - Loading ast index from /home/dl/.cache/modelscope/ast_indexer
2024-10-21 12:16:38,971 - modelscope - INFO - No valid ast index found from /home/dl/.cache/modelscope/ast_indexer, generating ast index from prebuilt!
2024-10-21 12:16:39,012 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 11b7055b4d9510a8a4fc9e68ff84580f and a total number of 980 components indexed
Traceback (most recent call last):
File "/home/dl/micromamba/envs/cosyvoice/lib/python3.8/pydoc.py", line 343, in safeimport
module = import(path)
File "/home/dl/data/FunAudioLLM/CosyVoice/cosyvoice/flow/flow_matching.py", line 16, in
from matcha.models.components.flow_matching import BASECFM
File "/home/dl/data/FunAudioLLM/CosyVoice/third_party/Matcha-TTS/matcha/models/components/flow_matching.py", line 6, in
from matcha.models.components.decoder import Decoder
File "/home/dl/data/FunAudioLLM/CosyVoice/third_party/Matcha-TTS/matcha/models/components/decoder.py", line 8, in
from diffusers.models.activations import get_activation
File "/home/dl/micromamba/envs/cosyvoice/lib/python3.8/site-packages/diffusers/init.py", line 5, in
from .utils import (
File "/home/dl/micromamba/envs/cosyvoice/lib/python3.8/site-packages/diffusers/utils/init.py", line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/home/dl/micromamba/envs/cosyvoice/lib/python3.8/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in
from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/home/dl/micromamba/envs/cosyvoice/lib/python3.8/site-packages/huggingface_hub/init.py)
python3 webui.py --port 7865 --model_dir pretrained_models/CosyVoice-300M 2024-10-21 12:16:38,971 - modelscope - INFO - PyTorch version 2.0.1 Found. 2024-10-21 12:16:38,971 - modelscope - INFO - Loading ast index from /home/dl/.cache/modelscope/ast_indexer 2024-10-21 12:16:38,971 - modelscope - INFO - No valid ast index found from /home/dl/.cache/modelscope/ast_indexer, generating ast index from prebuilt! 2024-10-21 12:16:39,012 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 11b7055b4d9510a8a4fc9e68ff84580f and a total number of 980 components indexed Traceback (most recent call last): File "/home/dl/micromamba/envs/cosyvoice/lib/python3.8/pydoc.py", line 343, in safeimport module = import(path) File "/home/dl/data/FunAudioLLM/CosyVoice/cosyvoice/flow/flow_matching.py", line 16, in
from matcha.models.components.flow_matching import BASECFM
File "/home/dl/data/FunAudioLLM/CosyVoice/third_party/Matcha-TTS/matcha/models/components/flow_matching.py", line 6, in
from matcha.models.components.decoder import Decoder
File "/home/dl/data/FunAudioLLM/CosyVoice/third_party/Matcha-TTS/matcha/models/components/decoder.py", line 8, in
from diffusers.models.activations import get_activation
File "/home/dl/micromamba/envs/cosyvoice/lib/python3.8/site-packages/diffusers/init.py", line 5, in
from .utils import (
File "/home/dl/micromamba/envs/cosyvoice/lib/python3.8/site-packages/diffusers/utils/init.py", line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/home/dl/micromamba/envs/cosyvoice/lib/python3.8/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in
from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/home/dl/micromamba/envs/cosyvoice/lib/python3.8/site-packages/huggingface_hub/init.py)