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.

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

Total release size: 893.7 MB

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

Download URL cutensor_cu12-2.8.1-py3-none-win_amd64.whl
Size 282.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
06de3707b9aac65e174539abdb23ae9a66df3d4a09c9ad4ca394b987d156ce3a
BLAKE2b-256 checksum
How to use checksums
70189e4ea3cedcbb4f134d28a99b18d291bbc353cbd5316dc7d0f0d71f3473e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

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

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

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

Download URL cutensor_cu12-2.8.1-py3-none-manylinux2014_aarch64.whl
Size 304.8 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
dc02e56c7b21d2e918134b81d01fe4a037e72356cc9a076cb7d2b76b3e8b62cd
BLAKE2b-256 checksum
How to use checksums
be83984098675edb71655c04e3655fa6a2fec5a90946b6c6ec74721779d418c4
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

2.2.0

3 release files

2.0.2

3 release files

2.0.1

3 release files

2.0.0

3 release files

1.7.0

3 release files

1.6.2

2 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