diff --git a/.gitignore b/.gitignore index 21bbc482..536866d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,9 @@ # go-llama build artifacts -go-llama.cpp -binding.o -libbinding.a - -# llama models -models +go-llama # llama-cli build binary llama-cli -# make test reports -checkstyle-report.xml -profile.cov -coverage.xml -yamllint-checkstyle.xml \ No newline at end of file +# Ignore models +models/*.bin +models/ggml-* \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d285a44b..87db7c8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG GO_VERSION=1.20 ARG DEBIAN_VERSION=11 FROM golang:$GO_VERSION as builder WORKDIR /build -ARG GO_LLAMA_CPP_TAG=llama.cpp-8b67998 +ARG GO_LLAMA_CPP_TAG=llama.cpp-2f7c8e0 RUN git clone -b $GO_LLAMA_CPP_TAG --recurse-submodules https://github.com/go-skynet/go-llama.cpp RUN cd go-llama.cpp && make libbinding.a COPY go.mod ./