Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy committed Aug 16, 2024
1 parent ce604f6 commit 276835d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/sglang/srt/model_executor/cuda_graph_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ def replay(self, batch: ScheduleBatch):
index = bisect.bisect_left(self.batch_size_list, raw_bs)
bs = self.batch_size_list[index]
if bs != raw_bs:
self.input_ids.zero_()
self.req_pool_indices.zero_()
self.seq_lens.zero_()
self.position_ids_offsets.fill_(1)
self.out_cache_loc.zero_()
Expand Down

0 comments on commit 276835d

Please sign in to comment.