llama.cpp
Fix grammar parsing issues to prevent stack overflow and hangs
#18604
Open

Fix grammar parsing issues to prevent stack overflow and hangs #18604

aagit wants to merge 5 commits into ggml-org:master from aagit:grammar-fixes
aagit
aagit grammar: add test case for nullable symbol loop
17d8309f
aagit grammar: prevent stack overflow with nullable symbol loop
e289f380
aagit grammar: convert recursive llama_grammar_advance_stack to iterative
b689ff47
aagit grammar: add test case for hang in repetition grammar processing
c537f77a
aagit grammar: add repetition threshold check
43d9e59d
aagit aagit requested a review from ggerganov ggerganov 9 days ago
github-actions github-actions added testing

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone