Slow "Compiling FSM index for all state transitions:" #1183
Unanswered
alexmadey-oc
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Could you share one of the schemas that take the longest with us? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using outlines with vLLM in batch mode. I have many different JSON schemas, some of which may have many rows in a given batch but others may only have a single row. In the output when doing generation there is a log message "Compiling FSM index for all state transitions:". In many cases this will take about 20-40 seconds per new schema. This time adds significantly to my total run time, often taking much longer than the actual generation. I'm wondering if there's any way to speed it up.
Beta Was this translation helpful? Give feedback.
All reactions