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

@@ -307,5 +307,5 @@ class SamplingBatchInfo:
other_val = getattr(other, item, None)
setattr(self, item, torch.cat([self_val, other_val]))
self.is_all_greedy |= other.is_all_greedy
self.is_all_greedy &= other.is_all_greedy
self.need_min_p_sampling |= other.need_min_p_sampling