Skip to content

Commit

Permalink
ggml : sync latest changes from ggml and llama.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Apr 13, 2023
1 parent ebef1e8 commit 2f88913
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 100 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ endif
ifneq ($(filter armv7%,$(UNAME_M)),)
# 32-bit ARM, for example on Armbian or possibly raspbian
CFLAGS += -mfpu=neon -mfp16-format=ieee -mno-unaligned-access -funsafe-math-optimizations

# 64-bit ARM, use these (TODO: auto-detect 64-bit)
# CFLAGS += -mfpu=neon-fp-armv8 -mfp16-format=ieee -mno-unaligned-access -funsafe-math-optimizations
endif
Expand Down Expand Up @@ -190,7 +190,7 @@ default: main bench
ggml.o: ggml.c ggml.h
$(CC) $(CFLAGS) -c ggml.c -o ggml.o

whisper.o: whisper.cpp whisper.h
whisper.o: whisper.cpp whisper.h ggml.h
$(CXX) $(CXXFLAGS) -c whisper.cpp -o whisper.o

libwhisper.a: ggml.o whisper.o
Expand Down
Loading

0 comments on commit 2f88913

Please sign in to comment.