Closed csukuangfj closed 1 year ago
It turns out the way to install PyTorch using conda has been changed since PyTorch >= 1.13.0
conda install -c pytorch -c conda-forge pytorch=1.12.1 cudatoolkit=11.6
conda install -c pytorch -c nvidia pytorch=1.13 pytorch-cuda=11.6
The main differences are:
pytorch-cuda
cudatoolkit
nvidia
conda-forge
Note: The way to install a CPU version of PyTorch is still the same.
conda install -c k2-fsa -c pytorch -c nvidia k2 pytorch=1.13.0 pytorch-cuda=11.6 python=3.8 conda install -c k2-fsa -c pytorch -c nvidia k2 pytorch=1.13.0 pytorch-cuda=11.7 python=3.8
See https://anaconda.org/k2-fsa/k2/files
It turns out the way to install PyTorch using conda has been changed since PyTorch >= 1.13.0
Before PyTorch 1.13.0
Since PyTorch 1.13.0
The main differences are:
pytorch-cuda
to replacecudatoolkit
nvidia
replacesconda-forge
Note: The way to install a CPU version of PyTorch is still the same.