Replies: 2 comments 3 replies
-
Per your request @ogencoglu (here), I'll leave some comments on why I tried, and we I'm abandoning LMQL, and this will include comparisons with EDIT 2 weeks later: The 1.) 2.) My first impression is that the LMQL team put far more effort into a shoddy 3.) So python "is supported" right? The syntax parser stinks. It breaks for no apparent reason, and gives inscrutable error messages. Now, a comparison to 4.) I've logged 3 bugs. And 1 discord question** that's gone unanswered, which is, if you use nested prompting (which is so much less ergonomic than 5.) I could not get GPTQ models working with LMQL 6.) There's a memory leak in the server. 7.) The server doesn't allow me to set up my own 8.) 9.) Falcon was a nightmare to get running, and GPTQ was impossible. 10.) Guideline's "token healing" is a necessary feature, IMO. And there was more to that battle I'm not mentioning, but those were the big ones. So how about
I would guess My major gripe with As a litmus test, I'll be happy to revisit LMQL some day for that killer inlining feature if any of the above are addressed! And sorry for the rant. I just burned a day each on trying to get |
Beta Was this translation helpful? Give feedback.
-
We have a comparison with Guidance here: https://docs.lmql.ai/en/stable/python/comparison.html. Outlines is another option in the constrained decoding space, however, as far as I know the project, they are much more focused on e.g. Regex constraining and less on an overall programmability aspect of LLMs. We are closely tracking their work on FSM-based constraining, although it is less obvious to bring this directly to LMQL, as our goal is to support a broader set of backends, including high-level APIs like OpenAI, which do not support this kind of optimisation directly. However, I think it is also actually possible to combine LMQL and Outlines, e.g. using their form constraining as LMQL constraints, if one writes the necessary glue code for that. All in all, I would advise to test drive both, and to decide based on personal preference and requirements, what better suits your workload. |
Beta Was this translation helpful? Give feedback.
-
Something relevant: dottxt-ai/outlines#224 (comment)
Beta Was this translation helpful? Give feedback.
All reactions