Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions python/sglang/srt/server_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,9 @@ def _generate_cuda_graph_batch_sizes(self):

capture_bs = [bs for bs in capture_bs if bs <= self.cuda_graph_max_bs]

if self.cuda_graph_max_bs not in capture_bs:
capture_bs.append(self.cuda_graph_max_bs)

return capture_bs

def _generate_piecewise_cuda_graph_tokens(self):
Expand Down
Loading