Causal depthwise 1D convolution CUDA kernel with PyTorch interface, commonly used as a building block for state-space models like Mamba. Current version: 1.6.1. Active development; breaking API changes between v1.x versions.
pip install causal-conv1dNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: apply causal depthwise conv1d on CUDA tensor.
Update calls: use activation='silu' (or None) and remove dims from kwargs.
Move tensors to CUDA: x = x.cuda() before calling causal_conv1d_fn.
Verify weight shape: weight.shape should be (C, K) where C is channels and K is kernel size (odd).
Change import to: from causal_conv1d import causal_conv1d_fn