Welcome to PyTorch Tutorials

To learn how to use PyTorch, start with our Getting Started Tutorials. The 60-minute blitz is the most common starting point, and provides a broad view into how to use PyTorch from basics all the way to constructing deep neural networks.

Some considerations:

  • If you would like to do the tutorials interactively via IPython / Jupyter,

each tutorial has a download link for a Jupyter Notebook and Python source code.

  • Additional high-quality examples are available including image classification,

unsupervised learning, reinforcement learning, machine translation and many other applications at

  • You can find reference documentation for PyTorch’s API and layers at or via inline help.

  • If you would like the tutorials section improved, please open a github issue

here with your feedback:

Lastly, some of the tutorials are marked as requiring the Preview release. These are tutorials that use the new functionality from the PyTorch 1.0 Preview. Please use the getting started section to get instructions on how to install the latest Preview build before trying these tutorials.



Access comprehensive developer documentation for PyTorch

View Docs


Get in-depth tutorials for beginners and advanced developers

View Tutorials


Find development resources and get your questions answered

View Resources