Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vulkan amd64 build #540

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions model_servers/llamacpp_python/vulkan/Containerfile.amd64
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM registry.access.redhat.com/ubi9/python-311:1-62.1716478620
USER 0
RUN dnf install -y python3-dnf-plugin-versionlock
RUN dnf install -y mesa-vulkan-drivers-23.3.3-1.el9.x86_64
RUN dnf versionlock mesa-vulkan-drivers-23.3.3-1.el9.x86_64
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
RUN dnf install -y git cmake ninja-build gcc gcc-c++
RUN dnf copr enable -y ligenix/enterprise-sandbox epel-9-x86_64
RUN dnf install -y vulkan-headers vulkan-tools
USER 1001
WORKDIR /locallm
COPY src .
RUN pip install --upgrade pip
ENV CMAKE_ARGS="-DLLAMA_VULKAN=on"
ENV FORCE_CMAKE=1
RUN pip install --no-cache-dir --upgrade -r /locallm/requirements.txt
ENTRYPOINT [ "sh", "run.sh" ]
Loading