The mamba-ssm kernel currently still requires the causal-conv1d library to be installed for some operations, e.g. in the file selective_scan_interface.py functions are imported from the package:
try:
from causal_conv1d import causal_conv1d_fn
from causal_conv1d.causal_conv1d_interface import causal_conv1d_cuda
except ImportError:
causal_conv1d_fn = None
causal_conv1d_cuda = None
However, a kernel for causal-conv1d already exists. Is it possible/supported to instead load the functions from the causal-conv1d kernel to get rid of the dependency on the library?
The
mamba-ssmkernel currently still requires thecausal-conv1dlibrary to be installed for some operations, e.g. in the file selective_scan_interface.py functions are imported from the package:However, a kernel for
causal-conv1dalready exists. Is it possible/supported to instead load the functions from thecausal-conv1dkernel to get rid of the dependency on the library?