From 7911eca7d0fbbc17ef3d5ffb4ee6a91d019dfdd3 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 12 Feb 2025 09:12:00 -0500 Subject: [PATCH] Attempt to use build_llama_and_whisper.sh Signed-off-by: Daniel J Walsh --- .github/workflows/ci.yml | 9 ++------- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ae99f42..d5760d5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,14 +60,9 @@ jobs: shell: bash run: | sudo apt-get update - sudo apt-get install podman bats bash codespell python3-argcomplete pipx git cmake + sudo apt-get install podman bats bash codespell python3-argcomplete pipx git cmake libcurl4-openssl-dev make install-requirements - git clone https://github.com/ggerganov/llama.cpp - cd llama.cpp - git submodule update --init --recursive - cmake -B build -DGGML_NATIVE=OFF - cmake --build build --config Release - sudo cmake --install build + sudo ./container-images/scripts/build_llama_and_whisper.sh - name: Upgrade to podman 5 run: | diff --git a/Makefile b/Makefile index ca31e434..2b27b89c 100644 --- a/Makefile +++ b/Makefile @@ -98,11 +98,11 @@ build_multi_arch: .PHONY: build-rag build-rag: - podman build --build-arg IMAGE=${IMAGE} --build-arg GPU=${GPU} -t ${IMAGE}-rag container-images/pragmatic + podman build --no-cache --build-arg IMAGE=${IMAGE} --build-arg GPU=${GPU} -t ${IMAGE}-rag container-images/pragmatic .PHONY: build-docling build-docling: - podman build --build-arg IMAGE=${IMAGE} --build-arg CONTENT=docling --build-arg GPU=${GPU} -t ${IMAGE}-docling container-images/pragmatic + podman build --no-cache --build-arg IMAGE=${IMAGE} --build-arg CONTENT=docling --build-arg GPU=${GPU} -t ${IMAGE}-docling container-images/pragmatic .PHONY: install-docs install-docs: docs