Skip to main content

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.0

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

Total release size: 889.8 MB

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

Download URL cutensor_cu12-2.8.0-py3-none-win_amd64.whl
Size 281.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
0f5e7a34b79166c7b1f0ffc405790a2e69f3f65f2028790acbd6d43dc7881a23
BLAKE2b-256 checksum
How to use checksums
b971da0c030d508e569485361c892df3af620df70d1b714e9c9d5dcd061d89ae
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.0-py3-none-manylinux2014_x86_64.whl

Download URL cutensor_cu12-2.8.0-py3-none-manylinux2014_x86_64.whl
Size 304.7 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
1efa79032e84b3123266a1d8e013151a72208106c328c53158780841b7e63156
BLAKE2b-256 checksum
How to use checksums
fbdf01042f68b8cb7e1a1e8380d788cb50a1e2e5e5a578435740e49487a6d5f5
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.0-py3-none-manylinux2014_aarch64.whl

Download URL cutensor_cu12-2.8.0-py3-none-manylinux2014_aarch64.whl
Size 303.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
be6c5b8fed32c380d55753ffbf4463036ae311a2653f09630388f9b8e0a8ea87
BLAKE2b-256 checksum
How to use checksums
bcbcd46a4c87850ed81244c1c8dd7a2a2eb5a4b28637a70d8d7a95b92448e514
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.0 This release

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