# PyTorch: AI-friendly with conditions

> 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.

- What it is: Tensors and dynamic neural networks in Python with strong GPU acceleration. (Framework)
- Homepage: https://pytorch.org/
- Repository: https://github.com/pytorch/pytorch
- Overall stance: AI-friendly with conditions (Mostly friendly). AI-assisted contributions are accepted with extra rules, such as disclosing AI use, or AI is banned for issues or written text.
- Last classified: 2026-10-09 (manual review, high confidence)
- Policy last changed: 2026-10-09
- Web page: https://areweaifriendly.com/projects/pytorch/

## Policy by area

- **Code contributions**: AI-friendly with conditions (Contributor takes full responsibility; A human must review the output; No autonomous agents)
- **Issues & bug reports**: AI-friendly with conditions (AI use must be disclosed; A human must review the output)
- **AI-written text**: AI-friendly with conditions (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." (https://github.com/pytorch/pytorch/blob/main/AI_POLICY.md)
- Code contributions: "All contributions should involve a human who understands and can take responsibility for the work produced with AI assistance." (https://github.com/pytorch/pytorch/blob/main/AI_POLICY.md)
- Code contributions: "We do not accept contributions created by fully autonomous agents" (https://github.com/pytorch/pytorch/blob/main/AI_POLICY.md)
- Issues & bug reports: "AI-generated content in comments, issues, or PRs must be clearly disclosed and contained" (https://github.com/pytorch/pytorch/blob/main/AI_POLICY.md)
- AI-written text: "AI-generated content must be accompanied by human commentary explaining its relevance." (https://github.com/pytorch/pytorch/blob/main/AI_POLICY.md)
- AI-written text: "Please do not respond to comments+questions by pasting raw or lightly reviewed AI-generated text." (https://github.com/pytorch/pytorch/blob/main/AI_POLICY.md)

## Sources

- [PyTorch AI Policy](https://github.com/pytorch/pytorch/blob/main/AI_POLICY.md), fetched 2026-10-09
