mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-10-28 09:45:55 +08:00
grammar : move GRAMMAR_RECURSIVE_LIMIT into the .cpp
This commit is contained in:
1 parent
1425b1bd8d
commit
9e98dbeb90
2 files changed
+1
-2
No files matched your search
@@ -12,6 +12,7 @@
|
||||
#include <stdexcept>
|
||||
|
||||
#define MAX_REPETITION_THRESHOLD 2000
|
||||
#define GRAMMAR_RECURSIVE_LIMIT 256
|
||||
//
|
||||
// helpers
|
||||
//
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define GRAMMAR_RECURSIVE_LIMIT 256
|
||||
|
||||
struct llama_vocab;
|
||||
|
||||
// grammar element type
|
||||
|
||||
Reference in new issue
Block a user