|
|
@ -20,15 +20,6 @@ build: |
|
|
|
RUN C_INCLUDE_PATH=/build/llama LIBRARY_PATH=/build/llama go build -o llama-cli ./ |
|
|
|
RUN C_INCLUDE_PATH=/build/llama LIBRARY_PATH=/build/llama go build -o llama-cli ./ |
|
|
|
SAVE ARTIFACT llama-cli AS LOCAL llama-cli |
|
|
|
SAVE ARTIFACT llama-cli AS LOCAL llama-cli |
|
|
|
|
|
|
|
|
|
|
|
image: |
|
|
|
|
|
|
|
FROM +go-deps |
|
|
|
|
|
|
|
ARG IMAGE=alpaca-cli |
|
|
|
|
|
|
|
COPY +model-image/model.bin /model.bin |
|
|
|
|
|
|
|
COPY +build/llama-cli /llama-cli |
|
|
|
|
|
|
|
ENV MODEL_PATH=/model.bin |
|
|
|
|
|
|
|
ENTRYPOINT [ "/llama-cli" ] |
|
|
|
|
|
|
|
SAVE IMAGE --push $IMAGE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image: |
|
|
|
image: |
|
|
|
FROM +go-deps |
|
|
|
FROM +go-deps |
|
|
|
ARG IMAGE=alpaca-cli-nomodel |
|
|
|
ARG IMAGE=alpaca-cli-nomodel |
|
|
|