Skip to content

Commit

Permalink
Update install.rst (#376)
Browse files Browse the repository at this point in the history
Change torch installation from conda to pip

Co-authored-by: risinyoung <[email protected]>
  • Loading branch information
hanli94 and risinyoung authored Dec 22, 2023
1 parent ab128cc commit 162ebc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/qs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ Alternatively, one can `compile OpenFOAM-7 from source code <https://openfoam.or
conda create -n deepflame python=3.8
conda activate deepflame
conda install -c conda-forge libcantera-devel
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
conda install -c cantera libcantera-devel
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
conda install pybind11
conda install -c conda-forge easydict
.. Note:: Please go to `the official website of PyTorch <https://pytorch.org/>`_ to check your system compatibility and choose the installation command line that is suitable for your platform.
.. Note:: Please go to PyTorch's official website to check your system compatability and choose the installation command line that is suitable for your platform. After installing torch, do check if torch.cuda.is_available() returns true to use GPU for DNN inference!

.. code-block:: bash
Expand Down

0 comments on commit 162ebc0

Please sign in to comment.