- fix copy_tensor being called on the src buffer instead of the dst buffer
- always initialize views in the view_src buffer - add RPC backend to Makefile build - add endpoint to all RPC object names
This commit is contained in:
parent
6c276deb9d
commit
a7060dffdd
5 changed files with 24 additions and 14 deletions
12
Makefile
12
Makefile
|
@ -416,6 +416,12 @@ ifdef LLAMA_BLIS
|
|||
MK_LDFLAGS += -lblis -L/usr/local/lib
|
||||
endif # LLAMA_BLIS
|
||||
|
||||
ifdef LLAMA_RPC
|
||||
MK_CPPFLAGS += -DGGML_USE_RPC
|
||||
OBJS += ggml-rpc.o
|
||||
endif # LLAMA_RPC
|
||||
|
||||
|
||||
ifdef LLAMA_CUBLAS
|
||||
# LLAMA_CUBLAS is deprecated and will be removed in the future
|
||||
LLAMA_CUDA := 1
|
||||
|
@ -631,6 +637,12 @@ sgemm.o: sgemm.cpp sgemm.h ggml.h
|
|||
$(CXX) $(CXXFLAGS) -c $< -o $@
|
||||
endif
|
||||
|
||||
ifdef LLAMA_RPC
|
||||
ggml-rpc.o: ggml-rpc.cpp ggml-rpc.h
|
||||
$(CXX) $(CXXFLAGS) -c $< -o $@
|
||||
endif # LLAMA_RPC
|
||||
|
||||
|
||||
GF_CC := $(CC)
|
||||
include scripts/get-flags.mk
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue