Skip to content

Commit

Permalink
Fix the tutorial (#77)
Browse files Browse the repository at this point in the history
* Explicitly install Miniconda

* Install everything from conda-forge

* Pin CUDA Toolkit and PyTorch

* Update the pins
  • Loading branch information
Raimondas Galvelis authored Jun 10, 2022
1 parent fa102e6 commit 25fad7f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tutorials/openmm-torch-nnpops.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"source": [
"!pip install -q condacolab\n",
"import condacolab\n",
"condacolab.install()"
"condacolab.install_miniconda()"
]
},
{
Expand All @@ -82,12 +82,11 @@
},
"outputs": [],
"source": [
"# Note: Remove \"mmh\" when NNPOps in available on conda-forge (https://github.com/openmm/NNPOps/issues/26)\n",
"# Note: \"cudatoollit=11.2\" is need to override a pinning in conda-colab\n",
"!conda install -q -c conda-forge -c mmh \\\n",
"# NOTE: PyTorch pinned because https://github.com/conda-forge/openmm-torch-feedstock/issues/20\n",
"!conda install -q -c conda-forge \\\n",
" openmm-torch nnpops torchani openmmtools \\\n",
" cudatoolkit=11.2 \\\n",
" &> /dev/null # Comment this line to see the installaion logs"
" pytorch=1.11 \\\n",
" &> /dev/null # Comment this line to see a log\""
]
},
{
Expand Down

0 comments on commit 25fad7f

Please sign in to comment.