Skip to main content

cuTENSOR: A High-Performance CUDA Library For Tensor Primitives

cuTENSOR is a high-performance CUDA library for tensor primitives.

Key Features

  • Extensive mixed-precision support:

    • FP64 inputs with FP32 compute.

    • FP32 inputs with FP16, BF16, or TF32 compute.

    • Complex-times-real operations.

    • Conjugate (without transpose) support.

  • Support for up to 64-dimensional tensors.

  • Arbitrary data layouts.

  • Trivially serializable data structures.

  • Multi-process distributed tensor contractions with cuTENSORMp (Linux only).

  • Main computational routines:

    • Direct (i.e., transpose-free) tensor contractions.

      • Support just-in-time compilation of dedicated kernels.

    • Tensor reductions (including partial reductions).

    • Element-wise tensor operations:

      • Support for various activation functions.

      • Support for padding of the output tensor

      • Arbitrary tensor permutations.

      • Conversion between different data types.

Documentation

Please refer to https://docs.nvidia.com/cuda/cutensor/index.html for the cuTENSOR documentation.

Installation

The cuTENSOR wheel can be installed as follows:

pip install cutensor-cuXX

where XX is the CUDA major version (currently CUDA 12 & 13 are supported). The package cutensor (without the -cuXX suffix) is deprecated. If you have cutensor installed, please remove it prior to installing cutensor-cuXX.

On Linux, install the optional mp extra to use cuTENSORMp. This installs the matching NVIDIA NCCL runtime:

pip install "cutensor-cuXX[mp]"

The mp extra installs NCCL only. The NCCL-backed cuTENSORMp library is not linked against MPI, so the wheel deliberately does not select an MPI implementation. MPI-based applications and samples require an external MPI development installation and launcher, such as Open MPI, MPICH, or NVIDIA HPC-X. Compiling the samples also requires a CUDA development toolkit with nvcc.

Metadata

Release files for cutensor-cu13 2.8.1

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 cutensor-cu13 2.8.1
File Interpreter ABI Platform
cutensor_cu13-2.8.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
cutensor_cu13-2.8.1-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
cutensor_cu13-2.8.1-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details

Total release size: 606.3 MB

Release files / cutensor_cu13-2.8.1-py3-none-win_amd64.whl

Download URL cutensor_cu13-2.8.1-py3-none-win_amd64.whl
Size 187.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7e32a123f03fbbbe361c825fcd19c844ea53442a28740b4fea192d1f2095b864
BLAKE2b-256 checksum
How to use checksums
75ba1fd4ab29ebaf876b39f6b140eeb7b0870e2b12d471a65bd14a3b96c815d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / cutensor_cu13-2.8.1-py3-none-manylinux2014_x86_64.whl

Download URL cutensor_cu13-2.8.1-py3-none-manylinux2014_x86_64.whl
Size 210.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
49a6e319c956c2b80e4322d43a9442d595deea176413cd2fa2d45967edea09c5
BLAKE2b-256 checksum
How to use checksums
6e64a9a8d9a5e36fb944deab0e2f1118598076cdf829f2e0df030d5b46215478
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / cutensor_cu13-2.8.1-py3-none-manylinux2014_aarch64.whl

Download URL cutensor_cu13-2.8.1-py3-none-manylinux2014_aarch64.whl
Size 208.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
bc3a9a5182cfc58b8fdbf245045784bf134c5e039b948271df8e4299646cb46a
BLAKE2b-256 checksum
How to use checksums
aae5a5ae94ac6877063c122033299031f06d5c869b06db979f7387157fca6285
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

2.8.1 This release

3 release files

2.8.0

3 release files

2.7.0

3 release files

2.6.0

3 release files

2.5.0

3 release files

2.4.1

3 release files

2.3.1

3 release files

2.3.0

3 release files

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