Skip to content

Commit 3cf3f96

Browse files
Disable eager Numba FSM info construction step in parser
1 parent a51d60d commit 3cf3f96

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

outlines/text/parsing.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,9 +538,6 @@ def __init__(self, terminals, g_regex_flags, re_, use_bytes, match_whole=False):
538538

539539
self.fsm, self.fsms_to_trans_finals = fsm_union(fsms)
540540

541-
# Eagerly construct the `FSMInfo` object
542-
_ = self.fsm.fsm_info
543-
544541
def get_terminals_info(
545542
self, fsm_state_seq
546543
) -> Tuple[Tuple[PartialTerminalInfo, ...], Tuple[PartialTerminalInfo, ...]]:

0 commit comments

Comments
 (0)