Skip to content

Commit 54f77e2

Browse files
committed
add to makefile all targets
1 parent 85db22d commit 54f77e2

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
BUILD_TARGETS = \
33
main quantize quantize-stats perplexity imatrix embedding vdot q8dot train-text-from-scratch convert-llama2c-to-ggml \
44
simple batched batched-bench save-load-state server gguf gguf-split eval-callback llama-bench libllava.a llava-cli baby-llama \
5-
retrieval speculative infill tokenize benchmark-matmult parallel finetune export-lora lookahead lookup passkey gritlm tests/test-c.o
5+
retrieval speculative infill tokenize benchmark-matmult parallel finetune export-lora lookahead lookup passkey gritlm \
6+
tests/test-c.o control-vector-generator
67

78
# Binaries only useful for tests
89
TEST_TARGETS = \

examples/control-vector-generator/control-vector-generator.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -454,17 +454,6 @@ static std::vector<std::string> ctrlvec_load_prompt_file(std::string path, bool
454454

455455
static bool cb_eval(struct ggml_tensor * t, bool ask, void * user_data) {
456456
auto * cb_data = (callback_data *) user_data;
457-
/*auto ggml_ne_string = [](const ggml_tensor * t) -> std::string {
458-
std::string str;
459-
for (int i = 0; i < GGML_MAX_DIMS; ++i) {
460-
str += std::to_string(t->ne[i]);
461-
if (i + 1 < GGML_MAX_DIMS) {
462-
str += ", ";
463-
}
464-
}
465-
return str;
466-
};*/
467-
468457
static const char * l_out_name = "l_out";
469458
const bool is_l_out = strncmp(t->name, l_out_name, strlen(l_out_name)) == 0;
470459

0 commit comments

Comments
 (0)