Data and AI struggles

1,398 problems · 313 companies

LLM apps

llama.cpp fails to return valid structured output

2 posts from 2 people2d activeSteady, +1 this weekunverified

Posts per day

Posts per day2 posts, Sep 17 to Oct 30

The posts behind it

GitHub issuesggml-org/llama.cpp · samsimsomOct 26

Misc. bug: json-schema-to-grammar copies raw control characters (e.g. NUL from "\u0000") in "pattern" verbatim into GBNF → "failed to parse grammar"

### Name and Version `common/json-schema-to-grammar.cpp` on current master (last touched in 48c9f08b7) still has the code path described below. ### Operating systems Mac ### Which llama.cpp modules do you know to be affected? llama-server (`common/json-schema-to-grammar.cpp`)...

3 replies
GitHub issuesggml-org/llama.cpp · mattepiuSep 17

Feature Request: Fast Tool Gating & Single-Pass Selection via Prefill Logit Slicing

### Prerequisites - [x] I am running the latest code. Mention the version if possible as well. - [x] I carefully followed the [README.md](https://github.com/ggml-org/llama.cpp/blob/master/README.md). - [x] I searched using keywords relevant to my issue to make sure that I am...

3 reactions10 replies

Companies and products named

2 posts
1 post
About this problem

Evidence

2 posts from 2 people in 1 place, about 1 a week over 40 days. Mostly on ggml-org/llama.cpp. Tools named alongside: GitHub.

Frustration Frustration 3 of 3· Seen on GitHub issues

How it was grouped

Posts that state a pain and match the "structured-output" rule about llama.cpp. First post Sep 17, 2026, latest Oct 26, 2026. Unverified: fewer than 3 posts, or one person or place only. Method

The same problem elsewhere

Models fail to return valid structured output

15 posts from 13 people on GitHub issues, Hacker News, Reddit.

Claude fails to return valid structured output

10 posts from 8 people on GitHub issues.

OpenAI fails to return valid structured output

9 posts from 9 people on GitHub issues, Hacker News.

LlamaIndex fails to return valid structured output

5 posts from 5 people on GitHub issues.

Model Context Protocol fails to return valid structured output

5 posts from 5 people on GitHub issues, Reddit.

Codex fails to return valid structured output

5 posts from 3 people on GitHub issues.

Ollama fails to return valid structured output

4 posts from 3 people on GitHub issues.

Anthropic fails to return valid structured output

3 posts from 3 people on GitHub issues.

Gemini fails to return valid structured output

3 posts from 3 people on GitHub issues, Reddit.

vLLM fails to return valid structured output

2 posts from 2 people on GitHub issues. Unverified.

Qwen fails to return valid structured output

2 posts from 2 people on GitHub issues. Unverified.

Mistral fails to return valid structured output

2 posts from 2 people on GitHub issues. Unverified.

Other llama.cpp problems

Running llama.cpp locally hits memory and speed limits

35 posts from 32 people on GitHub issues, Reddit.

Trouble with llama.cpp misc

Top post: "Misc. bug: Severe drop in prompt processing speed after b10780 on Vulkan, RDNA3", one of 20 posts from 20 people on GitHub issues.

Trouble with llama.cpp compile

Top post: "Compile bug: rocm-6.3.4, no matching function for call to group_mask_warp_inplace", one of 4 posts from 4 people on GitHub issues.

llama.cpp users keep filing bugs

Top post: "llama-ui : unable to open reasoning level selection menu on desktop", one of 11 posts from 11 people on GitHub issues, Reddit.

llama.cpp upgrades break working setups

5 posts from 5 people on GitHub issues.

Fine-tuning llama.cpp is costly and unpredictable

4 posts from 4 people on GitHub issues, Hacker News.

llama.cpp runs out of context on real work

4 posts from 4 people on GitHub issues.

llama.cpp lock-in makes switching costly

3 posts from 3 people on GitHub issues.

llama.cpp error messages are cryptic

2 posts from 2 people on GitHub issues. Unverified.

Trouble with llama.cpp flash

Top post: "Feature Request: Support GLM5.3 (flash)", one of 2 posts from 2 people on GitHub issues, Reddit. Unverified.

Trouble with llama.cpp builds

Top post: "Feature Request: update ROCm release builds 10.0.0 -> 10.1.0", one of 2 posts from 2 people on GitHub issues. Unverified.

llama.cpp runs out of memory

2 posts from 2 people on GitHub issues. Unverified.

History

First seen with 2 posts.

Oct 30, 2026