state-spaces / mamba

Mamba SSM architecture
Apache License 2.0
12.45k stars 1.05k forks source link

Where is ‘Block’ class in the new version mamba? #480

Open ZaPravdu opened 1 month ago

ZaPravdu commented 1 month ago

I got an error when I try to import Mamba, Block from mamba_ssm.modules.mamba_simple. ImportError: cannot import name 'Block' from 'mamba_ssm.modules.mamba_simple' I am sure 'Block' existed in version 1.2.0. Have you delete this implement?

tridao commented 1 month ago

It's moved to mamba_ssm/modules/block.py