mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 20:04:35 +00:00
Move main.cpp to run.cpp
Signed-off-by: Thiago Padilha <thiago@padilha.cc>
This commit is contained in:
parent
69c92298a9
commit
90175ee13f
@ -239,7 +239,7 @@ target_link_libraries(llama PRIVATE utils ggml ${LLAMA_EXTRA_LIBS})
|
|||||||
# Executables
|
# Executables
|
||||||
#
|
#
|
||||||
|
|
||||||
add_executable(main main.cpp)
|
add_executable(main run.cpp)
|
||||||
target_link_libraries(main PRIVATE llama ggml utils)
|
target_link_libraries(main PRIVATE llama ggml utils)
|
||||||
|
|
||||||
add_executable(quantize quantize.cpp)
|
add_executable(quantize quantize.cpp)
|
||||||
|
4
Makefile
4
Makefile
@ -229,8 +229,8 @@ utils.o: utils.cpp utils.h
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o main quantize
|
rm -f *.o main quantize
|
||||||
|
|
||||||
main: main.cpp ggml.o llama.o utils.o
|
main: run.cpp ggml.o llama.o utils.o
|
||||||
$(CXX) $(CXXFLAGS) main.cpp ggml.o llama.o utils.o -o main $(LDFLAGS)
|
$(CXX) $(CXXFLAGS) run.cpp ggml.o llama.o utils.o -o main $(LDFLAGS)
|
||||||
@echo "\x1b[36mrun ./main -h for help\x1b[0m"
|
@echo "\x1b[36mrun ./main -h for help\x1b[0m"
|
||||||
|
|
||||||
quantize: quantize.cpp ggml.o llama.o utils.o
|
quantize: quantize.cpp ggml.o llama.o utils.o
|
||||||
|
Loading…
Reference in New Issue
Block a user