llamafile : tmp disable due to MoE bug
ggml-ci
This commit is contained in:
parent
196e54f3c7
commit
0dd7505ad4
2 changed files with 15 additions and 5 deletions
|
@ -43,11 +43,17 @@ else()
|
||||||
set(LLAMA_METAL_DEFAULT OFF)
|
set(LLAMA_METAL_DEFAULT OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_SYSTEM_NAME MATCHES "ANDROID")
|
# TODO: fix this for Android CI
|
||||||
set(LLAMA_LLAMAFILE_DEFAULT OFF)
|
# https://github.com/ggerganov/llama.cpp/pull/6716#issuecomment-2061509191
|
||||||
else()
|
#if (CMAKE_SYSTEM_NAME MATCHES "ANDROID")
|
||||||
set(LLAMA_LLAMAFILE_DEFAULT ON)
|
# set(LLAMA_LLAMAFILE_DEFAULT OFF)
|
||||||
endif()
|
#else()
|
||||||
|
# set(LLAMA_LLAMAFILE_DEFAULT ON)
|
||||||
|
#endif()
|
||||||
|
|
||||||
|
# TODO: temporary disable until MoE is fixed
|
||||||
|
# https://github.com/ggerganov/llama.cpp/pull/6716
|
||||||
|
set(LLAMA_LLAMAFILE_DEFAULT OFF)
|
||||||
|
|
||||||
# general
|
# general
|
||||||
option(BUILD_SHARED_LIBS "build shared libraries" OFF)
|
option(BUILD_SHARED_LIBS "build shared libraries" OFF)
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -384,6 +384,10 @@ ifdef LLAMA_OPENBLAS
|
||||||
MK_LDFLAGS += $(shell pkg-config --libs openblas)
|
MK_LDFLAGS += $(shell pkg-config --libs openblas)
|
||||||
endif # LLAMA_OPENBLAS
|
endif # LLAMA_OPENBLAS
|
||||||
|
|
||||||
|
# TODO: temporary disable until MoE is fixed
|
||||||
|
# https://github.com/ggerganov/llama.cpp/pull/6716
|
||||||
|
LLAMA_NO_LLAMAFILE := 1
|
||||||
|
|
||||||
ifndef LLAMA_NO_LLAMAFILE
|
ifndef LLAMA_NO_LLAMAFILE
|
||||||
MK_CPPFLAGS += -DGGML_USE_LLAMAFILE
|
MK_CPPFLAGS += -DGGML_USE_LLAMAFILE
|
||||||
OBJS += sgemm.o
|
OBJS += sgemm.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue