[Model] Reduce redundant computations in mamba2 blocks for Bamba-9B #15423
cyang49
force pushed
to
4c672ff2
1 year ago
cyang49
force pushed
from
9b3705b3
1 year ago
Reduce cpu-gpu synchronization in mamba2 chunked prefill
2be3f161
Reduce redundancy in mamba2 blocks
08df5615
refactored mixer and bamba
a7b363cd
lint
e06a170e
disable assertions that causes d2h copies in mamba2
678e6910
simplify seq_idx computation
21ebc660
Revert "simplify seq_idx computation" as repeat_interleave
569185e8
remove assertions that cause synchronizations
01d5a332
Pack mamba2 metadata
017597e9
pack more into mamba2 metadata
c0ead4d3
Patching mamba2 and zamba2
4382192e
cyang49
force pushed
to
4382192e
1 year ago
Add back torch.any on has_inital_states to recover original semantics
080eee92
moving more redundant computation into metadata prep
7236a55b
cyang49
marked this pull request as ready for review 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub