llama.cpp
common, grammar: add recursive depth limit, make it a requirement
#31153
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
10
Changes
View On
GitHub
common, grammar: add recursive depth limit, make it a requirement
#31153
ngxson
merged 10 commits into
master
from
xsn/recursive_bound
common, grammar: add recursive depth limit, make it a requirement
91a38ed6
ngxson
requested a review
3 days ago
ngxson
requested a review
from
ggerganov
3 days ago
ngxson
requested a review
from
CISC
3 days ago
ngxson
requested a review
3 days ago
github-actions
added
documentation
github-actions
added
testing
github-actions
added
jinja parser
ggerganov
approved these changes on 2026-10-25
catch more recursive functions
34f57790
common : tidy up peg parser changes
5f2f3051
aldehir
commented on 2026-10-25
ServeurpersoCom
approved these changes on 2026-10-25
grammar : reject candidates in a loop, without a depth limit
8fa4bd1c
grammar : track rejected candidates as indices into the input
47112ac5
nit : shorten the comment of llama_grammar_reject_step
f7c4801c
ggerganov
approved these changes on 2026-10-25
common : add depth_guard for schema walks
1425b1bd
grammar : move GRAMMAR_RECURSIVE_LIMIT into the .cpp
9e98dbeb
common : reduce recursion limit for peg parser
510bcb37
aldehir
approved these changes on 2026-10-25
improve
b8addd2f
ngxson
merged
48c9f08b
into master
3 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
aldehir
ggerganov
ServeurpersoCom
CISC
Assignees
No one assigned
Labels
documentation
testing
jinja parser
Milestone
No milestone
Login to write a write a comment.
Login via GitHub