[2noise/ChatTTS]报错:WARNING:ChatTTS.utils.gpu_utils:No GPU found, use CPU instead

2024-06-05 513 views
0

屏幕截图 2024-06-03 205946

回答

7

装了gpu版的pytorch了吗

2

遇到了同样的问题,怎么解决啊

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:decoder not initialized. Traceback (most recent call last): File "C:\Users\solution\run_chattts.py", line 13, in wavs = chat.infer(texts, use_decoder=True) File "C:\Users\hu\Miniconda3\envs\chattts\lib\site-packages\ChatTTS\core.py", line 95, in infer assert self.check_model(use_decoder=use_decoder) AssertionError

5

1、Check CUDA version first: nvcc --version 2、Ensure: invidia-smi ≥ nvcc --version ≥ Pytorch cudatoolkit version required 3、Test: $ python

import torch print(torch.cuda.is_available()) True