Contribute a new tutorial to the official PyTorch documentation by writing a Python file and submitting a pull request.
Fix a bug or outdated code snippet in an existing official PyTorch tutorial.
Build and preview the full pytorch.org/tutorials documentation site locally on your machine.
Building the docs locally requires installing dependencies and running a build step, not for learning PyTorch, visit the website instead.
This repository holds the source files for the official PyTorch tutorial website, which lives at pytorch.org/tutorials. PyTorch is a widely used library for building machine learning and AI models, particularly for tasks like image recognition, natural language processing, and related fields. The tutorials here teach developers how to use PyTorch effectively, ranging from beginner introductions to advanced techniques. The tutorials themselves are not meant to be read directly from this repository. They are published as a website and are written as Python files that get converted into formatted HTML documentation pages and Jupyter notebooks. Jupyter notebooks are interactive files that let you run code step by step in a browser, which makes them well-suited for learning. This repository is mainly useful for people who want to contribute a new tutorial, fix an error in an existing one, or run the documentation locally on their own machine. Contributing involves writing a Python file following a specific format, placing it in the right folder based on difficulty level, and following the project's submission policy before sending it for review. If you just want to learn PyTorch, you should visit the tutorials website directly rather than working with this repository. If you have a question about a tutorial, the project directs you to post on the PyTorch developer forum rather than opening an issue here. The repository is a source and contribution hub, not the primary place where learning happens.
← pytorch on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.