Fix constrained decoding (#1634)

This commit is contained in:
Lianmin Zheng authored and GitHub committed 2024-10-11 06:26:20 -07:00
1 parent 81c3327402
commit 5d09ca5735
2 files changed
+22 -4

No files matched your search

@@ -810,6 +810,8 @@ class ScheduleBatch:
self.sampling_info.regex_fsm_states = [
req.regex_fsm_state for req in self.reqs
]
else:
self.sampling_info.regex_fsms = None
return ModelWorkerBatch(
forward_mode=self.forward_mode,