Skip to content

Feature Request: steps how to compile as cmake i struction on the origi al repo not work here. #159

@ajiekc905

Description

@ajiekc905

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

cmake -B build
cmake --build build --config Release

i"m trying to compile it for use under termux / android.
Thanks

[ 17%] Linking CXX executable ../bin/test-tokenizer-0
ld.lld: error: undefined reference: iqk_mul_mat

referenced by ../ggml/src/libggml.so (disallowed by --no-allow-shlib-undefined)
ld.lld: error: undefined reference: iqk_mul_mat_moe
referenced by ../ggml/src/libggml.so (disallowed by --no-allow-shlib-undefined)
ld.lld: error: undefined reference: iqk_flash_attn_noalibi >>> referenced by ../ggml/src/libggml.so (disallowed by --no-allow-shlib-undefined) c++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [tests/CMakeFiles/test-tokenizer-0.dir/build.make:104: bin/test-tokenizer-0] Error 1
make[1]: *** [CMakeFiles/Makefile2:2100: tests/CMakeFiles/test-tokenizer-0.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

Motivation

It implements optimizations and bitnet to work on limited resources on cpu which is exactly termux case.

Possible Implementation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions