mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 06:10:29 +01:00
ggml : temporary disable llamafile sgemm until fixed
ggml-ci
This commit is contained in:
parent
8cc91dc63c
commit
f02ea667c1
@ -88,6 +88,7 @@ endif()
|
||||
# 3rd party libs
|
||||
option(LLAMA_ACCELERATE "llama: enable Accelerate framework" ON)
|
||||
option(LLAMA_BLAS "llama: use BLAS" OFF)
|
||||
option(LLAMA_LLAMAFILE "llama: use llamafile SGEMM" ON)
|
||||
set(LLAMA_BLAS_VENDOR "Generic" CACHE STRING "llama: BLAS library vendor")
|
||||
option(LLAMA_CUDA "llama: use CUDA" OFF)
|
||||
option(LLAMA_CUBLAS "llama: use CUDA (deprecated, use LLAMA_CUDA)" OFF)
|
||||
@ -286,6 +287,7 @@ if (LLAMA_METAL)
|
||||
${METALKIT_FRAMEWORK}
|
||||
)
|
||||
endif()
|
||||
|
||||
if (LLAMA_BLAS)
|
||||
if (LLAMA_STATIC)
|
||||
set(BLA_STATIC ON)
|
||||
@ -368,6 +370,11 @@ if (LLAMA_BLAS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (LLAMA_LLAMAFILE)
|
||||
# TODO: temporary disabled until test-backend-ops becomes green
|
||||
#add_compile_definitions(GGML_USE_LLAMAFILE)
|
||||
endif()
|
||||
|
||||
if (LLAMA_QKK_64)
|
||||
add_compile_definitions(GGML_QKK_64)
|
||||
endif()
|
||||
|
4
Makefile
4
Makefile
@ -222,6 +222,10 @@ endif # LLAMA_DISABLE_LOGS
|
||||
# disable ggml.c's use of sgemm.cpp
|
||||
ifdef LLAMA_NO_LLAMAFILE
|
||||
MK_CPPFLAGS += -DGGML_USE_LLAMAFILE=0
|
||||
else
|
||||
# TODO: temporary disabled until test-backend-ops becomes green
|
||||
#MK_CPPFLAGS += -DGGML_USE_LLAMAFILE=1
|
||||
MK_CPPFLAGS += -DGGML_USE_LLAMAFILE=0
|
||||
endif
|
||||
|
||||
# warnings
|
||||
|
Loading…
Reference in New Issue
Block a user