Skip to content

Commit

Permalink
Merge pull request #457 from benoitf/fix-intel-instructions
Browse files Browse the repository at this point in the history
chore: handle some AVX flags properly on certain Intel CPUs
  • Loading branch information
rhatdan authored May 3, 2024
2 parents ed3b643 + d4e0649 commit ff57e9e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions model_servers/llamacpp_python/base/Containerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM registry.access.redhat.com/ubi9/python-311:1-52.1712567218
FROM registry.access.redhat.com/ubi9/python-311:1-62
WORKDIR /locallm
COPY src .
RUN pip install --no-cache-dir --verbose -r ./requirements.txt
USER root
RUN dnf install -y gcc-toolset-13-gcc gcc-toolset-13-gcc-c++
USER 1001
RUN CC="/opt/rh/gcc-toolset-13/root/usr/bin/gcc" CXX="/opt/rh/gcc-toolset-13/root/usr/bin/g++" pip install --no-cache-dir --verbose -r ./requirements.txt
EXPOSE 8001
ENTRYPOINT [ "sh", "./run.sh" ]

0 comments on commit ff57e9e

Please sign in to comment.