File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
vllm/model_executor/layers/mamba/ops Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -511,9 +511,6 @@ def _chunk_scan_fwd(
511
511
# with initial states, we need to take care of how
512
512
# seq_idx crosses the boundaries
513
513
assert batch == 1 , "chunk scan only supports initial states with batch 1"
514
- # The following assertion causes D2H copy - removing for now
515
- # assert initial_states.shape == (seq_idx[0].max() + 1, nheads,
516
- # headdim, dstate)
517
514
518
515
if initial_states .shape [0 ] == 1 :
519
516
# no in this case no point to use initial states
Original file line number Diff line number Diff line change @@ -150,9 +150,6 @@ def _state_passing_fwd(
150
150
# are used for continuous batching. In which case we
151
151
# require seq_idx to be provided
152
152
assert seq_idx is not None , ""
153
- # The following assertion causes D2H copy - removing for now
154
- # assert initial_states.shape == (seq_idx.max().item() + 1, nheads,
155
- # dim)
156
153
else :
157
154
# - this is the regular batching case, where initial
158
155
# states are used are for each example of the batch.
You can’t perform that action at this time.
0 commit comments