Skip to main content

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Project description

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

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, math 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 TX2, and Jetson AGX Xavier 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

If you are installing from source, you will need Python 3.7 or later and a C++14 compiler. Also, 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.

Once you have Anaconda installed, here are the instructions.

If you want to compile with CUDA support, install

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 astunparse numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing_extensions future six requests dataclasses

On Linux

# 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

On MacOS

# Add these packages if torch.distributed is needed
conda install pkg-config libuv

On Windows

# 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 --jobs 0

Install PyTorch

On Linux

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

Note that if you are compiling for ROCm, you must run this command first:

python tools/amd_build/build_amd.py

Note that 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 Conda environment shadowing the system ld. You should use a newer version of Python that fixes this issue. The recommended Python version is 3.7.6+ and 3.8.1+.

On macOS

export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install

CUDA is not supported on macOS.

On Windows

Choose Correct Visual Studio Version.

Sometimes there are regressions in new versions of Visual Studio, so it's best to use the same Visual Studio Version 16.8.5 as Pytorch CI's.

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

Build with CPU

It's fairly easy to build with CPU.

conda activate
python setup.py install

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.

Build with CUDA

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 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 upzipped 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 install
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

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

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

PyTorch has a 90-day release cycle (major releases). 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.

The Team

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

PyTorch is currently maintained by Adam Paszke, Sam Gross, Soumith Chintala and Gregory Chanan 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

torch-1.12.0-cp310-none-macosx_11_0_arm64.whl (48.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

torch-1.12.0-cp310-none-macosx_10_9_x86_64.whl (133.6 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

torch-1.12.0-cp310-cp310-win_amd64.whl (162.3 MB view details)

Uploaded CPython 3.10 Windows x86-64

torch-1.12.0-cp310-cp310-manylinux2014_aarch64.whl (55.7 MB view details)

Uploaded CPython 3.10

torch-1.12.0-cp310-cp310-manylinux1_x86_64.whl (776.3 MB view details)

Uploaded CPython 3.10

torch-1.12.0-cp39-none-macosx_11_0_arm64.whl (48.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

torch-1.12.0-cp39-none-macosx_10_9_x86_64.whl (133.6 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

torch-1.12.0-cp39-cp39-win_amd64.whl (161.8 MB view details)

Uploaded CPython 3.9 Windows x86-64

torch-1.12.0-cp39-cp39-manylinux2014_aarch64.whl (55.7 MB view details)

Uploaded CPython 3.9

torch-1.12.0-cp39-cp39-manylinux1_x86_64.whl (776.3 MB view details)

Uploaded CPython 3.9

torch-1.12.0-cp38-none-macosx_11_0_arm64.whl (48.9 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

torch-1.12.0-cp38-none-macosx_10_9_x86_64.whl (137.6 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

torch-1.12.0-cp38-cp38-win_amd64.whl (161.9 MB view details)

Uploaded CPython 3.8 Windows x86-64

torch-1.12.0-cp38-cp38-manylinux2014_aarch64.whl (55.7 MB view details)

Uploaded CPython 3.8

torch-1.12.0-cp38-cp38-manylinux1_x86_64.whl (776.3 MB view details)

Uploaded CPython 3.8

torch-1.12.0-cp37-none-macosx_11_0_arm64.whl (48.9 MB view details)

Uploaded CPython 3.7 macOS 11.0+ ARM64

torch-1.12.0-cp37-none-macosx_10_9_x86_64.whl (137.5 MB view details)

Uploaded CPython 3.7 macOS 10.9+ x86-64

torch-1.12.0-cp37-cp37m-win_amd64.whl (161.9 MB view details)

Uploaded CPython 3.7m Windows x86-64

torch-1.12.0-cp37-cp37m-manylinux2014_aarch64.whl (55.8 MB view details)

Uploaded CPython 3.7m

torch-1.12.0-cp37-cp37m-manylinux1_x86_64.whl (776.3 MB view details)

Uploaded CPython 3.7m

File details

Details for the file torch-1.12.0-cp310-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: torch-1.12.0-cp310-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 48.9 MB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp310-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13c7cca6b2ea3704d775444f02af53c5f072d145247e17b8cd7813ac57869f03
MD5 9a451cdc73a89ec78701056b13a86d75
BLAKE2b-256 5ae882c14c28360dafe02877b28c70218c8b6ca8a0f2fbb0515b2abd027ca251

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp310-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: torch-1.12.0-cp310-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 133.6 MB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp310-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 349ea3ba0c0e789e0507876c023181f13b35307aebc2e771efd0e045b8e03e84
MD5 43adb714c0ac3458e3ec0fb4595590c9
BLAKE2b-256 764b0a527d9c8f8e1890591bf5addd9e20b52a0b09b2098e8b4fb556ccf5225b

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: torch-1.12.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 162.3 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e3e8348edca3e3cee5a67a2b452b85c57712efe1cc3ffdb87c128b3dde54534e
MD5 93885e449ceb87e96bbbf2ac2e956254
BLAKE2b-256 c6d681230cb26d5b83cd0d17a7fdf875c62d3dc1c116723c9c75dfe3d65b1a12

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp310-cp310-manylinux2014_aarch64.whl.

File metadata

  • Download URL: torch-1.12.0-cp310-cp310-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 55.7 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2568f011dddeb5990d8698cc375d237f14568ffa8489854e3b94113b4b6b7c8b
MD5 9cd892dc1e5499958a491486e7d9bded
BLAKE2b-256 a854af39450ee79c9bfe8db0754354cb490a6fd04a44f95c2622b00e019d1606

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp310-cp310-manylinux1_x86_64.whl.

File metadata

  • Download URL: torch-1.12.0-cp310-cp310-manylinux1_x86_64.whl
  • Upload date:
  • Size: 776.3 MB
  • Tags: CPython 3.10
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3322d33a06e440d715bb214334bd41314c94632d9a2f07d22006bf21da3a2be4
MD5 383fb548e6db2206aeafc75106bd483f
BLAKE2b-256 52c2323619638a1154da0a134297a4cc1c46df4142e9fd553370301937e21fcb

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp39-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: torch-1.12.0-cp39-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 48.9 MB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp39-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5ed69d5af232c5c3287d44cef998880dadcc9721cd020e9ae02f42e56b79c2e4
MD5 8f8d4d999ef7af493cbb1ab015792276
BLAKE2b-256 7c0598e23a1b739c2286c9bdcd1160b3446b64560130fc8f766f55ec5ca05392

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp39-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: torch-1.12.0-cp39-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 133.6 MB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp39-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c0313438bc36448ffd209f5fb4e5f325b3af158cdf61c8829b8ddaf128c57816
MD5 d456e550266e976894e6e9cceb89fea5
BLAKE2b-256 2826e265afe2ba66ff95849783261ae213c66556573d8bffd9802ae44eeda9e7

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: torch-1.12.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 161.8 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 201abf43a99bb4980cc827dd4b38ac28f35e4dddac7832718be3d5479cafd2c1
MD5 2328b84fd9632610bee9f7f617fd3911
BLAKE2b-256 a44fd8245c749b90e643fa06547c0aa36698507597b24d501c22e5bba4fb31a8

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp39-cp39-manylinux2014_aarch64.whl.

File metadata

  • Download URL: torch-1.12.0-cp39-cp39-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 55.7 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 63341f96840a223f277e498d2737b39da30d9f57c7a1ef88857b920096317739
MD5 09d08d11f0f54f3f40c0c1167b02287a
BLAKE2b-256 a9fcb23d2805c9dad3f6a16d9caf125d28078fb6b5c2f7e6394c3381c116a8ca

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: torch-1.12.0-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 776.3 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 844f1db41173b53fe40c44b3e04fcca23a6ce00ac328b7099f2800e611766845
MD5 0c1a13b52f668cea712ec710c8569ec9
BLAKE2b-256 8f27addb0019d7aa3704576ca9c055f7566a3db31f95110e55b31173b87aec4a

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp38-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: torch-1.12.0-cp38-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 48.9 MB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp38-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44a3804e9bb189574f5d02ccc2dc6e32e26a81b3e095463b7067b786048c6072
MD5 37dae71ed363b4751f695048c3c0fb08
BLAKE2b-256 93f249064a51408aa6b249ffb3d4f5d2b87600637b0778117e0d9d7f483309cd

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp38-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: torch-1.12.0-cp38-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 137.6 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp38-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2143d5fe192fd908b70b494349de5b1ac02854a8a902bd5f47d13d85b410e430
MD5 0b9d59a16307d02cf49c142174086af2
BLAKE2b-256 94533ee8fed5449e108a7ddfe7a89736e2998461f9778c889737eab43aa24a56

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: torch-1.12.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 161.9 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7ddb167827170c4e3ff6a27157414a00b9fef93dea175da04caf92a0619b7aee
MD5 8198bd0c203d660bfbbd887faf691595
BLAKE2b-256 a139b2080f1a03618f0c16fdaccc7f25f5522cf267525c684e136cd25f72b613

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp38-cp38-manylinux2014_aarch64.whl.

File metadata

  • Download URL: torch-1.12.0-cp38-cp38-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 55.7 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0399746f83b4541bcb5b219a18dbe8cade760aba1c660d2748a38c6dc338ebc7
MD5 a7d12bf59b89e554b66956c08330b0e1
BLAKE2b-256 5ad5e29e92ab033fb6ea1c9103f943549291df59b78dac8079312bb7a93d1b7d

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: torch-1.12.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 776.3 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0986685f2ec8b7c4d3593e8cfe96be85d462943f1a8f54112fc48d4d9fbbe903
MD5 1d97016ebadee0301b7a1c84551e6378
BLAKE2b-256 86c330eb447a38bb73d57883ec0941e213249b2001d78332a3026351e0ee8d1f

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp37-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: torch-1.12.0-cp37-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 48.9 MB
  • Tags: CPython 3.7, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp37-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 72207b8733523388c49d43ffcc4416d1d8cd64c40f7826332e714605ace9b1d2
MD5 0837a984f1d6e698680300737b05dd3e
BLAKE2b-256 bc2f0114d981300640fce74b6815fdf96c68e4ea362db59bea501180474dadfe

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp37-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: torch-1.12.0-cp37-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 137.5 MB
  • Tags: CPython 3.7, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp37-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 abbdc5483359b9495dc76e3bd7911ccd2ddc57706c117f8316832e31590af871
MD5 60fe92001310f4a90c4a1445f951d626
BLAKE2b-256 5d2d6a319cd56da3bb40ed9448f97bf9e61c6b14c5d1460f85e608da904ac172

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: torch-1.12.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 161.9 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fb47291596677570246d723ee6abbcbac07eeba89d8f83de31e3954f21f44879
MD5 2c6f8be095eb918045f668cce92eba24
BLAKE2b-256 e2946d8ff9dab8b9b88efd233890c4e494cc1084268e06b7791af440be5a8f6b

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp37-cp37m-manylinux2014_aarch64.whl.

File metadata

  • Download URL: torch-1.12.0-cp37-cp37m-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 55.8 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp37-cp37m-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a1325c9c28823af497cbf443369bddac9ac59f67f1e600f8ab9b754958e55b76
MD5 3e7b5af0ddef004aadad610aa3c29e89
BLAKE2b-256 39465bd0729de7dca1917274ed4b423e5dfa2b3bdb6d8253e75d133f1a63b3b5

See more details on using hashes here.

Provenance

File details

Details for the file torch-1.12.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: torch-1.12.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 776.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for torch-1.12.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 60d06ee2abfa85f10582d205404d52889d69bcbb71f7e211cfc37e3957ac19ca
MD5 30d7f1cb631f2acf355af923f0615c1a
BLAKE2b-256 09e003c31c44805679550fce01bb1de47b32aab06e677c8afc5c91bc2fd68e7c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page