On the small model, the actual GPU memory usage of Mamba2 is much higher than that of Mamba1. · Issue #439 · state-spaces/mamba
The parameters of the Mamba2 model are d_state=32, d_conv=4, expand=2, and head_dim=32 (using "nn. Conv1d" with padding method, without the constraint of d_model/head_dim%8==0). Mamba1 maintains the same parameters except for the absence of head_dim. Although the inference speed of Mamba2 has almost doubled compared to Mamba1, the actual memory usage has increased from 4.82G to 7.55G (in my task). I would like to ask if this is due to the basic computational load of Mamba2's semi separation matrix, which poses a disadvantage in small-scale models? I see in your paper that on larger scale models, the actual memory usage of Mamba2 is lower. The text was updated successfully, but these errors were encountered: nn.Conv1d is probably not great for memory usage. You should try to use causal_conv1d. Sorry, something went wrong. nn.Conv1d is probably not great for memory usage. You should try to use causal_conv1d. Okay, thank you for your rep
On the small model, the actual GPU memory usage of Mamba2 is much higher than that of Mamba1. · Issue #439 · state-spaces/mamba · GitHub Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} Uh oh! There was an error while loading. Please reload this page . state-spaces / mamba Public Notifications You must be signed in to change notification settings Fork 1.8k Star 18.6k On the s
Explore this link on the map →related reading
- Mamba: The Easy Wayjackcook.com
- Mamba No. 5 (A Little Bit Of…) | Sparse Notesjameschen.io
- Transformer Math 101 | EleutherAI Blogblog.eleuther.ai
- State Space Duality (Mamba-2) Part I - The Model | Goomba Labgoombalab.github.io
- State Space Duality (Mamba-2) Part I - The Model | Tri Daotridao.me
- Transformer Inference Arithmetic | kipply's blogkipp.ly
- Reiner Pope – The math behind how LLMs are trained and serveddwarkesh.com
- Santosh Sawant - Jamba: A Hybrid Transformer-Mamba Language Modelssawant.github.io
- How is LLaMa.cpp possible?finbarr.ca
- Mamba Explainedthegradient.pub
- MambaByte: Token-free Selective State Space Modelarxiv.org
- A Visual Guide to Mamba and State Space Modelsnewsletter.maartengrootendorst.com