mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	gptneox : move as a WIP example
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -50,7 +50,6 @@ models-mnt
 | 
				
			|||||||
/embd-input-test
 | 
					/embd-input-test
 | 
				
			||||||
/gguf
 | 
					/gguf
 | 
				
			||||||
/gguf-llama-simple
 | 
					/gguf-llama-simple
 | 
				
			||||||
/gptneox-main
 | 
					 | 
				
			||||||
/libllama.so
 | 
					/libllama.so
 | 
				
			||||||
build-info.h
 | 
					build-info.h
 | 
				
			||||||
arm_neon.h
 | 
					arm_neon.h
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,5 +1,5 @@
 | 
				
			|||||||
# Define the default target now so that it is always the first target
 | 
					# Define the default target now so that it is always the first target
 | 
				
			||||||
BUILD_TARGETS = main quantize quantize-stats perplexity embedding vdot train-text-from-scratch convert-llama2c-to-ggml simple server embd-input-test gguf gptneox-main
 | 
					BUILD_TARGETS = main quantize quantize-stats perplexity embedding vdot train-text-from-scratch convert-llama2c-to-ggml simple server embd-input-test gguf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Binaries only useful for tests
 | 
					# Binaries only useful for tests
 | 
				
			||||||
TEST_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
 | 
					TEST_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
 | 
				
			||||||
@@ -388,9 +388,6 @@ embd-input-test: $(LIB_PRE)embdinput$(DSO_EXT) examples/embd-input/embd-input-te
 | 
				
			|||||||
gguf: examples/gguf/gguf.cpp                                  build-info.h ggml.o llama.o $(OBJS)
 | 
					gguf: examples/gguf/gguf.cpp                                  build-info.h ggml.o llama.o $(OBJS)
 | 
				
			||||||
	$(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS)
 | 
						$(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
gptneox-main: gptneox-main.cpp ggml.o $(OBJS)
 | 
					 | 
				
			||||||
	$(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
train-text-from-scratch: examples/train-text-from-scratch/train-text-from-scratch.cpp    build-info.h ggml.o llama.o $(OBJS)
 | 
					train-text-from-scratch: examples/train-text-from-scratch/train-text-from-scratch.cpp    build-info.h ggml.o llama.o $(OBJS)
 | 
				
			||||||
	$(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS)
 | 
						$(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user