File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -664,6 +664,17 @@ backend-assets/grpc/llama-cpp-noavx: backend-assets/grpc
664
664
$(MAKE ) VARIANT=" llama-noavx" build-llama-cpp-grpc-server
665
665
cp -rfv backend/cpp/llama-noavx/grpc-server backend-assets/grpc/llama-cpp-noavx
666
666
667
+ backend-assets/grpc/llama-cpp-fallback : backend-assets/grpc
668
+ $(info ${GREEN}I llama-cpp build info:fallback${RESET})
669
+ cp -rf backend/cpp/llama backend/cpp/llama-fallback
670
+ $(MAKE ) -C backend/cpp/llama-fallback purge
671
+ CMAKE_ARGS+=-DLLAMA_F16C=OFF
672
+ CMAKE_ARGS+=-DLLAMA_AVX512=OFF
673
+ CMAKE_ARGS+=-DLLAMA_AVX2=OFF
674
+ CMAKE_ARGS+=-DLLAMA_FMA=OFF
675
+ $(MAKE ) VARIANT=" llama-fallback" build-llama-cpp-grpc-server
676
+ cp -rfv backend/cpp/llama-fallback/grpc-server backend-assets/grpc/llama-cpp-fallback
677
+
667
678
backend-assets/grpc/llama-ggml : sources/go-llama.cpp sources/go-llama.cpp/libbinding.a backend-assets/grpc
668
679
CGO_LDFLAGS=" $( CGO_LDFLAGS) " C_INCLUDE_PATH=$(CURDIR ) /sources/go-llama.cpp LIBRARY_PATH=$(CURDIR ) /sources/go-llama.cpp \
669
680
$(GOCMD ) build -ldflags " $( LD_FLAGS) " -tags " $( GO_TAGS) " -o backend-assets/grpc/llama-ggml ./backend/go/llm/llama-ggml/
You can’t perform that action at this time.
0 commit comments