Skip to content

Commit

Permalink
use latest llama.cpp release to build
Browse files Browse the repository at this point in the history
  • Loading branch information
jianlins authored Jan 9, 2025
1 parent 8350416 commit f567b4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cosmos_llamacpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ WORKDIR /app

COPY . .
# git clone llama cpp repo
RUN wget https://github.com/ggerganov/llama.cpp/archive/refs/tags/b4174.zip -O llamacpp.zip && ls && unzip llamacpp.zip && rm *.zip && ls && mv llama.cpp* llamacpp
RUN wget $(curl -s https://api.github.com/repos/ggerganov/llama.cpp/releases/latest | grep "zipball_url" | cut -d '"' -f 4) -O llamacpp.zip && \
ls && \
unzip llamacpp.zip && \
rm *.zip && \
ls && \
mv llama.cpp* llamacpp
RUN cp -r llamacpp/. /app && cd /app

RUN ls /app
Expand Down

0 comments on commit f567b4b

Please sign in to comment.