Comments (4)
@JVP15
I ended up using it like this :
Instantiate an InferenceParams from utils.generation with seqlen_offset=1.
Then pass it to your MixerModel as a keyword argument inference_params, it caches everything automatically.
from mamba.
Ok, I was looking at the wrong place
from mamba.
I am also looking to use Mamba as a vanilla RNN, but I think I've been looking in the wrong places too for the decoding/hidden state logic. Where did you find it?
from mamba.
utils.generation, that is what I was missing, thank you!
from mamba.
Related Issues (20)
- Error when using FP16 or Mixed precision HOT 3
- How to use Mamba2?
- How to extract whole sentence embeddings HOT 1
- Does mamba support data packing?
- Slow Mamba 2 training speeds with higher d_state values HOT 1
- Where is ‘Block’ class in the new version mamba? HOT 1
- mamba_ssm Install Failure HOT 10
- Sequence parallelism in the mixer (Context Parallelism)
- Support Mamba-codestral
- Why does it take so long to build HOT 2
- Is mamba suitable for time-series classification task? HOT 1
- Question on Comparison between Mamba and S4 HOT 1
- Question on State-Space Equations computation HOT 1
- CUDA error: no kernel image is available for execution on the device
- MAMBA 370m fine-tuning HOT 3
- RuntimeError: Triton Error [CUDA]: misaligned address
- The Reproducibility of Mamba
- RuntimeError:CuDA error:unknown error
- why GPU memory cost of Mamba2 Block > full self-attention block? And how to reduce this memory cost when training?
- Some deprications for torch 2.4.0 and triton 3.0.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mamba.