Simulation / Modeling / Design

Accelerating ReLu and GeLu Activation Functions, and Batched Sparse GEMM in cuSPARSELt v0.2.0

AI-Generated Summary

  • cuSPARSELt version 0.2.0 adds support for activation functions including ReLU with upper bound and threshold settings, and GeLU for INT8 I/O with INT32 Tensor Core compute kernels.
  • The release introduces Batched Sparse GEMM capabilities supporting single sparse matrix with multiple dense matrices, multiple sparse and dense matrices, and batched bias vectors.
  • Compatibility changes include removal of the nvrtc library dependency and deprecation of Ubuntu 16.04 (gcc-5) support, which will be removed in future releases.
  • The library provides mixed-precision computation support across FP16, BFLOAT16, INT8, FP32, and TF32 data types with Tensor Core acceleration.
  • Auto-tuning functionality through cusparseLtMatmulSearch enables algorithm and operation selection optimization for sparse matrix operations.

Next Steps

Powered by NVIDIA Nemotron. AI-generated content may summarize information incompletely. Verify important information. Learn more

Today, NVIDIA is announcing the availability of cuSPARSELt, version 0.2.0, which increases performance on activation functions, bias vectors, and Batched Sparse GEMM. This software can be downloaded now free of charge.

Download the cuSPARSELt software.

What’s New?

  • Support for activation functions and bias vector:
    • ReLU + upper bound and threshold setting for all kernels.
    • GeLU for INT8 I/O, INT32 Tensor Core compute kernels.
  • Support for Batched Sparse GEMM:
    • Single sparse matrix / Multiple dense matrices (Broadcast).
    • Multiple sparse and dense matrices.
    • Batched bias vector.
  • Compatibility notes:
    • cuSPARSELt does not require the nvrtc library anymore.
    • Support for Ubuntu 16.04 (gcc-5) is now deprecated and it will be removed in future releases.

For more technical information, see the cuSPARSELt Release Notes.

About cuSPARSELt

NVIDIA cuSPARSELt is a high-performance CUDA library dedicated to general matrix-matrix operations in which at least one operand is a sparse matrix:

\(D=\alpha op(A)*op(B)+\beta op(C)\)

In this equation, \(op(A)\) and \(op(B)\) refer to in-place operations such as transpose and nontranspose.

The cuSPARSELt APIs provide flexibility in the algorithm/operation selection, epilogue, and matrix characteristics, including memory layout, alignment, and data types.

Key Features

  • NVIDIA Sparse MMA Tensor Core support.
  • Mixed-precision computation support:
    • FP16 I/O, FP32 Tensor Core accumulate.
    • BFLOAT16 I/O, FP32 Tensor Core accumulate.
    • INT8 I/O, INT32 Tensor Core compute.
    • FP32 I/O, TF32 Tensor Core compute.
    • TF32 I/O, TF32 Tensor Core compute.

Learn more

Recent Developer posts

Discuss (0)

Tags