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

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.

NVIDIA CUDA Support

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

AMD ROCm Support

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.

Intel GPU Support

If you want to compile with Intel GPU support, follow these

If you want to disable Intel GPU support, export the environment variable USE_XPU=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

pip install mkl-static mkl-include
# CUDA only: Add LAPACK support for the GPU if needed
conda install -c pytorch magma-cuda121  # 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
# For Intel GPU support, please explicitly `export USE_XPU=1` before running command.
make triton

On MacOS

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

On Windows

pip install mkl-static 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.

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.

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

If you're not sure about the file name format, learn more about wheel file names.

torch-2.4.1-cp312-none-macosx_11_0_arm64.whl (62.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

torch-2.4.1-cp312-cp312-win_amd64.whl (199.4 MB view details)

Uploaded CPython 3.12Windows x86-64

torch-2.4.1-cp312-cp312-manylinux2014_aarch64.whl (89.6 MB view details)

Uploaded CPython 3.12

torch-2.4.1-cp312-cp312-manylinux1_x86_64.whl (797.0 MB view details)

Uploaded CPython 3.12

torch-2.4.1-cp311-none-macosx_11_0_arm64.whl (62.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

torch-2.4.1-cp311-cp311-win_amd64.whl (199.4 MB view details)

Uploaded CPython 3.11Windows x86-64

torch-2.4.1-cp311-cp311-manylinux2014_aarch64.whl (89.7 MB view details)

Uploaded CPython 3.11

torch-2.4.1-cp311-cp311-manylinux1_x86_64.whl (797.1 MB view details)

Uploaded CPython 3.11

torch-2.4.1-cp310-none-macosx_11_0_arm64.whl (62.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

torch-2.4.1-cp310-cp310-win_amd64.whl (199.4 MB view details)

Uploaded CPython 3.10Windows x86-64

torch-2.4.1-cp310-cp310-manylinux2014_aarch64.whl (89.7 MB view details)

Uploaded CPython 3.10

torch-2.4.1-cp310-cp310-manylinux1_x86_64.whl (797.1 MB view details)

Uploaded CPython 3.10

torch-2.4.1-cp39-none-macosx_11_0_arm64.whl (62.1 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

torch-2.4.1-cp39-cp39-win_amd64.whl (199.3 MB view details)

Uploaded CPython 3.9Windows x86-64

torch-2.4.1-cp39-cp39-manylinux2014_aarch64.whl (89.7 MB view details)

Uploaded CPython 3.9

torch-2.4.1-cp39-cp39-manylinux1_x86_64.whl (797.1 MB view details)

Uploaded CPython 3.9

torch-2.4.1-cp38-none-macosx_11_0_arm64.whl (62.1 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

torch-2.4.1-cp38-cp38-win_amd64.whl (199.4 MB view details)

Uploaded CPython 3.8Windows x86-64

torch-2.4.1-cp38-cp38-manylinux2014_aarch64.whl (89.7 MB view details)

Uploaded CPython 3.8

torch-2.4.1-cp38-cp38-manylinux1_x86_64.whl (797.1 MB view details)

Uploaded CPython 3.8

File details

Details for the file torch-2.4.1-cp312-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torch-2.4.1-cp312-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 72b484d5b6cec1a735bf3fa5a1c4883d01748698c5e9cfdbeb4ffab7c7987e0d
MD5 4ef0c38584cc48420d1920ef1dc28a0c
BLAKE2b-256 ac308b6f77ea4ce84f015ee024b8dfef0dac289396254e8bfd493906d4cbb848

See more details on using hashes here.

File details

Details for the file torch-2.4.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: torch-2.4.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 199.4 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for torch-2.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ebea70ff30544fc021d441ce6b219a88b67524f01170b1c538d7d3ebb5e7f56c
MD5 85185b12458fbe99c7c6544e23b18c99
BLAKE2b-256 a8e0ca8354dfb8d834a76da51b06e8248b70fc182bc163540507919124974bdf

See more details on using hashes here.

File details

Details for the file torch-2.4.1-cp312-cp312-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for torch-2.4.1-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 18835374f599207a9e82c262153c20ddf42ea49bc76b6eadad8e5f49729f6e4d
MD5 4bd4d544d7dfb1e1d1544a74d9dc95aa
BLAKE2b-256 4f16d23a689e5ef8001ed2ace1a3a59f2fda842889b0c3f3877799089925282a

See more details on using hashes here.

File details

Details for the file torch-2.4.1-cp312-cp312-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for torch-2.4.1-cp312-cp312-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fdc4fe11db3eb93c1115d3e973a27ac7c1a8318af8934ffa36b0370efe28e042
MD5 1377a31599d5ed9fb5c93619f858e756
BLAKE2b-256 ccdf5204a13a7a973c23c7ade615bafb1a3112b5d0ec258d8390f078fa4ab0f7

See more details on using hashes here.

File details

Details for the file torch-2.4.1-cp311-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for torch-2.4.1-cp311-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ddddbd8b066e743934a4200b3d54267a46db02106876d21cf31f7da7a96f98ea
MD5 d97f3a999996889f8444330a7fa798a9
BLAKE2b-256 1f34c93873c37f93154d982172755f7e504fdbae6c760499303a3111ce6ce327

See more details on using hashes here.

File details

Details for the file torch-2.4.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: torch-2.4.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 199.4 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for torch-2.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 092e7c2280c860eff762ac08c4bdcd53d701677851670695e0c22d6d345b269c
MD5 fc077daef6f77671f4587a7bb96ff5c0
BLAKE2b-256 5a6a775b93d6888c31f1f1fc457e4f5cc89f0984412d5dcdef792b8f2aa6e812

See more details on using hashes here.

File details

Details for the file torch-2.4.1-cp311-cp311-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for torch-2.4.1-cp311-cp311-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ef503165f2341942bfdf2bd520152f19540d0c0e34961232f134dc59ad435be8
MD5 5ddd825ca2a91db57084897882851769
BLAKE2b-256 8fa1b31f94b4631c1731261db9fdc9a749ef58facc3b76094a6fe974f611f239

See more details on using hashes here.

File details

Details for the file torch-2.4.1-cp311-cp311-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for torch-2.4.1-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0b5f88afdfa05a335d80351e3cea57d38e578c8689f751d35e0ff36bce872113
MD5 b17f5cdf7c2765a3f4a16385fb92fd62
BLAKE2b-256 eaea4ab009e953bca6ff35ad75b8ab58c0923308636c182c145dc63084f7d136

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp310-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d36a8ef100f5bff3e9c3cea934b9e0d7ea277cb8210c7152d34a9a6c5830eadd
MD5 c62a7dd92c4459b3622560bc5d87d3d3
BLAKE2b-256 dcfb1333ba666bbd53846638dd75a7a1d4eaf964aff1c482fc046e2311a1b499

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torch-2.4.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 199.4 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for torch-2.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 91e326e2ccfb1496e3bee58f70ef605aeb27bd26be07ba64f37dcaac3d070ada
MD5 7203df01969e07cb4c7445df0e540296
BLAKE2b-256 5d4cb2a59ff0e265f5ee154f0d81e948b1518b94f545357731e1a3245ee5d45b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp310-cp310-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e8ac1985c3ff0f60d85b991954cfc2cc25f79c84545aead422763148ed2759e3
MD5 32ead1716b61f5f2f10e7450f0b6de8e
BLAKE2b-256 a0122162df9c47386ae7cedbc938f9703fee4792d93504fab8608d541e71ece3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 362f82e23a4cd46341daabb76fba08f04cd646df9bfaf5da50af97cb60ca4971
MD5 8ef8f82d0a4f6ab0bfb1b139ad7bf641
BLAKE2b-256 4105d540049b1832d1062510efc6829634b7fbef5394c757d8312414fb65a3cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp39-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a38de2803ee6050309aac032676536c3d3b6a9804248537e38e098d0e14817ec
MD5 85f3e7baf9ee3d1292c0689387a495eb
BLAKE2b-256 e781c05013695bfb3762f3c657a557407f152a0a0452b3ccec437a4a59848fb5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torch-2.4.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 199.3 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for torch-2.4.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6bce130f2cd2d52ba4e2c6ada461808de7e5eccbac692525337cfb4c19421846
MD5 3e121d958ca234d8aba3da8be7bc4262
BLAKE2b-256 ef44238ef95daf345bab21afa0ca37b2896dfc20cd93b6b75722717685fdeb10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c9299c16c9743001ecef515536ac45900247f4338ecdf70746f2461f9e4831db
MD5 a882e115e908983b638e0e1f4ad83f68
BLAKE2b-256 3d5d4e9a7e5b7f11710519c38fe6a9f588a91fd23e6e9722e79f90f03823222d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 40f6d3fe3bae74efcf08cb7f8295eaddd8a838ce89e9d26929d4edd6d5e4329d
MD5 7b7a9e72882b70467a0c06d5f868330e
BLAKE2b-256 14d6caa3ccde685a3bfedeed1454d82b2eb520e611d1b36bf748f54475de333f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp38-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5fc1d4d7ed265ef853579caf272686d1ed87cebdcd04f2a498f800ffc53dab71
MD5 bd2a3c8937a50debb27887d76035e1bc
BLAKE2b-256 c4884d9f66de5fe732462a2713c9931cab614d3fd6a9b5d9ee1f04768ad64daa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torch-2.4.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 199.4 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for torch-2.4.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f18197f3f7c15cde2115892b64f17c80dbf01ed72b008020e7da339902742cf6
MD5 d2ce10c0ae6b6ca8cf3ac2896ec88c3e
BLAKE2b-256 9d5837166e7f71cd35e7f76d462fa058758a0aa6c31c1a7e26290f7898d37360

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp38-cp38-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b57f07e92858db78c5b72857b4f0b33a65b00dc5d68e7948a8494b0314efb880
MD5 7fe0c2e19bff405401c37e7d912df39b
BLAKE2b-256 8eb4ed11fb6b5bb0f08e1f9b1f979e22f0e5f1950bda9d5962f8f7da5e0477e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch-2.4.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c99e1db4bf0c5347107845d715b4aa1097e601bdc36343d758963055e9599d93
MD5 fb9290b06decc34dec2086e834e6fbc2
BLAKE2b-256 a97145aac46b75742e08d2d6f9fc2b612223b5e36115b8b2ed673b23c21b5387

See more details on using hashes here.

Supported by

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