Skip to content

Commit 148844f

Browse files
authored
examples : remove benchmark (ggml-org#9704)
ggml-ci
1 parent 3f1ae2e commit 148844f

File tree

4 files changed

+1
-294
lines changed

4 files changed

+1
-294
lines changed

Makefile

+1-12
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ BUILD_TARGETS = \
55
llama-batched \
66
llama-batched-bench \
77
llama-bench \
8-
llama-benchmark-matmult \
98
llama-cli \
109
llama-convert-llama2c-to-ggml \
1110
llama-embedding \
@@ -68,7 +67,7 @@ TEST_TARGETS = \
6867
# Legacy build targets that were renamed in #7809, but should still be removed when the project is cleaned
6968
LEGACY_TARGETS_CLEAN = main quantize quantize-stats perplexity imatrix embedding vdot q8dot convert-llama2c-to-ggml \
7069
simple batched batched-bench save-load-state server gguf gguf-split eval-callback llama-bench libllava.a llava-cli baby-llama \
71-
retrieval speculative infill tokenize benchmark-matmult parallel export-lora lookahead lookup passkey gritlm
70+
retrieval speculative infill tokenize parallel export-lora lookahead lookup passkey gritlm
7271

7372
# Legacy build targets that were renamed in #7809, but we want to build binaries that for them that output a deprecation warning if people try to use them.
7473
# We don't want to clutter things too much, so we only build replacements for the most commonly used binaries.
@@ -1523,16 +1522,6 @@ common/build-info.o: common/build-info.cpp
15231522

15241523
tests: $(TEST_TARGETS)
15251524

1526-
llama-benchmark-matmult: examples/benchmark/benchmark-matmult.cpp \
1527-
$(OBJ_GGML) common/build-info.o
1528-
$(CXX) $(CXXFLAGS) -c $< -o $(call GET_OBJ_FILE, $<)
1529-
$(CXX) $(CXXFLAGS) $(filter-out %.h $<,$^) $(call GET_OBJ_FILE, $<) -o $@ $(LDFLAGS)
1530-
1531-
run-benchmark-matmult: llama-benchmark-matmult
1532-
./$@
1533-
1534-
.PHONY: run-benchmark-matmult swift
1535-
15361525
tests/test-arg-parser: tests/test-arg-parser.cpp \
15371526
$(OBJ_ALL)
15381527
$(CXX) $(CXXFLAGS) -c $< -o $(call GET_OBJ_FILE, $<)

examples/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ else()
1616
add_subdirectory(baby-llama)
1717
add_subdirectory(batched-bench)
1818
add_subdirectory(batched)
19-
add_subdirectory(benchmark)
2019
add_subdirectory(convert-llama2c-to-ggml)
2120
add_subdirectory(embedding)
2221
add_subdirectory(eval-callback)

examples/benchmark/CMakeLists.txt

-6
This file was deleted.

examples/benchmark/benchmark-matmult.cpp

-275
This file was deleted.

0 commit comments

Comments
 (0)