@@ -11,7 +11,6 @@ BUILD_TARGETS = \
11
11
llama-embedding \
12
12
llama-eval-callback \
13
13
llama-export-lora \
14
- llama-finetune \
15
14
llama-gbnf-validator \
16
15
llama-gguf \
17
16
llama-gguf-hash \
@@ -37,7 +36,6 @@ BUILD_TARGETS = \
37
36
llama-simple \
38
37
llama-speculative \
39
38
llama-tokenize \
40
- llama-train-text-from-scratch \
41
39
llama-vdot \
42
40
llama-cvector-generator \
43
41
tests/test-c.o
@@ -64,13 +62,13 @@ TEST_TARGETS = \
64
62
tests/test-tokenizer-1-spm
65
63
66
64
# Legacy build targets that were renamed in #7809, but should still be removed when the project is cleaned
67
- LEGACY_TARGETS_CLEAN = main quantize quantize-stats perplexity imatrix embedding vdot q8dot train-text-from-scratch convert-llama2c-to-ggml \
65
+ LEGACY_TARGETS_CLEAN = main quantize quantize-stats perplexity imatrix embedding vdot q8dot convert-llama2c-to-ggml \
68
66
simple batched batched-bench save-load-state server gguf gguf-split eval-callback llama-bench libllava.a llava-cli baby-llama \
69
- retrieval speculative infill tokenize benchmark-matmult parallel finetune export-lora lookahead lookup passkey gritlm
67
+ retrieval speculative infill tokenize benchmark-matmult parallel export-lora lookahead lookup passkey gritlm
70
68
71
69
# 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.
72
70
# We don't want to clutter things too much, so we only build replacements for the most commonly used binaries.
73
- LEGACY_TARGETS_BUILD = main quantize perplexity embedding server finetune
71
+ LEGACY_TARGETS_BUILD = main quantize perplexity embedding server
74
72
75
73
# Deprecation aliases
76
74
ifdef LLAMA_CUBLAS
@@ -1296,11 +1294,6 @@ llama-cvector-generator: examples/cvector-generator/cvector-generator.cpp \
1296
1294
$(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
1297
1295
$(CXX ) $(CXXFLAGS ) $(filter-out % .h $< ,$^ ) $(call GET_OBJ_FILE, $< ) -o $@ $(LDFLAGS )
1298
1296
1299
- llama-train-text-from-scratch : examples/train-text-from-scratch/train-text-from-scratch.cpp \
1300
- $(OBJ_ALL )
1301
- $(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
1302
- $(CXX ) $(CXXFLAGS ) $(filter-out % .h $< ,$^ ) $(call GET_OBJ_FILE, $< ) -o $@ $(LDFLAGS )
1303
-
1304
1297
llama-convert-llama2c-to-ggml : examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp \
1305
1298
$(OBJ_GGML ) $(OBJ_LLAMA )
1306
1299
$(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
@@ -1316,11 +1309,6 @@ llama-baby-llama: examples/baby-llama/baby-llama.cpp \
1316
1309
$(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
1317
1310
$(CXX ) $(CXXFLAGS ) $(filter-out % .h $< ,$^ ) $(call GET_OBJ_FILE, $< ) -o $@ $(LDFLAGS )
1318
1311
1319
- llama-finetune : examples/finetune/finetune.cpp \
1320
- $(OBJ_ALL )
1321
- $(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
1322
- $(CXX ) $(CXXFLAGS ) $(filter-out % .h $< ,$^ ) $(call GET_OBJ_FILE, $< ) -o $@ $(LDFLAGS )
1323
-
1324
1312
llama-export-lora : examples/export-lora/export-lora.cpp \
1325
1313
$(OBJ_ALL )
1326
1314
$(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
@@ -1578,7 +1566,7 @@ llama-q8dot: pocs/vdot/q8dot.cpp ggml/src/ggml.o \
1578
1566
# Deprecated binaries that we want to keep around long enough for people to migrate to the new filenames, then these can be removed.
1579
1567
#
1580
1568
# Mark legacy binary targets as .PHONY so that they are always checked.
1581
- .PHONY : main quantize perplexity embedding server finetune
1569
+ .PHONY : main quantize perplexity embedding server
1582
1570
1583
1571
# NOTE: We currently will always build the deprecation-warning `main` and `server` binaries to help users migrate.
1584
1572
# Eventually we will want to remove these target from building all the time.
@@ -1621,13 +1609,3 @@ ifneq (,$(wildcard embedding))
1621
1609
@echo " Remove the 'embedding' binary to remove this warning."
1622
1610
@echo "# ########"
1623
1611
endif
1624
-
1625
- finetune : examples/deprecation-warning/deprecation-warning.cpp
1626
- ifneq (,$(wildcard finetune) )
1627
- $(CXX) $(CXXFLAGS) -c $< -o $(call GET_OBJ_FILE, $<)
1628
- $(CXX) $(CXXFLAGS) $(filter-out %.h $<,$^) $(call GET_OBJ_FILE, $<) -o $@ $(LDFLAGS)
1629
- @echo "# ########"
1630
- @echo "WARNING: The 'finetune' binary is deprecated. Please use 'llama-finetune' instead."
1631
- @echo " Remove the 'finetune' binary to remove this warning."
1632
- @echo "# ########"
1633
- endif
0 commit comments