grammars: remove early exit --> https://github.com/ggerganov/llama.cpp/pull/7370
This commit is contained in:
parent
939e143fe2
commit
60745acad4
1 changed files with 0 additions and 4 deletions
|
@ -13043,10 +13043,6 @@ static std::vector<llama_grammar_candidate> llama_grammar_reject_candidates_for_
|
|||
}
|
||||
}
|
||||
|
||||
if (next_candidates.empty()) {
|
||||
return rejects;
|
||||
}
|
||||
|
||||
const auto * stack_pos_after = llama_grammar_match_char(stack_pos, 0).second;
|
||||
|
||||
// update top of stack to next element, if any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue