Log if cuda graph is used & extend cuda graph capture to cuda-graph-max-bs (#6201)

Co-authored-by: SangBin Cho <rkooo567@gmail.com>
This commit is contained in:
Lianmin ZhengandSangBin Cho authored and GitHub committed 2025-05-12 00:17:33 -07:00
1 parent 7d3a3d4510
commit fba8eccd7e
27 files changed
+293 -121

No files matched your search

@@ -37,6 +37,12 @@ class BaseGrammarObject:
"""
raise NotImplementedError()
def rollback(self, k: int):
raise NotImplementedError()
def is_terminated(self):
raise NotImplementedError()
def allocate_vocab_mask(
self, vocab_size: int, batch_size: int, device
) -> torch.Tensor: