因为要测试bark生成语音,发现CPU运算的速度太慢了,得使用GPU,目前笔记本上的1050T Nvida还能用,所以要测试一下GPU版本的bark代码,故需要安装gpu的torch。
pip install torch
到 torch_stable 下载对应的GPU版本,手动安装
pip install .\torch-2.0.1+cu118-cp310-cp310-win_amd64.whl
再安装其他软件
pip install torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
GPU版本, torch安装, 1050T, 运算速度, 笔记本GPU
本文介绍了如何在笔记本上安装GPU版本的torch,以加速bark语音生成测试,包括下载和手动安装GPU版本的torch,以及安装其他相关软件。