Dockerfiles: use LLAMA_AVX2_ONLY.
Docker builds produced by GitHub actions seem to fail on Alder Lake machines. The purpose of the Docker builds is to provide an easy way to start generating tokens. Targeting AVX2-only is a compromise between performance and compatibility.
This commit is contained in:
parent
2e3b2e7e09
commit
e0ed30dffe
2 changed files with 2 additions and 2 deletions
|
@ -14,6 +14,6 @@ WORKDIR /app
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN make
|
||||
RUN LLAMA_AVX2_ONLY=1 make
|
||||
|
||||
ENTRYPOINT ["/app/.devops/tools.sh"]
|
||||
|
|
|
@ -9,7 +9,7 @@ WORKDIR /app
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN make
|
||||
RUN LLAMA_AVX2_ONLY=1 make
|
||||
|
||||
FROM ubuntu:$UBUNTU_VERSION as runtime
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue