-
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
I authored the blog with some other contributors and worked on the feature (PR: https://github.com/ollama/ollama/pull/7900).
The current implementation uses llama.cpp GBNF grammars. The more recent research (Outlines, XGrammar) points to potentially speeding up the sampling process through FSTs and GPU parallelism.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Hi, just wanted to say how much I appreciate your work.
I'm curious if you have considered implementing Microsoft's Guidance (https://github.com/guidance-ai/guidance)? Their approach offers significant speed improvements, which I understand can sometimes be shortcoming of GBNF (e.g https://github.com/ggerganov/llama.cpp/issues/4218).
-
If anyone needs a more powerful constrain outputs, llama.cpp support gbnf:
https://github.com/ggerganov/llama.cpp/blob/master/grammars/...
-
If you want avoid startup cost, llguidance [0] has no compilation phase and by far the fullest JSON support [1] of any library. I did a PoC llama.cpp integration [2] though our focus is mostly server-side [3].
[0] https://github.com/guidance-ai/llguidance
-
Related posts
-
Ollama's llama.cpp licensing issue goes unanswered for over a year
-
Show HN: Clippy, 90s UI for local LLMs
-
My 2.5 year old laptop can write Space Invaders in JavaScript now (GLM-4.5 Air)
-
Void + Ollama + LLMs: How I Turned My Code Editor into a Full-Blown AI Workbench
-
Xiaomi unveils open-source AI reasoning model MiMo