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

addpatch: ollama, ver=0.5.4-1 #366

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

wszqkzqk
Copy link
Member

@wszqkzqk wszqkzqk commented Dec 23, 2024

  • Set ARCH to loong64 to avoid automatically using loongarch64 as GOARCH
  • Update math32 to build on loong64
  • Disable cuda and rocm

@wszqkzqk wszqkzqk added the help wanted Extra attention is needed label Dec 23, 2024
* Avoid automatically using `loongarch64` as GOARCH
* Update `math32` to build on loong64
* Disable cuda and rocm

Signed-off-by: Zhou Qiankang <[email protected]>
@wszqkzqk
Copy link
Member Author

wszqkzqk commented Dec 24, 2024

Errors:

ggml-cpu-quants.c:2263:20: error: incompatible types when initializing type ‘__m128’ using type ‘__vector(2) long long int’
ggml-cpu-quants.c:2264:20: error: incompatible types when initializing type ‘__m128’ using type ‘__vector(2) long long int’
ggml-cpu-quants.c:2265:20: error: incompatible types when initializing type ‘__m128’ using type ‘__vector(2) long long int’
ggml-cpu-quants.c:2266:20: error: incompatible types when initializing type ‘__m128’ using type ‘__vector(2) long long int’
ggml-cpu-quants.c:2271:30: error: incompatible types when initializing type ‘__m128’ using type ‘__m128i’
ggml-cpu-quants.c:2278:31: error: implicit declaration of function ‘mul_sum_i8_pairs’ [-Wimplicit-function-declaration]
ggml-cpu-quants.c:2278:31: error: incompatible types when initializing type ‘__m128i’ using type ‘int’
ggml-cpu-quants.c:2283:31: error: incompatible types when initializing type ‘__m128i’ using type ‘int’
ggml-cpu-quants.c:2289:30: error: incompatible types when initializing type ‘__m128’ using type ‘__m128i’
ggml-cpu-quants.c:2296:31: error: incompatible types when initializing type ‘__m128i’ using type ‘int’
ggml-cpu-quants.c:2301:31: error: incompatible types when initializing type ‘__m128i’ using type ‘int’
ggml-cpu-quants.c:2322:12: error: implicit declaration of function ‘hsum_float_4x4’ [-Wimplicit-function-declaration]

These errors need to be fixed upstream and it seems that these errors are fixed:

But it's not so easy to back port them now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant