Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
doku:python [2023/08/08 11:46] katrindoku:python [2023/08/25 07:34] – [Pytorch] jz
Line 210: Line 210:
 >>> import phono3py >>> import phono3py
 >>> exit() >>> exit()
 +</code>
 +
 +=== Pytorch ===
 +
 +To install the latest pytorch with conda please follow the instructions on this page:
 +
 +[[https://pytorch.org/get-started/locally/|Latest Pytorch installation]]
 +
 +For older and specific combinations of pytorch and cuda please have a look at this page:
 +
 +[[https://pytorch.org/get-started/previous-versions/#v182-with-lts-support|Previous Pytorch versions]]
 +
 +Eg.: to install v1.13.1 with cuda 11.6 use:
 +<code>
 +conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.6 -c pytorch -c nvidia
 +</code>
 +
 +
 +As of 2023-08-25: you can also install the current pytorch version with an older cuda version via:
 +<code>
 +conda install pytorch torchvision torchaudio cudatoolkit=11.6 -c pytorch -c nvidia
 </code> </code>
  
  • doku/python.txt
  • Last modified: 2024/03/19 14:24
  • by katrin