Wav2lip 本地运行错误

Wav2lip 本地运行错误

requirements.txt软件包安装

需要python3.6或者python3.7的环境

RuntimeError: cublas runtime error : the GPU program failed to execute at C:/w/1/s/windows/pytorch/aten/src/THC/THCBlas.cu:259

报错环境

使用torch=1.1.0, torchvision==0.3.0, Driver Version: 565.90, CUDA Version: 12.7

报错原因

高版本的RTX3090不能支持低版本的cuda10.0。理论上Driver Version(高版本的显卡)只要大于410.48即可以兼容低版本的cuda10.0.130,但是实际上,高版本的显卡只可与相近的cuda兼容。

解决方法

pip uninstall torch
pip uninstall torchvision
pip uninstall torchaudio
 
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113

使用清华源

pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113 -i https://pypi.tuna.tsinghua.edu.cn/simple

subprocess.py报错FileNotFoundError:[WinError 2]系统找不到指定的文件

当前的虚拟环境需要安装ffmpeg,如若不行,本地安装ffmpeg

posted @ 2025-03-29 16:04  狐狸胡兔  阅读(74)  评论(0)    收藏  举报