Skip to content

PyTorch

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

Mostly friendly. Welcome, with extra rules.

Homepage Repository

AI tools are supported for issues, pull requests, reviews and comments. A human must understand and take responsibility for the work, and AI-generated text must be clearly labelled and paired with human commentary. Fully autonomous agents are not accepted.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • Contributor takes full responsibility
  • A human must review the output
  • No autonomous agents
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • A human must review the output
AI-written textPull request descriptions, issue comments and summaries written by AI.
Mostly friendly
  • AI use must be disclosed
  • A human must review the output

In their own words

Code contributions

We support the use of AI tools to help prepare issues, pull requests, reviews, or comments.

PyTorch AI Policy

All contributions should involve a human who understands and can take responsibility for the work produced with AI assistance.

PyTorch AI Policy

We do not accept contributions created by fully autonomous agents

PyTorch AI Policy

Issues & bug reports

AI-generated content in comments, issues, or PRs must be clearly disclosed and contained

PyTorch AI Policy

AI-written text

AI-generated content must be accompanied by human commentary explaining its relevance.

PyTorch AI Policy

Please do not respond to comments+questions by pasting raw or lightly reviewed AI-generated text.

PyTorch AI Policy

Sources

  • PyTorch AI Policygithub.com/pytorch/pytorch/blob/main/AI_POLICY.mdSnapshot 9 Oct 2026