From 3cf3f960cf3319b9be74335763a8978418482c49 Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Thu, 19 Oct 2023 19:33:08 -0500 Subject: [PATCH] Disable eager Numba FSM info construction step in parser --- outlines/text/parsing.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/outlines/text/parsing.py b/outlines/text/parsing.py index 6ec9ef2d5..fc34fff7f 100644 --- a/outlines/text/parsing.py +++ b/outlines/text/parsing.py @@ -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, ...]]: