Skip to content

Commit 21dd124

Browse files
authored
[mac_ai] testing: remove the kompute flavor (#790)
see ggml-org/llama.cpp#14501
2 parents e42ca2b + 448afec commit 21dd124

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

projects/mac_ai/testing/config.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ prepare:
290290
LLAMA_CPP_CMAKE_FLAGS: -DLLAMA_CURL=OFF
291291
BUILD_FLAVOR: # set at runtime with the name of the flavor (one from below)
292292
flavors:
293-
kompute: -DGGML_KOMPUTE=ON -DGGML_NATIVE=OFF -DGGML_METAL=OFF
294293
vulkan: -DGGML_VULKAN=ON -DGGML_NATIVE=OFF -DGGML_METAL=OFF
295294
remoting: -DGGML_REMOTINGFRONTEND=ON -DGGML_CPU_ARM_ARCH=native
296295

@@ -396,9 +395,7 @@ prepare:
396395
test:
397396
platform: *all_platforms
398397

399-
platforms_to_skip:
400-
# - macos/llama_cpp/upstream_bin # always built, but no need to test it every time
401-
- podman/llama_cpp/no-gpu/kompute # slow, not interesting atm
398+
platforms_to_skip: []
402399

403400
inference_server:
404401
port: 11434
@@ -531,5 +528,5 @@ __platform_check:
531528
no_gpu: no-gpu
532529

533530
flavors:
534-
llama_cpp: [metal, vulkan, upstream_bin, kompute, remoting]
531+
llama_cpp: [metal, vulkan, upstream_bin, remoting]
535532
ramalama: [remoting, null]

projects/mac_ai/testing/images/llama_cpp.containerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ ARG LLAMA_CPP_CMAKE_BUILD_FLAGS="--parallel 4"
3838

3939
RUN git clone "${LLAMA_CPP_REPO}" src \
4040
&& git -C src fetch origin ${LLAMA_CPP_VERSION} \
41-
&& git -C src reset --hard FETCH_HEAD \
42-
&& git -C src submodule update --init ggml/src/ggml-kompute/kompute
41+
&& git -C src reset --hard FETCH_HEAD
4342

4443
RUN mkdir -p build \
4544
&& echo "Version: ${LLAMA_CPP_VERSION}" > build/build.flags.log \

projects/mac_ai/testing/prepare_llama_cpp.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ def prepare_from_source(base_work_dir, platform):
194194
artifact_dir_suffix="_llama_cpp",
195195
)
196196

197-
# for the Kompute build
198-
cmd = f"sed -i.bu s/-Werror//g {dest}/ggml/src/ggml-kompute/kompute/CMakeLists.txt"
199-
remote_access.run_with_ansible_ssh_conf(base_work_dir, cmd)
200-
201197
src_dir = dest
202198
cmake_parallel = config.project.get_config("prepare.llama_cpp.source.cmake.parallel")
203199

0 commit comments

Comments
 (0)