-
Notifications
You must be signed in to change notification settings - Fork 261
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
Spin 1.5.0 fails to build on aarch64
+musl
with cross
#1786
Comments
Ideas for options:
|
I don't have the whole context here, but in isolation one other possible route would be to have a feature which disables |
@jprendes As a temporary measure you could patch out the |
Thanks, for the time being I workaround this by polyfilling the missing intrinsics in arm_neon.h in the cross container, but that's not a good long term solution. |
I am trying to update
spin
from1.4.1
to1.5.0
in deislabs/containerd-wasm-shims#151spin 1.5.0
introducedllm
support through the ggml crate, which itself depends onllama.cpp
.llama.cpp
uses thevld1q_u8_x4
andvld1q_s8_x4
compiler intrinsics, which are missing ingcc < 10.3
foraarch64
(see xmrig/xmrig#2882). There was a similar fix for android only ggerganov/llama.cpp#2920.Unfortunately
cross
usesgcc 9
foraarch
+musl
, resulting in a compilation failure.It would be great if there was a feature flag to turn
llm
off.The text was updated successfully, but these errors were encountered: