mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	scripts : do not sync commits from this repo
This commit is contained in:
		| @@ -26,22 +26,36 @@ echo "Syncing ggml changes since commit $lc" | |||||||
|  |  | ||||||
| cd $SRC_GGML | cd $SRC_GGML | ||||||
|  |  | ||||||
| git log --oneline $lc..HEAD | git log --oneline $lc..HEAD | grep -v "(llama/[0-9]*)" | cut -d' ' -f1 > $SRC_LLAMA/ggml-commits | ||||||
|  |  | ||||||
| git format-patch $lc --stdout -- \ | if [ ! -s $SRC_LLAMA/ggml-commits ]; then | ||||||
|     include/ggml/ggml*.h \ |     rm -v $SRC_LLAMA/ggml-commits | ||||||
|     src/ggml*.h \ |     echo "No new commits" | ||||||
|     src/ggml*.c \ |     exit 0 | ||||||
|     src/ggml*.cpp \ | fi | ||||||
|     src/ggml*.m \ |  | ||||||
|     src/ggml*.metal \ | if [ -f $SRC_LLAMA/ggml-src.patch ]; then | ||||||
|     src/ggml*.cu \ |     rm -v $SRC_LLAMA/ggml-src.patch | ||||||
|     tests/test-opt.cpp \ | fi | ||||||
|     tests/test-grad0.cpp \ |  | ||||||
|     tests/test-quantize-fns.cpp \ | while read c; do | ||||||
|     tests/test-quantize-perf.cpp \ |     git format-patch -k $c~1..$c --stdout -- \ | ||||||
|     tests/test-backend-ops.cpp \ |         include/ggml/ggml*.h \ | ||||||
|     > $SRC_LLAMA/ggml-src.patch |         src/ggml*.h \ | ||||||
|  |         src/ggml*.c \ | ||||||
|  |         src/ggml*.cpp \ | ||||||
|  |         src/ggml*.m \ | ||||||
|  |         src/ggml*.metal \ | ||||||
|  |         src/ggml*.cu \ | ||||||
|  |         tests/test-opt.cpp \ | ||||||
|  |         tests/test-grad0.cpp \ | ||||||
|  |         tests/test-quantize-fns.cpp \ | ||||||
|  |         tests/test-quantize-perf.cpp \ | ||||||
|  |         tests/test-backend-ops.cpp \ | ||||||
|  |         >> $SRC_LLAMA/ggml-src.patch | ||||||
|  | done < $SRC_LLAMA/ggml-commits | ||||||
|  |  | ||||||
|  | rm -v $SRC_LLAMA/ggml-commits | ||||||
|  |  | ||||||
| # delete files if empty | # delete files if empty | ||||||
| if [ ! -s $SRC_LLAMA/ggml-src.patch ]; then | if [ ! -s $SRC_LLAMA/ggml-src.patch ]; then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov