Skip to content

Commit

Permalink
scripts : do not sync synced commits
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Dec 29, 2023
1 parent df098ea commit e67a04f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/sync-llama-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ echo "Syncing llama.cpp changes since commit $lc"
cd $SRC_LLAMA

git log --oneline $lc..HEAD
git log --oneline $lc..HEAD | grep -v "(ggml/[0-9]*)" | cut -d' ' -f1 > $SRC_GGML/llama-commits
git log --oneline $lc..HEAD | grep -v "(ggml/[0-9]*)" | grep -v "(whisper/[0-9]*)" | cut -d' ' -f1 > $SRC_GGML/llama-commits

if [ ! -s $SRC_GGML/llama-commits ]; then
rm -v $SRC_GGML/llama-commits
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync-llama.last
Original file line number Diff line number Diff line change
@@ -1 +1 @@
38b3de4658292582a8941a2be5c77b40ce6ac0f2
c8255f8a6b2a3b3ebc6cb340cc2487f39fc95ffc
2 changes: 1 addition & 1 deletion scripts/sync-whisper-am.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ echo "Syncing whisper.cpp changes since commit $lc"
cd $SRC_WHISPER

git log --oneline $lc..HEAD
git log --oneline $lc..HEAD | grep -v "(ggml/[0-9]*)" | cut -d' ' -f1 > $SRC_GGML/whisper-commits
git log --oneline $lc..HEAD | grep -v "(ggml/[0-9]*)" | grep -v "(llama/[0-9]*)" | cut -d' ' -f1 > $SRC_GGML/whisper-commits

if [ ! -s $SRC_GGML/whisper-commits ]; then
rm -v $SRC_GGML/whisper-commits
Expand Down

0 comments on commit e67a04f

Please sign in to comment.