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 11#  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
33
44#  Binaries only useful for tests
55TEST_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)
571571
572572benchmark-matmult : examples/benchmark/benchmark-matmult.cpp build-info.h ggml.o $(OBJS ) 
573573	$(CXX )  $(CXXFLAGS )  $(filter-out  % .h,$^ )  -o $@  $(LDFLAGS ) 
574+ 
575+ run-benchmark-matmult : benchmark-matmult
574576	./$@ 
575577
578+ .PHONY : run-benchmark-matmult
579+ 
576580vdot : pocs/vdot/vdot.cpp ggml.o $(OBJS ) 
577581	$(CXX )  $(CXXFLAGS )  $^  -o $@  $(LDFLAGS ) 
578582
583+ q8dot : pocs/vdot/q8dot.cpp ggml.o $(OBJS ) 
584+ 	$(CXX )  $(CXXFLAGS )  $^  -o $@  $(LDFLAGS ) 
585+ 
579586tests/test-llama-grammar : tests/test-llama-grammar.cpp build-info.h ggml.o common.o grammar-parser.o $(OBJS ) 
580587	$(CXX )  $(CXXFLAGS )  $(filter-out  % .h,$^ )  -o $@  $(LDFLAGS ) 
581588
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments