torch1.7.1对应的torchaudio
时间: 2023-06-20 11:04:04 浏览: 70
如果您使用的是torch 1.7.1版本,那么对应的torchaudio版本是0.7.2。您可以通过以下命令安装:
```shell
pip install torchaudio==0.7.2
```
请注意,不同版本的torchaudio可能与不同版本的torch不兼容,因此请根据您的torch版本选择正确的torchaudio版本。
相关问题
torch1.17对应版本的torchaudio
torch 1.7.1 对应的 torchaudio 版本是 0.7.2,可以通过以下命令进行安装:
```
pip install torchaudio==0.7.2
```
请注意,安装前需要先安装好 PyTorch 1.7.1。如果需要安装其他版本的 torchaudio,可以根据实际情况修改版本号。
linux用conda重新安装cuda10.1对应的torch1.7.1GUP版本的命令
以下是在 Linux 上使用 Conda 重新安装 CUDA 10.1 对应的 Torch 1.7.1 GPU 版本的命令:
1. 创建一个新的 conda 环境:
```
conda create --name torch-env
```
2. 激活 conda 环境:
```
conda activate torch-env
```
3. 安装 CUDA 10.1:
```
conda install pytorch torchvision torchaudio cudatoolkit=10.1 -c pytorch
```
4. 安装 Torch 1.7.1 GPU 版本:
```
pip3 install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio===0.7.2 -f https://download.pytorch.org/whl/cu101/torch_stable.html
```
这些命令将会在您的系统上安装 CUDA 10.1 和 Torch 1.7.1 GPU 版本。请确保您的系统已经正确安装了 NVIDIA 显卡驱动和 CUDA。