-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #369 from containers/fedora-asahi
Start an Asahi version
- Loading branch information
Showing
6 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM fedora:41 | ||
|
||
# renovate: datasource=github-releases depName=containers/omlmd extractVersion=^v(?<version>.*) | ||
ARG OMLMD_VERSION=0.1.6 | ||
ARG LLAMA_CPP_SHA=1329c0a75e6a7defc5c380eaf80d8e0f66d7da78 | ||
# renovate: datasource=git-refs depName=ggerganov/whisper.cpp packageName=https://github.com/ggerganov/whisper.cpp gitRef=master versioning=loose type=digest | ||
ARG WHISPER_CPP_SHA=0377596b77a3602e36430320cbe45f8c305ef04a | ||
|
||
RUN dnf install -y dnf-plugins-core && \ | ||
dnf copr enable -y @asahi/fedora-remix-branding && \ | ||
dnf install -y asahi-repos && \ | ||
dnf install -y mesa-vulkan-drivers vulkan-headers vulkan-loader-devel \ | ||
vulkan-tools spirv-tools glslc glslang git procps-ng vim cmake gcc-c++ \ | ||
python3-pip python3-argcomplete && \ | ||
dnf clean all && \ | ||
rm -rf /var/cache/*dnf* | ||
|
||
RUN /usr/bin/python3 --version | ||
RUN pip install "omlmd==${OMLMD_VERSION}" | ||
|
||
COPY ../scripts /scripts | ||
RUN chmod +x /scripts/*.sh && \ | ||
/scripts/build_llama_and_whisper.sh "$LLAMA_CPP_SHA" "$WHISPER_CPP_SHA" \ | ||
"/usr" "-DGGML_VULKAN=1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters