← Discover
GitHub · pytorch/pytorch↑ +65 today

Flexible and fast artificial intelligence library

PyTorch is a machine learning library that offers powerful graphics processing unit (GPU) acceleration for Python-based tensor calculations and dynamic neural networks. It provides broad ecosystem support in the development and deployment of deep learning models.

Updates

  • October 29, 2026: Stars 103,573 → 105,161, latest release v2.15.0 (October 28, 2026).
  • October 1, 2026: Stars 102,730 → 103,573, latest release v2.14.1 (September 30, 2026).
  • September 3, 2026: Stars 102,131 → 102,730, latest release v2.14.0 (September 2, 2026).
  • August 2, 2026: Stars 101,297 → 102,131, latest release v2.13.0 (July 8, 2026).

What you get

  • GPU powered high performance tensor calculations
  • Flexible model development with dynamic neural networks
  • Fully compatible with the Python ecosystem

Installation

Download source code
git clone https://github.com/pytorch/pytorch
cd pytorch
# if you are updating an existing checkout
git submodule sync
git submodule update --init --recursive
Installing dependencies
pip install --group dev

If you don't write code

Paste this into your AI agent (Claude Code · Codex · Antigravity)

I want to develop deep learning models using the PyTorch library. Walk me through tensor calculations, creating dynamic neural networks, and leveraging GPU acceleration. In particular, explain how to use the torch.nn and torch.autograd components, how to integrate them with the Python structure, and how to optimize the model training processes.

Repository: https://github.com/pytorch/pytorch. Follow the official instructions in the README of this repository for setup and execution.

Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.

Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.

Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.

Related dictionary terms

Who it is forIt is suitable for researchers and software developers who want to develop deep learning models.

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-07-03: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.