Skip to content

Commit

Permalink
Updating PyTorch version in Tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
phlippe committed Aug 27, 2021
1 parent 94f17ff commit eb8cab5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Using torch 1.6.0\n"
"Using torch 1.9.0\n"
]
}
],
Expand All @@ -90,7 +90,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"At the time of writing this tutorial (mid of October 2020), the current stable version is 1.6. You should therefore see the output `Using torch 1.6.0`. If you see a lower version number, make sure you have installed the correct the environment, or ask one of your TAs. In case PyTorch 1.7 or newer will be published during the time of the course, don't worry. The interface between PyTorch versions doesn't change too much, and hence all code should also be runnable with newer versions.\n",
"At the time of writing this tutorial (mid of August 2021), the current stable version is 1.9. You should therefore see the output `Using torch 1.9.0`, eventually with some extension for the CUDA version on Colab. In case you use the `dl2020` environment, you should see `Using torch 1.6.0` since the environment was provided in October 2020. It is recommended to update the PyTorch version to the newest one. If you see a lower version number than 1.6, make sure you have installed the correct the environment, or ask one of your TAs. In case PyTorch 1.10 or newer will be published during the time of the course, don't worry. The interface between PyTorch versions doesn't change too much, and hence all code should also be runnable with newer versions.\n",
"\n",
"As in every machine learning framework, PyTorch provides functions that are stochastic like generating random numbers. However, a very good practice is to setup your code to be reproducible with the exact same random numbers. This is why we set a seed below. "
]
Expand Down

0 comments on commit eb8cab5

Please sign in to comment.