-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSM wrapper #357
base: dev
Are you sure you want to change the base?
SSM wrapper #357
Conversation
Added wrappers folder. Added Mamba SummaryNetwork wrapper. Added necessary __init__ files.
Added MambaSSM docstring.
Added try-catch for Mamba import to remove hard dependence. Added docstring for MambaSSM. Added custom parameters for MambaSSM.
Removed (temp) serializable decorator and import from MambaSSM. Added mamba_version arg to MambaSSM constructor. Added mamba_blocks arg to MambaSSM constructor. Reordered args in MambaSSM constructor. Updated docstring for MambaSSM. Added block generation and version handling to MambaSSM wrapper. Updated LV benchmark docstring.
Added necessary device spec to Mamba generator.
Added activation between Mamba blocks.
Switched ReLU to Sigmoid activation. ReLU caused exploding gradients
Switched activation to softplus
Switched activation to log1exp
Removed activations. Added dt_min, dt_max args
Fixed py syntax error
Added LayerNorm to Mamba blocks
Reorder layerNorm and SSM operation
Added soft scaling after mamba pass
Replaced generator with specific mamba constructors due to new input args. Added new hidden ssm dim arg.
Removed mamba2 support due to instability
Removed file that will be later renamed on dev
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
🚀 New features to boost your workflow:
|
Updated mamba block init for linting rules
Great, Chase! Can you merge dev into your branch and make sure the tests are running. Also, no need to change the SIR notebook (revert to default), since we will take one of your upcoming notebooks as an example. |
Implements a wrapper to run a Mamba SummaryNetwork with BayesFlow
https://github.com/state-spaces/mamba