Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Pycontrol #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ $(info I CC: $(CCV))
$(info I CXX: $(CXXV))
$(info )

default: chat quantize
default: chat quantize piper

#
# Build library
Expand All @@ -191,9 +191,15 @@ utils.o: utils.cpp utils.h
clean:
rm -f *.o main quantize

tunnel: chat.cpp ggml.o utils.o
$(CXX) $(CXXFLAGS) chat.cpp ggml.o utils.o -o chat $(LDFLAGS)

chat: chat.cpp ggml.o utils.o
$(CXX) $(CXXFLAGS) chat.cpp ggml.o utils.o -o chat $(LDFLAGS)

piper: chat
cp chat piper

chat_mac: chat.cpp ggml.c utils.cpp
$(CC) $(CFLAGS) -c ggml.c -o ggml_x86.o -target x86_64-apple-macos
$(CC) $(CFLAGS) -c ggml.c -o ggml_arm.o -target arm64-apple-macos
Expand Down
Loading