File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Define the default target now so that it is always the first target
2
- BUILD_TARGETS = main quantize quantize-stats perplexity embedding vdot train-text-from-scratch convert-llama2c-to-ggml simple save-load-state server embd-input-test gguf llama-bench baby-llama beam-search speculative tests/test-c.o
2
+ BUILD_TARGETS = main quantize quantize-stats perplexity embedding vdot q8dot train-text-from-scratch convert-llama2c-to-ggml simple save-load-state server embd-input-test gguf llama-bench baby-llama beam-search speculative benchmark-matmult tests/test-c.o
3
3
4
4
# Binaries only useful for tests
5
5
TEST_TARGETS = tests/test-llama-grammar tests/test-grammar-parser tests/test-double-float tests/test-grad0 tests/test-opt tests/test-quantize-fns tests/test-quantize-perf tests/test-sampling tests/test-tokenizer-0-llama tests/test-tokenizer-0-falcon tests/test-tokenizer-1-llama
@@ -571,11 +571,18 @@ tests: $(TEST_TARGETS)
571
571
572
572
benchmark-matmult : examples/benchmark/benchmark-matmult.cpp build-info.h ggml.o $(OBJS )
573
573
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
574
+
575
+ run-benchmark-matmult : benchmark-matmult
574
576
./$@
575
577
578
+ .PHONY : run-benchmark-matmult
579
+
576
580
vdot : pocs/vdot/vdot.cpp ggml.o $(OBJS )
577
581
$(CXX ) $(CXXFLAGS ) $^ -o $@ $(LDFLAGS )
578
582
583
+ q8dot : pocs/vdot/q8dot.cpp ggml.o $(OBJS )
584
+ $(CXX ) $(CXXFLAGS ) $^ -o $@ $(LDFLAGS )
585
+
579
586
tests/test-llama-grammar : tests/test-llama-grammar.cpp build-info.h ggml.o common.o grammar-parser.o $(OBJS )
580
587
$(CXX ) $(CXXFLAGS ) $(filter-out % .h,$^ ) -o $@ $(LDFLAGS )
581
588
You can’t perform that action at this time.
0 commit comments