Support incremental streaming of logprob/token_ids between scheduler and detokenizer (#6225)

Co-authored-by: SangBin Cho <rkooo567@gmail.com>
This commit is contained in:
Lianmin ZhengandSangBin Cho authored and GitHub committed 2025-05-12 14:33:38 -07:00
1 parent f1c896007a
commit d18c6b3358
9 files changed
+257 -86

No files matched your search

@@ -41,7 +41,7 @@ class BaseGrammarObject:
raise NotImplementedError()
def is_terminated(self):
raise NotImplementedError()
return False
def allocate_vocab_mask(
self, vocab_size: int, batch_size: int, device