pytorch/tutorials

PyTorch tutorials.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 29 minutes ago
Added to GitGenius on January 31st, 2026
Created on September 30th, 2016
Open Issues & Pull Requests: 257 (+0)
Number of forks: 4,430
Total Stargazers: 9,288 (+0)
Total Subscribers: 181 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 26.6 hours
Mean response time: 76.4 days
90th percentile: 216.8 days
Tracked items: 266

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "docathon-2026" is answered fastest, typically in about an hour, while "distributed" waits about 3 months. 76% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 7% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 115
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 324 days
Stale 30+ days: 111
Stale 90+ days: 101

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (86)
  • easy (31)
  • incorrect link (24)
  • core (22)
  • docathon-h1-2024 (19)
  • intro (18)
  • question (17)
  • distributed (16)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The PyTorch tutorials repository serves as the official collection of educational materials for the PyTorch deep learning framework. The tutorials are presented as Sphinx-style documentation hosted at pytorch.org/tutorials, making them accessible through a centralized web interface rather than directly from the GitHub repository. The project is written primarily in Python and covers a comprehensive range of topics spanning deep learning, machine learning, neural networks, tensor operations, computer vision, natural language processing, and AI applications, with materials organized at beginner, intermediate, advanced, and recipe difficulty levels.

The repository uses sphinx-gallery's notebook-styled examples as its primary authoring format, allowing contributors to write well-formatted Python files that are automatically converted into HTML documentation pages and Jupyter notebooks executable in Google Colab. This approach significantly lowers the barrier to entry for tutorial creation while ensuring consistency across the documentation. The contribution workflow is clearly defined, with tutorials placed in appropriate source directories based on difficulty level, and prototype features housed separately in a dedicated prototype_source directory.

Building tutorials locally requires significant computational resources, particularly GPU access, as the full build process downloads data and executes tutorial code, typically requiring 60 to 120 minutes on GPU-equipped systems. For contributors without GPU access, the make html-noplot command enables rapid preview builds of basic HTML documentation. The repository supports selective building through the GALLERY_PATTERN environment variable using regular expressions, allowing developers to test individual tutorials without rebuilding the entire documentation set. Quality assurance is maintained through pyspelling integration for spell checking across Python and reStructuredText files.

The repository maintains clear guidelines for issue submission and contribution, directing general questions to the dev-discuss forum rather than the issue tracker for faster resolution. Contributors are required to review the PyTorch Tutorial Submission Policy before proposing new tutorials and must provide environment information using torch.utils.collect_env when reporting bugs.