We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ffd905 commit 7fb78a5Copy full SHA for 7fb78a5
mamba_ssm/modules/mamba2.py
@@ -31,8 +31,10 @@
31
from mamba_ssm.ops.triton.ssd_combined import mamba_chunk_scan_combined
32
from mamba_ssm.ops.triton.ssd_combined import mamba_split_conv1d_scan_combined
33
34
+from huggingface_hub import PyTorchModelHubMixin
35
-class Mamba2(nn.Module):
36
+
37
+class Mamba2(nn.Module, PyTorchModelHubMixin):
38
def __init__(
39
self,
40
d_model,
0 commit comments