Skip to content

Commit

Permalink
Disable eager Numba FSM info construction step in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed Oct 20, 2023
1 parent a51d60d commit 3cf3f96
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions outlines/text/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,9 +538,6 @@ def __init__(self, terminals, g_regex_flags, re_, use_bytes, match_whole=False):

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

# Eagerly construct the `FSMInfo` object
_ = self.fsm.fsm_info

def get_terminals_info(
self, fsm_state_seq
) -> Tuple[Tuple[PartialTerminalInfo, ...], Tuple[PartialTerminalInfo, ...]]:
Expand Down

0 comments on commit 3cf3f96

Please sign in to comment.