Python使用GPU高速运算教程(1)–安装Pytorch

发布于 2023-06-19  321 次阅读


Please refresh the page if equations are not rendered correctly.
---------------------------------------------------------------

  1. open the website: https://pytorch.org/
  2. Select the suitable version
  3. Open the anaconda powershell prompt

    如果在anaconda里安装则选择Conda,windows的cmd安装则选择pip,可参考:
    https://pytorch.panchuang.net/FirstSection/InstallIutorial/
  4. Paste and run the command:
    conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia

  5. 检查是否安装完毕

届ける言葉を今は育ててる
最后更新于 2023-06-19