Skip to main content
Get up and running with CUTLASS Python packages in minutes.

Installation

1

Install CUDA Toolkit

Ensure you have CUDA 11.8+ or 12.x installed:
2

Install CUTLASS Python Package

3

Verify Installation

Test your installation:

CUTLASS Python Interface (cutlass_cppgen)

Basic GEMM Example

The simplest way to run a GEMM with CUTLASS:

With PyTorch Tensors

Configuration Options

CuTe DSL

Hello World Kernel

Your first CUDA kernel with CuTe DSL:

Elementwise Addition

A more complete example showing CuTe’s tiled copy pattern:

Simple GEMM

A basic GEMM kernel using CuTe DSL:

Key Concepts

CuTe uses layout algebra to express memory access patterns:
Partition data across threads for efficient copying:
Matrix multiply-accumulate using Tensor Cores:
Compile kernels to optimized CUDA code:

Next Steps

CuTe DSL Deep Dive

Learn advanced CuTe DSL features and patterns

Examples

Explore more complex examples and benchmarks

PyTorch Integration

Build PyTorch CUDA extensions with CUTLASS

API Reference

Browse the complete API documentation

Troubleshooting

Set CUTLASS_PATH and CUDA_INSTALL_PATH:
Enable debug output: