[2noise/ChatTTS]报错:WARNING:ChatTTS.utils.gpu_utils:No GPU found, use CPU instead
回答
装了gpu版的pytorch了吗
遇到了同样的问题,怎么解决啊
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
Have you installed the gpu version of pytorch?
I had the same thing. I needed to install the torch GPU version from the torch website. https://pytorch.org/get-started/previous-versions/
i have a 3090, and used these commands. pip uninstall torch pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2 --index-url https://download.pytorch.org/whl/cu118
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