Skip to content

Thist is my error in docker: #7

Description

@youxiaohanpian

509 | (x)[i] = vaddq_f16((x)[i], (x)[offset+i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggml/src/ggml-cpu/ggml-cpu.c:528:41: note: in expansion of macro ‘GGML_F16x8_REDUCE’
528 | #define GGML_F16_VEC_REDUCE GGML_F16x8_REDUCE
| ^~~~~~~~~~~~~~~~~
ggml/src/ggml-cpu/ggml-cpu.c:1487:5: note: in expansion of macro ‘GGML_F16_VEC_REDUCE’
1487 | GGML_F16_VEC_REDUCE(sumf, sum);
| ^~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/aarch64-linux-gnu/12/include/arm_neon.h:28760:1: error: inlining failed in call to ‘always_inline’ ‘vaddq_f16’: target specific option mismatch
28760 | vaddq_f16 (float16x8_t __a, float16x8_t __b)
| ^~~~~~~~~
ggml/src/ggml-cpu/ggml-cpu.c:513:22: note: called from here
513 | (x)[i] = vaddq_f16((x)[i], (x)[offset+i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggml/src/ggml-cpu/ggml-cpu.c:528:41: note: in expansion of macro ‘GGML_F16x8_REDUCE’
528 | #define GGML_F16_VEC_REDUCE GGML_F16x8_REDUCE
| ^~~~~~~~~~~~~~~~~
ggml/src/ggml-cpu/ggml-cpu.c:1487:5: note: in expansion of macro ‘GGML_F16_VEC_REDUCE’
1487 | GGML_F16_VEC_REDUCE(sumf, sum);
| ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:432: ggml-cpu.o] Error 1

==================
my Mac:silicon M2

This is my step:
koboldcpp-docker % docker build -t koboldcpp-docker:latest -f Dockerfile_cpu .

Please help Thank you !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions