@@ -11,7 +11,6 @@ BUILD_TARGETS = \
1111 llama-embedding \
1212 llama-eval-callback \
1313 llama-export-lora \
14- llama-finetune \
1514 llama-gbnf-validator \
1615 llama-gguf \
1716 llama-gguf-hash \
@@ -37,7 +36,6 @@ BUILD_TARGETS = \
3736 llama-simple \
3837 llama-speculative \
3938 llama-tokenize \
40- llama-train-text-from-scratch \
4139 llama-vdot \
4240 llama-cvector-generator \
4341 tests/test-c.o
@@ -64,13 +62,13 @@ TEST_TARGETS = \
6462 tests/test-tokenizer-1-spm
6563
6664# 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 \
6866 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
7068
7169# 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.
7270# 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
7472
7573# Deprecation aliases
7674ifdef LLAMA_CUBLAS
@@ -1296,11 +1294,6 @@ llama-cvector-generator: examples/cvector-generator/cvector-generator.cpp \
12961294 $(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
12971295 $(CXX ) $(CXXFLAGS ) $(filter-out % .h $< ,$^ ) $(call GET_OBJ_FILE, $< ) -o $@ $(LDFLAGS )
12981296
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-
13041297llama-convert-llama2c-to-ggml : examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp \
13051298 $(OBJ_GGML ) $(OBJ_LLAMA )
13061299 $(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
@@ -1316,11 +1309,6 @@ llama-baby-llama: examples/baby-llama/baby-llama.cpp \
13161309 $(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
13171310 $(CXX ) $(CXXFLAGS ) $(filter-out % .h $< ,$^ ) $(call GET_OBJ_FILE, $< ) -o $@ $(LDFLAGS )
13181311
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-
13241312llama-export-lora : examples/export-lora/export-lora.cpp \
13251313 $(OBJ_ALL )
13261314 $(CXX ) $(CXXFLAGS ) -c $< -o $(call GET_OBJ_FILE, $< )
@@ -1578,7 +1566,7 @@ llama-q8dot: pocs/vdot/q8dot.cpp ggml/src/ggml.o \
15781566# Deprecated binaries that we want to keep around long enough for people to migrate to the new filenames, then these can be removed.
15791567#
15801568# 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
15821570
15831571# NOTE: We currently will always build the deprecation-warning `main` and `server` binaries to help users migrate.
15841572# Eventually we will want to remove these target from building all the time.
@@ -1621,13 +1609,3 @@ ifneq (,$(wildcard embedding))
16211609 @echo " Remove the 'embedding' binary to remove this warning."
16221610 @echo "# ########"
16231611endif
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