disable llamafile in android example
This commit is contained in:
parent
6f6794f23c
commit
0a4b79ca3d
2 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ android {
|
|||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments += "-DLLAMA_BUILD_COMMON=ON"
|
||||
arguments += "-DGGML_LLAMAFILE=OFF"
|
||||
arguments += "-DCMAKE_BUILD_TYPE=Release"
|
||||
cppFlags += listOf()
|
||||
arguments += listOf()
|
||||
|
|
|
@ -204,6 +204,7 @@ template <> inline float32x4_t load(const float *p) {
|
|||
return vld1q_f32(p);
|
||||
}
|
||||
#if !defined(_MSC_VER)
|
||||
// FIXME: this should check for __ARM_FEATURE_FP16_VECTOR_ARITHMETIC
|
||||
template <> inline float16x8_t load(const ggml_fp16_t *p) {
|
||||
return vld1q_f16((const float16_t *)p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue