Skip to main content

PyTorch Logo


PyTorch is a Python package that provides two high-level features:

  • Tensor computation (like NumPy) with strong GPU acceleration
  • Deep neural networks built on a tape-based autograd system

You can reuse your favorite Python packages such as NumPy, SciPy, and Cython to extend PyTorch when needed.

Our trunk health (Continuous Integration signals) can be found at hud.pytorch.org.

More About PyTorch

Learn the basics of PyTorch

At a granular level, PyTorch is a library that consists of the following components:

Component Description
torch A Tensor library like NumPy, with strong GPU support
torch.autograd A tape-based automatic differentiation library that supports all differentiable Tensor operations in torch
torch.jit A compilation stack (TorchScript) to create serializable and optimizable models from PyTorch code
torch.nn A neural networks library deeply integrated with autograd designed for maximum flexibility
torch.multiprocessing Python multiprocessing, but with magical memory sharing of torch Tensors across processes. Useful for data loading and Hogwild training
torch.utils DataLoader and other utility functions for convenience

Usually, PyTorch is used either as:

  • A replacement for NumPy to use the power of GPUs.
  • A deep learning research platform that provides maximum flexibility and speed.

Elaborating Further:

A GPU-Ready Tensor Library

If you use NumPy, then you have used Tensors (a.k.a. ndarray).

Tensor illustration

PyTorch provides Tensors that can live either on the CPU or the GPU and accelerates the computation by a huge amount.

We provide a wide variety of tensor routines to accelerate and fit your scientific computation needs such as slicing, indexing, mathematical operations, linear algebra, reductions. And they are fast!

Dynamic Neural Networks: Tape-Based Autograd

PyTorch has a unique way of building neural networks: using and replaying a tape recorder.

Most frameworks such as TensorFlow, Theano, Caffe, and CNTK have a static view of the world. One has to build a neural network and reuse the same structure again and again. Changing the way the network behaves means that one has to start from scratch.

With PyTorch, we use a technique called reverse-mode auto-differentiation, which allows you to change the way your network behaves arbitrarily with zero lag or overhead. Our inspiration comes from several research papers on this topic, as well as current and past work such as torch-autograd, autograd, Chainer, etc.

While this technique is not unique to PyTorch, it's one of the fastest implementations of it to date. You get the best of speed and flexibility for your crazy research.

Dynamic graph

Python First

PyTorch is not a Python binding into a monolithic C++ framework. It is built to be deeply integrated into Python. You can use it naturally like you would use NumPy / SciPy / scikit-learn etc. You can write your new neural network layers in Python itself, using your favorite libraries and use packages such as Cython and Numba. Our goal is to not reinvent the wheel where appropriate.

Imperative Experiences

PyTorch is designed to be intuitive, linear in thought, and easy to use. When you execute a line of code, it gets executed. There isn't an asynchronous view of the world. When you drop into a debugger or receive error messages and stack traces, understanding them is straightforward. The stack trace points to exactly where your code was defined. We hope you never spend hours debugging your code because of bad stack traces or asynchronous and opaque execution engines.

Fast and Lean

PyTorch has minimal framework overhead. We integrate acceleration libraries such as Intel MKL and NVIDIA (cuDNN, NCCL) to maximize speed. At the core, its CPU and GPU Tensor and neural network backends are mature and have been tested for years.

Hence, PyTorch is quite fast — whether you run small or large neural networks.

The memory usage in PyTorch is extremely efficient compared to Torch or some of the alternatives. We've written custom memory allocators for the GPU to make sure that your deep learning models are maximally memory efficient. This enables you to train bigger deep learning models than before.

Extensions Without Pain

Writing new neural network modules, or interfacing with PyTorch's Tensor API was designed to be straightforward and with minimal abstractions.

You can write new neural network layers in Python using the torch API or your favorite NumPy-based libraries such as SciPy.

If you want to write your layers in C/C++, we provide a convenient extension API that is efficient and with minimal boilerplate. No wrapper code needs to be written. You can see a tutorial here and an example here.

Installation

Binaries

Commands to install binaries via Conda or pip wheels are on our website: https://pytorch.org/get-started/locally/

NVIDIA Jetson Platforms

Python wheels for NVIDIA's Jetson Nano, Jetson TX1/TX2, Jetson Xavier NX/AGX, and Jetson AGX Orin are provided here and the L4T container is published here

They require JetPack 4.2 and above, and @dusty-nv and @ptrblck are maintaining them.

From Source

Prerequisites

If you are installing from source, you will need:

  • Python 3.8 or later (for Linux, Python 3.8.1+ is needed)
  • A compiler that fully supports C++17, such as clang or gcc (gcc 9.4.0 or newer is required)

We highly recommend installing an Anaconda environment. You will get a high-quality BLAS library (MKL) and you get controlled dependency versions regardless of your Linux distro.

If you want to compile with CUDA support, select a supported version of CUDA from our support matrix, then install the following:

Note: You could refer to the cuDNN Support Matrix for cuDNN versions with the various supported CUDA, CUDA driver and NVIDIA hardware

If you want to disable CUDA support, export the environment variable USE_CUDA=0. Other potentially useful environment variables may be found in setup.py.

If you are building for NVIDIA's Jetson platforms (Jetson Nano, TX1, TX2, AGX Xavier), Instructions to install PyTorch for Jetson Nano are available here

If you want to compile with ROCm support, install

  • AMD ROCm 4.0 and above installation
  • ROCm is currently supported only for Linux systems.

If you want to disable ROCm support, export the environment variable USE_ROCM=0. Other potentially useful environment variables may be found in setup.py.

Install Dependencies

Common

conda install cmake ninja
# Run this command from the PyTorch directory after cloning the source code using the “Get the PyTorch Source“ section below
pip install -r requirements.txt

On Linux

conda install mkl mkl-include
# CUDA only: Add LAPACK support for the GPU if needed
conda install -c pytorch magma-cuda110  # or the magma-cuda* that matches your CUDA version from https://anaconda.org/pytorch/repo

# (optional) If using torch.compile with inductor/triton, install the matching version of triton
# Run from the pytorch directory after cloning
make triton

On MacOS

# Add this package on intel x86 processor machines only
conda install mkl mkl-include
# Add these packages if torch.distributed is needed
conda install pkg-config libuv

On Windows

conda install mkl mkl-include
# Add these packages if torch.distributed is needed.
# Distributed package support on Windows is a prototype feature and is subject to changes.
conda install -c conda-forge libuv=1.39

Get the PyTorch Source

git clone --recursive https://github.com/pytorch/pytorch
cd pytorch
# if you are updating an existing checkout
git submodule sync
git submodule update --init --recursive

Install PyTorch

On Linux

If you would like to compile PyTorch with new C++ ABI enabled, then first run this command:

export _GLIBCXX_USE_CXX11_ABI=1

If you're compiling for AMD ROCm then first run this command:

# Only run this if you're compiling for ROCm
python tools/amd_build/build_amd.py

Install PyTorch

export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
python setup.py develop

Aside: If you are using Anaconda, you may experience an error caused by the linker:

build/temp.linux-x86_64-3.7/torch/csrc/stub.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1

This is caused by ld from the Conda environment shadowing the system ld. You should use a newer version of Python that fixes this issue. The recommended Python version is 3.8.1+.

On macOS

python3 setup.py develop

On Windows

Choose Correct Visual Studio Version.

PyTorch CI uses Visual C++ BuildTools, which come with Visual Studio Enterprise, Professional, or Community Editions. You can also install the build tools from https://visualstudio.microsoft.com/visual-cpp-build-tools/. The build tools do not come with Visual Studio Code by default.

If you want to build legacy python code, please refer to Building on legacy code and CUDA

CPU-only builds

In this mode PyTorch computations will run on your CPU, not your GPU

conda activate
python setup.py develop

Note on OpenMP: The desired OpenMP implementation is Intel OpenMP (iomp). In order to link against iomp, you'll need to manually download the library and set up the building environment by tweaking CMAKE_INCLUDE_PATH and LIB. The instruction here is an example for setting up both MKL and Intel OpenMP. Without these configurations for CMake, Microsoft Visual C OpenMP runtime (vcomp) will be used.

CUDA based build

In this mode PyTorch computations will leverage your GPU via CUDA for faster number crunching

NVTX is needed to build Pytorch with CUDA. NVTX is a part of CUDA distributive, where it is called "Nsight Compute". To install it onto an already installed CUDA run CUDA installation once again and check the corresponding checkbox. Make sure that CUDA with Nsight Compute is installed after Visual Studio.

Currently, VS 2017 / 2019, and Ninja are supported as the generator of CMake. If ninja.exe is detected in PATH, then Ninja will be used as the default generator, otherwise, it will use VS 2017 / 2019.
If Ninja is selected as the generator, the latest MSVC will get selected as the underlying toolchain.

Additional libraries such as Magma, oneDNN, a.k.a. MKLDNN or DNNL, and Sccache are often needed. Please refer to the installation-helper to install them.

You can refer to the build_pytorch.bat script for some other environment variables configurations

cmd

:: Set the environment variables after you have downloaded and unzipped the mkl package,
:: else CMake would throw an error as `Could NOT find OpenMP`.
set CMAKE_INCLUDE_PATH={Your directory}\mkl\include
set LIB={Your directory}\mkl\lib;%LIB%

:: Read the content in the previous section carefully before you proceed.
:: [Optional] If you want to override the underlying toolset used by Ninja and Visual Studio with CUDA, please run the following script block.
:: "Visual Studio 2019 Developer Command Prompt" will be run automatically.
:: Make sure you have CMake >= 3.12 before you do this when you use the Visual Studio generator.
set CMAKE_GENERATOR_TOOLSET_VERSION=14.27
set DISTUTILS_USE_SDK=1
for /f "usebackq tokens=*" %i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -version [15^,17^) -products * -latest -property installationPath`) do call "%i\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=%CMAKE_GENERATOR_TOOLSET_VERSION%

:: [Optional] If you want to override the CUDA host compiler
set CUDAHOSTCXX=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX64\x64\cl.exe

python setup.py develop
Adjust Build Options (Optional)

You can adjust the configuration of cmake variables optionally (without building first), by doing the following. For example, adjusting the pre-detected directories for CuDNN or BLAS can be done with such a step.

On Linux

export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
python setup.py build --cmake-only
ccmake build  # or cmake-gui build

On macOS

export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py build --cmake-only
ccmake build  # or cmake-gui build

Docker Image

Using pre-built images

You can also pull a pre-built docker image from Docker Hub and run with docker v19.03+

docker run --gpus all --rm -ti --ipc=host pytorch/pytorch:latest

Please note that PyTorch uses shared memory to share data between processes, so if torch multiprocessing is used (e.g. for multithreaded data loaders) the default shared memory segment size that container runs with is not enough, and you should increase shared memory size either with --ipc=host or --shm-size command line options to nvidia-docker run.

Building the image yourself

NOTE: Must be built with a docker version > 18.06

The Dockerfile is supplied to build images with CUDA 11.1 support and cuDNN v8. You can pass PYTHON_VERSION=x.y make variable to specify which Python version is to be used by Miniconda, or leave it unset to use the default.

make -f docker.Makefile
# images are tagged as docker.io/${your_docker_username}/pytorch

You can also pass the CMAKE_VARS="..." environment variable to specify additional CMake variables to be passed to CMake during the build. See setup.py for the list of available variables.

CMAKE_VARS="BUILD_CAFFE2=ON BUILD_CAFFE2_OPS=ON" make -f docker.Makefile

Building the Documentation

To build documentation in various formats, you will need Sphinx and the readthedocs theme.

cd docs/
pip install -r requirements.txt

You can then build the documentation by running make <format> from the docs/ folder. Run make to get a list of all available output formats.

If you get a katex error run npm install katex. If it persists, try npm install -g katex

Note: if you installed nodejs with a different package manager (e.g., conda) then npm will probably install a version of katex that is not compatible with your version of nodejs and doc builds will fail. A combination of versions that is known to work is node@6.13.1 and katex@0.13.18. To install the latter with npm you can run npm install -g katex@0.13.18

Previous Versions

Installation instructions and binaries for previous PyTorch versions may be found on our website.

Getting Started

Three-pointers to get you started:

Resources

Communication

Releases and Contributing

Typically, PyTorch has three minor releases a year. Please let us know if you encounter a bug by filing an issue.

We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion.

If you plan to contribute new features, utility functions, or extensions to the core, please first open an issue and discuss the feature with us. Sending a PR without discussion might end up resulting in a rejected PR because we might be taking the core in a different direction than you might be aware of.

To learn more about making a contribution to Pytorch, please see our Contribution page. For more information about PyTorch releases, see Release page.

The Team

PyTorch is a community-driven project with several skillful engineers and researchers contributing to it.

PyTorch is currently maintained by Soumith Chintala, Gregory Chanan, Dmytro Dzhulgakov, Edward Yang, and Nikita Shulga with major contributions coming from hundreds of talented individuals in various forms and means. A non-exhaustive but growing list needs to mention: Trevor Killeen, Sasank Chilamkurthy, Sergey Zagoruyko, Adam Lerer, Francisco Massa, Alykhan Tejani, Luca Antiga, Alban Desmaison, Andreas Koepf, James Bradbury, Zeming Lin, Yuandong Tian, Guillaume Lample, Marat Dukhan, Natalia Gimelshein, Christian Sarofeen, Martin Raison, Edward Yang, Zachary Devito.

Note: This project is unrelated to hughperkins/pytorch with the same name. Hugh is a valuable contributor to the Torch community and has helped with many things Torch and PyTorch.

License

PyTorch has a BSD-style license, as found in the LICENSE file.

Metadata

Release files for torch 2.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for torch 2.2.2
File Actions
torch-2.2.2-cp312-none-macosx_11_0_arm64.whl CPython 3.12 none macOS 11.0+ ARM64 Details for torch-2.2.2-cp312-none-macosx_11_0_arm64.whl
torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl CPython 3.12 none macOS 10.9+ x86-64 Details for torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl
torch-2.2.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for torch-2.2.2-cp312-cp312-win_amd64.whl
torch-2.2.2-cp312-cp312-manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for torch-2.2.2-cp312-cp312-manylinux2014_aarch64.whl
torch-2.2.2-cp312-cp312-manylinux1_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.5+ x86-64 Details for torch-2.2.2-cp312-cp312-manylinux1_x86_64.whl
torch-2.2.2-cp311-none-macosx_11_0_arm64.whl CPython 3.11 none macOS 11.0+ ARM64 Details for torch-2.2.2-cp311-none-macosx_11_0_arm64.whl
torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl CPython 3.11 none macOS 10.9+ x86-64 Details for torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl
torch-2.2.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for torch-2.2.2-cp311-cp311-win_amd64.whl
torch-2.2.2-cp311-cp311-manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for torch-2.2.2-cp311-cp311-manylinux2014_aarch64.whl
torch-2.2.2-cp311-cp311-manylinux1_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-64 Details for torch-2.2.2-cp311-cp311-manylinux1_x86_64.whl
torch-2.2.2-cp310-none-macosx_11_0_arm64.whl CPython 3.10 none macOS 11.0+ ARM64 Details for torch-2.2.2-cp310-none-macosx_11_0_arm64.whl
torch-2.2.2-cp310-none-macosx_10_9_x86_64.whl CPython 3.10 none macOS 10.9+ x86-64 Details for torch-2.2.2-cp310-none-macosx_10_9_x86_64.whl
torch-2.2.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for torch-2.2.2-cp310-cp310-win_amd64.whl
torch-2.2.2-cp310-cp310-manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for torch-2.2.2-cp310-cp310-manylinux2014_aarch64.whl
torch-2.2.2-cp310-cp310-manylinux1_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-64 Details for torch-2.2.2-cp310-cp310-manylinux1_x86_64.whl
torch-2.2.2-cp39-none-macosx_11_0_arm64.whl CPython 3.9 none macOS 11.0+ ARM64 Details for torch-2.2.2-cp39-none-macosx_11_0_arm64.whl
torch-2.2.2-cp39-none-macosx_10_9_x86_64.whl CPython 3.9 none macOS 10.9+ x86-64 Details for torch-2.2.2-cp39-none-macosx_10_9_x86_64.whl
torch-2.2.2-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for torch-2.2.2-cp39-cp39-win_amd64.whl
torch-2.2.2-cp39-cp39-manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details for torch-2.2.2-cp39-cp39-manylinux2014_aarch64.whl
torch-2.2.2-cp39-cp39-manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details for torch-2.2.2-cp39-cp39-manylinux1_x86_64.whl
torch-2.2.2-cp38-none-macosx_11_0_arm64.whl CPython 3.8 none macOS 11.0+ ARM64 Details for torch-2.2.2-cp38-none-macosx_11_0_arm64.whl
torch-2.2.2-cp38-none-macosx_10_9_x86_64.whl CPython 3.8 none macOS 10.9+ x86-64 Details for torch-2.2.2-cp38-none-macosx_10_9_x86_64.whl
torch-2.2.2-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for torch-2.2.2-cp38-cp38-win_amd64.whl
torch-2.2.2-cp38-cp38-manylinux2014_aarch64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ ARM64 Details for torch-2.2.2-cp38-cp38-manylinux2014_aarch64.whl
torch-2.2.2-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details for torch-2.2.2-cp38-cp38-manylinux1_x86_64.whl

Total release size: 6.3 GB

Release files / torch-2.2.2-cp312-none-macosx_11_0_arm64.whl

Download URL torch-2.2.2-cp312-none-macosx_11_0_arm64.whl
Size 59.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bf9558da7d2bf7463390b3b2a61a6a3dbb0b45b161ee1dd5ec640bf579d479fc
BLAKE2b-256 checksum
How to use checksums
4a0ee4e033371a7cba9da0db5ccb507a9174e41b9c29189a932d01f2f61ecfc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl

Download URL torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl
Size 150.8 MB
Tags CPython 3.12 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
eb4d6e9d3663e26cd27dc3ad266b34445a16b54908e74725adb241aa56987533
BLAKE2b-256 checksum
How to use checksums
797829dcab24a344ffd9ee9549ec0ab2c7885c13df61cde4c65836ee275efaeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp312-cp312-win_amd64.whl

Download URL torch-2.2.2-cp312-cp312-win_amd64.whl
Size 198.5 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
451331406b760f4b1ab298ddd536486ab3cfb1312614cfe0532133535be60bea
BLAKE2b-256 checksum
How to use checksums
72cebeca89dcdcf4323880d3b959ef457a4c61a95483af250e6892fec9174162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp312-cp312-manylinux2014_aarch64.whl

Download URL torch-2.2.2-cp312-cp312-manylinux2014_aarch64.whl
Size 86.5 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
89ddac2a8c1fb6569b90890955de0c34e1724f87431cacff4c1979b5f769203c
BLAKE2b-256 checksum
How to use checksums
059be5c0df26435f3d55b6699e1c61f07652b8c8a3ac5058a75d0e991f92c2b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp312-cp312-manylinux1_x86_64.whl

Download URL torch-2.2.2-cp312-cp312-manylinux1_x86_64.whl
Size 755.5 MB
Tags CPython 3.12 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
cf12cdb66c9c940227ad647bc9cf5dba7e8640772ae10dfe7569a0c1e2a28aca
BLAKE2b-256 checksum
How to use checksums
4c0cd8f77363a7a3350c96e6c9db4ffb101d1c0487cc0b8cdaae1e4bfb2800ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp311-none-macosx_11_0_arm64.whl

Download URL torch-2.2.2-cp311-none-macosx_11_0_arm64.whl
Size 59.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
49aa4126ede714c5aeef7ae92969b4b0bbe67f19665106463c39f22e0a1860d1
BLAKE2b-256 checksum
How to use checksums
962318b9c16c18a77755e7f15173821c7100f11e6b3b7717bea8d729bdeb92c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl

Download URL torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl
Size 150.8 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
95b9b44f3bcebd8b6cd8d37ec802048c872d9c567ba52c894bba90863a439059
BLAKE2b-256 checksum
How to use checksums
3f14e105b8ef6d324e789c1589e95cb0ab63f3e07c2216d68b1178b7c21b7d2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp311-cp311-win_amd64.whl

Download URL torch-2.2.2-cp311-cp311-win_amd64.whl
Size 198.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f9ef0a648310435511e76905f9b89612e45ef2c8b023bee294f5e6f7e73a3e7c
BLAKE2b-256 checksum
How to use checksums
5c015ab75f138bf32d7a69df61e4997e24eccad87cc009f5fb7e2a31af8a4036
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp311-cp311-manylinux2014_aarch64.whl

Download URL torch-2.2.2-cp311-cp311-manylinux2014_aarch64.whl
Size 86.6 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
32827fa1fbe5da8851686256b4cd94cc7b11be962862c2293811c94eea9457bf
BLAKE2b-256 checksum
How to use checksums
02af81abea3d73fddfde26afd1ce52a4ddfa389cd2b684c89d6c4d0d5d8d0dfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp311-cp311-manylinux1_x86_64.whl

Download URL torch-2.2.2-cp311-cp311-manylinux1_x86_64.whl
Size 755.6 MB
Tags CPython 3.11 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
ad4c03b786e074f46606f4151c0a1e3740268bcf29fbd2fdf6666d66341c1dcb
BLAKE2b-256 checksum
How to use checksums
c333d7a6123231bd4d04c7005dde8507235772f3bc4622a25f3a88c016415d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp310-none-macosx_11_0_arm64.whl

Download URL torch-2.2.2-cp310-none-macosx_11_0_arm64.whl
Size 59.7 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
877b3e6593b5e00b35bbe111b7057464e76a7dd186a287280d941b564b0563c2
BLAKE2b-256 checksum
How to use checksums
336b21496316c9b8242749ee2a9064406271efdf979e91d440e8a3806b5e84bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp310-none-macosx_10_9_x86_64.whl

Download URL torch-2.2.2-cp310-none-macosx_10_9_x86_64.whl
Size 150.8 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
b2e2200b245bd9f263a0d41b6a2dab69c4aca635a01b30cca78064b0ef5b109e
BLAKE2b-256 checksum
How to use checksums
3b557192974ab13e5e5577f45d14ce70d42f5a9a686b4f57bbe8c9ab45c4a61a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp310-cp310-win_amd64.whl

Download URL torch-2.2.2-cp310-cp310-win_amd64.whl
Size 198.6 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
11e8fe261233aeabd67696d6b993eeb0896faa175c6b41b9a6c9f0334bdad1c5
BLAKE2b-256 checksum
How to use checksums
3a81684d99e536b20e869a7c1222cf1dd233311fb05d3628e9570992bfb65760
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp310-cp310-manylinux2014_aarch64.whl

Download URL torch-2.2.2-cp310-cp310-manylinux2014_aarch64.whl
Size 86.6 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
15dffa4cc3261fa73d02f0ed25f5fa49ecc9e12bf1ae0a4c1e7a88bbfaad9030
BLAKE2b-256 checksum
How to use checksums
c37caeb0c5789a3f10cf909640530cd75b314959b9d9914a4996ed2c7bf8779d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp310-cp310-manylinux1_x86_64.whl

Download URL torch-2.2.2-cp310-cp310-manylinux1_x86_64.whl
Size 755.5 MB
Tags CPython 3.10 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
bc889d311a855dd2dfd164daf8cc903a6b7273a747189cebafdd89106e4ad585
BLAKE2b-256 checksum
How to use checksums
33b31fcc3bccfddadfd6845dcbfe26eb4b099f1dfea5aa0e5cfb92b3c98dba5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp39-none-macosx_11_0_arm64.whl

Download URL torch-2.2.2-cp39-none-macosx_11_0_arm64.whl
Size 59.7 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3a4dd910663fd7a124c056c878a52c2b0be4a5a424188058fe97109d4436ee42
BLAKE2b-256 checksum
How to use checksums
e922b9666424fd3745b1dc5d83ed08baffa6bbf7dddd425067420c4100319402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp39-none-macosx_10_9_x86_64.whl

Download URL torch-2.2.2-cp39-none-macosx_10_9_x86_64.whl
Size 150.8 MB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
dff696de90d6f6d1e8200e9892861fd4677306d0ef604cb18f2134186f719f82
BLAKE2b-256 checksum
How to use checksums
7f525b3b8d72c7a2087fee6849ecd0bf17b584241d7bc204aebd62c926f68064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp39-cp39-win_amd64.whl

Download URL torch-2.2.2-cp39-cp39-win_amd64.whl
Size 198.5 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
539d5ef6c4ce15bd3bd47a7b4a6e7c10d49d4d21c0baaa87c7d2ef8698632dfb
BLAKE2b-256 checksum
How to use checksums
4d5a262ef60f035637cab6f82a13268faeceab38590a0f9ba18ccc1bb1fc3d4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp39-cp39-manylinux2014_aarch64.whl

Download URL torch-2.2.2-cp39-cp39-manylinux2014_aarch64.whl
Size 86.6 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
67dcd726edff108e2cd6c51ff0e416fd260c869904de95750e80051358680d24
BLAKE2b-256 checksum
How to use checksums
039ab59d5c7649840649bb32608a441c4e16eefcf2db8abbea480197a3da1cde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp39-cp39-manylinux1_x86_64.whl

Download URL torch-2.2.2-cp39-cp39-manylinux1_x86_64.whl
Size 755.5 MB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a6e5770d68158d07456bfcb5318b173886f579fdfbf747543901ce718ea94782
BLAKE2b-256 checksum
How to use checksums
686c754b1b742258f9a76d8daf53ac55ce672228c988b5a1b59b16203dda6959
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp38-none-macosx_11_0_arm64.whl

Download URL torch-2.2.2-cp38-none-macosx_11_0_arm64.whl
Size 59.7 MB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c795feb7e8ce2e0ef63f75f8e1ab52e7fd5e1a4d7d0c31367ade1e3de35c9e95
BLAKE2b-256 checksum
How to use checksums
5a2efe1b45e095a05d9b43902b05aa7686615ae3b0a4d8c7ae057e3b61908fa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp38-none-macosx_10_9_x86_64.whl

Download URL torch-2.2.2-cp38-none-macosx_10_9_x86_64.whl
Size 150.6 MB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
31f4310210e7dda49f1fb52b0ec9e59382cfcb938693f6d5378f25b43d7c1d29
BLAKE2b-256 checksum
How to use checksums
3570a14c72d280483b86939adf22c780bc81728dde26e89bc7aeb3d2ba63b063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp38-cp38-win_amd64.whl

Download URL torch-2.2.2-cp38-cp38-win_amd64.whl
Size 198.6 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
3dbcd563a9b792161640c0cffe17e3270d85e8f4243b1f1ed19cca43d28d235b
BLAKE2b-256 checksum
How to use checksums
c988d6185582c48159c2be57d56d1d8833f2bee65dd5bf28ada05ac260d0baa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp38-cp38-manylinux2014_aarch64.whl

Download URL torch-2.2.2-cp38-cp38-manylinux2014_aarch64.whl
Size 86.6 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b421448d194496e1114d87a8b8d6506bce949544e513742b097e2ab8f7efef32
BLAKE2b-256 checksum
How to use checksums
7266c30d0addb92eadbab05512c275503d07cccac70ae5ec46158ba41058f849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / torch-2.2.2-cp38-cp38-manylinux1_x86_64.whl

Download URL torch-2.2.2-cp38-cp38-manylinux1_x86_64.whl
Size 755.5 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
cd2bf7697c9e95fb5d97cc1d525486d8cf11a084c6af1345c2c2c22a6b0029d0
BLAKE2b-256 checksum
How to use checksums
99bf7f6c1a37ea7fdf6afbc05ac405faae6eba1c1450d9ed632e23535e6438e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for torch 2.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.2 This release

25 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page