This commit is contained in:
Parth Sareen 2025-04-03 11:38:36 -07:00 committed by GitHub
parent ad9791da2e
commit 377fa9d2ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

2
llama/grammar.h vendored
View File

@ -157,7 +157,7 @@ void grammar_free_impl(struct grammar * grammar);
struct grammar * grammar_clone_impl(const struct grammar & grammar);
// TODO: move the API below as member functions of grammar
// TODO(parthsareen): move the API below as member functions of grammar
void grammar_apply_impl(
const struct grammar & grammar,
llama_token_data_array * cur_p);

View File

@ -8,7 +8,6 @@ package llama
#cgo CPPFLAGS: -I${SRCDIR}/llama.cpp/examples/llava
#cgo CPPFLAGS: -I${SRCDIR}/llama.cpp/src
#cgo CPPFLAGS: -I${SRCDIR}/../ml/backend/ggml/ggml/include
// #cgo CPPFLAGS: -I${SRCDIR}/grammar
#include <stdlib.h>
#include "ggml.h"