Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when compiling to aarch64-apple-ios #25

Open
santiagomed opened this issue Apr 14, 2024 · 1 comment
Open

Compilation error when compiling to aarch64-apple-ios #25

santiagomed opened this issue Apr 14, 2024 · 1 comment

Comments

@santiagomed
Copy link

Hi. I am trying to compile a project that uses the Candle ML framework into aarch64-apple-ios. Candle uses gemm as a dependency, so I get the following compilation error:

error: instruction requires: fullfp16
    --> /Users/santiagomedina/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gemm-common-0.17.1/src/simd.rs:1982:18
     |
1982 |                 "fmla {0:v}.8h, {1:v}.8h, {2:v}.h[0]",
     |                  ^
     |
note: instantiated into assembly here
    --> <inline asm>:1:2
     |
1    |     fmla v0.8h, v1.8h, v2.h[0]
     |     ^

Saw this Candle issue so I though I'd open an issue here as well to check on any updates.

@akashicMarga
Copy link

@santiagomed check this discussion. i tried compiling candle for android. this rust flag helped remove gemm issue.

huggingface/candle#2081 (reply in thread)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants