Minor fixes due to rebase

This commit is contained in:
mudler 2023-04-16 01:04:33 +02:00
parent 7fdff40a34
commit 1e49f92f80
2 changed files with 5 additions and 12 deletions

15
.gitignore vendored
View file

@ -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
# Ignore models
models/*.bin
models/ggml-*

View file

@ -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 ./