[2noise/ChatTTS]mac m1报错呀,尝试改成mps,好像也是报这个错

2024-06-05 824 views
0

WARNING:ChatTTS.utils.gpu_utils:No GPU found, use CPU instead INFO:ChatTTS.core:use cpu WARNING:ChatTTS.core:vocos not initialized. WARNING:ChatTTS.core:gpt not initialized. WARNING:ChatTTS.core:tokenizer not initialized. WARNING:ChatTTS.core:dvae not initialized. WARNING:ChatTTS.core:vocos not initialized. WARNING:ChatTTS.core:gpt not initialized. WARNING:ChatTTS.core:tokenizer not initialized. WARNING:ChatTTS.core:dvae not initialized. Traceback (most recent call last): File "../test_tts.py", line 12, in wavs = chat.infer(texts, use_decoder=False) File "/opt/homebrew/Caskroom/miniforge/base/envs/torch_env/lib/python3.8/site-packages/ChatTTS/core.py", line 95, in infer assert self.check_model(use_decoder=use_decoder) AssertionError

回答

8

the same error

9

先用这个 from modelscope import snapshot_download model_dir = snapshot_download('pzc163/chatTTS')

然后参考下面写一下就完事,m1 pro,可用

image