Overview of CUTLASS Operator API features
mainThe CUTLASS Operator API provides a high-level Python interface for managing and integrating CUTLASS kernels.
Key Capabilities:
- Kernel Discovery: Use
get_operators(args)to find kernels matching specific dtypes, layouts, and hardware constraints. - Consistent Interface: Pass PyTorch or DLPack tensors directly into argument objects and call
.run(args)without writing kernel-specific glue code. - Custom Epilogue Fusions: Pass a plain Python function to fuse activations or elementwise operations into supported kernels via the CuTe DSL's Epilogue Fusion Configuration (EFC) framework.
- Bring-Your-Own-Kernel: Register custom CuTe DSL kernels to use them through the same interface as officially maintained kernels.
- Automatic Updates: Upgrading
nvidia-cutlass-operatorsautomatically provides access to new kernels, fixes, and optimizations in the registry.