llama : add llama_sampling API + move grammar in libllama
ggml-ci
This commit is contained in:
parent
b69a480af4
commit
f648ca2cee
48 changed files with 2481 additions and 2590 deletions
6
Makefile
6
Makefile
|
@ -927,7 +927,6 @@ OBJ_COMMON = \
|
|||
common/ngram-cache.o \
|
||||
common/sampling.o \
|
||||
common/train.o \
|
||||
common/grammar-parser.o \
|
||||
common/build-info.o \
|
||||
common/json-schema-to-grammar.o
|
||||
|
||||
|
@ -1167,11 +1166,6 @@ common/console.o: \
|
|||
common/console.h
|
||||
$(CXX) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
common/grammar-parser.o: \
|
||||
common/grammar-parser.cpp \
|
||||
common/grammar-parser.h
|
||||
$(CXX) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
common/json-schema-to-grammar.o: \
|
||||
common/json-schema-to-grammar.cpp \
|
||||
common/json-schema-to-grammar.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue