Skip to content
Project

PyTorch

Tensors and dynamic neural networks in Python with strong GPU acceleration.

Stars
106k
Forks
31k
Open issues
19k
Latest release
v2.15.0
License
NOASSERTION
Language
Python
Stars
latest
106k▲ 2.0k
Forks
latest
31k▼ 881
Open issues + PRs
latest
19k▲ 972
Merged PRs (30d)
latest
12▲ 4
PR authors (90d)
latest
7▲ 4
Releases (365d)
latest
8▼ 1

Daily snapshots since metrics history started (44 days so far); trends need at least a week.

Contribute

Contributing guide
CONTRIBUTING ↗
Open wanted issues
28 good first issue
Merged PRs (30d)
12
Release cadence
8 in 365 daysmedian 43.1 days apart

GitHub community profile 87% · code of conduct. Maintainer response time is not collected yet.

Regular contributors (by commits)

Top ranked issues

Good first issuePyTorch#11304076

[PT2] [Hardening] Track recompiles alongside graph breaks in our actual/expected comparison CI runs

🚀 The feature, motivation and pitch An example where this was a little annoying was in debugging the problem as described in issuecomment-1795715999 Being able to see both graph breaks and recompiles will give us a clearer picture. Today, the problem is that changing PT2 to…

good first issuefiled by a maintainer

Demand: 2 reactions, 4 comments · Maintainer engagement: 12 PRs merged in the project in 30 days; filed by a maintainer · Feasibility: labelled as a starter issue · Freshness: updated 10 days ago

Good first issuePyTorch#11985676

Timeout for process termination upon receiving sigterm should be a user configurable parameter

🚀 The feature, motivation and pitch I'm trying to implement graceful exit on SLURM pre-emption. SLURM gives 10 minutes upon pre-emption (i.e., SIGTERM; sleep 600; SIGKILL), but it seems that torchrun will send a SIGKILL from the launcher to all the child processes after 30…

good first issue

Demand: 4 reactions, 9 comments · Maintainer engagement: 12 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 1 days ago

Good first issuePyTorch#11440375

refactor TracingContext to take a more limited subset of ViewAndMutationMeta

Today, we add a ViewAndMutationMeta object to the TracingContext here, that backends can use to ask for certain information about the graph, including information about how many / which inputs were mutated. This technically exposes the ViewAndMutationMeta object to out-of-tree…

good first issuefiled by a maintainer

Demand: 1 reactions, 6 comments · Maintainer engagement: 12 PRs merged in the project in 30 days; filed by a maintainer · Feasibility: labelled as a starter issue · Freshness: updated 13 days ago

Good first issuePyTorch#12158771

Add clearer docs for `torch.distributed.<OP>` vs. `torch.distributed.nn.<OP>

📚 The doc issue Torch distributed offers two ways of doing distributed operations: - torch.distributed. - torch.distributed.nn. The second one wraps distributed ops, e.g. all reduce , with a function to propagate through gradients. This can very easily result in a very subtle…

good first issue

Demand: 2 reactions, 7 comments · Maintainer engagement: 12 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 7 days ago

Good first issuePyTorch#8459371

Uneven and/or Dynamically sized collectives

🚀 The feature, motivation and pitch A recurring question we get is how to handle uneven or dynamic sized collectives. For example, users want to: - Scatter tensors of different sizes. - Dynamically determine broadcast tensor sizes on the source rank. There are plenty of forum…

good first issue

Demand: 2 reactions, 8 comments · Maintainer engagement: 12 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 11 days ago

Opportunities

248 concerning this

Review · 207open tab →

RFC / designPyTorch#14128794

MPS operator coverage tracking issue (2.6+ version)

🐛 Describe the bug This issue is to have a centralized place to list and track work on adding support to new ops for the MPS backend. **Most requested ops** (extracted from comments to this issue and 77764) **PyTorch MPS Ops Project** : Project to track all the ops for MPS…

open design/roadmapproposed by a maintainer
RFC / designPyTorch#9146962

torch.compile with aotautograd does not support double backwards

Code example The second-order gradients are completely bogus: py def f(x): Just to make sure there isn't a limit or something y = x x x x x 1 1 1. 1. 1. print("graph break") gx, = torch.autograd.grad(y, x, create graph=True) ggx, = torch.autograd.grad(gx, x) return gx, ggx x =…

open design/roadmap
RFC / designPyTorch#9706860

[RFC] CPU float16 performance optimization on eager mode.

🚀 The feature, motivation and pitch The RFC is to improve float16 performance as well as Op coverage on PyTorch CPU backend on eager mode. Float16 and BFloat16 are both commonly used reduced floating point types for performance improvement in neural network inference/training.…

open RFCproposed by a maintainer

Build · 2open tab →

Signals · 39open tab →

Components

4

Maintainers

2

Top contributors

16

Releases & tracking issues

84
See all 84

Related projects

2
  • TensorFlow★ 202k

    End-to-end machine learning platform.

  • JAX★ 37k

    Composable transformations of Python and NumPy programs on XLA.

Related projects

1
  • JAX★ 37k

    Composable transformations of Python and NumPy programs on XLA.