File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ $(info I CC: $(CCV))
212
212
$(info I CXX : $(CXXV ) )
213
213
$(info )
214
214
215
- default : main quantize perplexity
215
+ default : main quantize perplexity embedding
216
216
217
217
#
218
218
# Build library
@@ -228,7 +228,7 @@ common.o: examples/common.cpp examples/common.h
228
228
$(CXX ) $(CXXFLAGS ) -c examples/common.cpp -o common.o
229
229
230
230
clean :
231
- rm -vf * .o main quantize perplexity
231
+ rm -vf * .o main quantize perplexity embedding
232
232
233
233
main : examples/main/main.cpp ggml.o llama.o common.o
234
234
$(CXX ) $(CXXFLAGS ) examples/main/main.cpp ggml.o llama.o common.o -o main $(LDFLAGS )
@@ -242,6 +242,9 @@ quantize: examples/quantize/quantize.cpp ggml.o llama.o
242
242
perplexity : examples/perplexity/perplexity.cpp ggml.o llama.o common.o
243
243
$(CXX ) $(CXXFLAGS ) examples/perplexity/perplexity.cpp ggml.o llama.o common.o -o perplexity $(LDFLAGS )
244
244
245
+ embedding : examples/embedding/embedding.cpp ggml.o llama.o common.o
246
+ $(CXX ) $(CXXFLAGS ) examples/embedding/embedding.cpp ggml.o llama.o common.o -o embedding $(LDFLAGS )
247
+
245
248
#
246
249
# Tests
247
250
#
You can’t perform that action at this time.
0 commit comments