integrate llama.cpp for local inference
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -g -I./thirdparty/llama.cpp/include -I./thirdparty/llama.cpp/ggml/include
|
||||
TARGET = stream_app
|
||||
SRC = main.c
|
||||
LIBS = -L./thirdparty/llama.cpp/build/bin -lllama -lggml -lggml-base
|
||||
|
||||
$(TARGET): $(SRC)
|
||||
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET)
|
||||
Reference in New Issue
Block a user