Package Details: local-ai-hipblas 2.25.0-1

Git Clone URL: https://aur.archlinux.org/local-ai-hipblas.git (read-only, click to copy)
Package Base: local-ai-hipblas
Description: Free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first ((with AMD ROCm optimizations)
Upstream URL: https://github.com/mudler/LocalAI
Licenses: MIT
Conflicts: local-ai
Provides: local-ai
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 0
Popularity: 0.000000
First Submitted: 2024-12-06 23:30 (UTC)
Last Updated: 2025-01-15 11:58 (UTC)

Latest Comments

timostolz commented on 2025-02-08 19:34 (UTC) (edited on 2025-02-08 19:36 (UTC) by timostolz)

Unfortunately, the build failed on my machine.

  • I have a recent ArchLinux installation with the open source amdgpu driver.
  • My GPU is an AMD PRO W7900 with gfx1100.
  • ROCm version is 6.2.4
ld.lld: error: undefined symbol: __kmpc_global_thread_num
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute)
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute_thread)
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_compute_forward_diag_mask_f32)

ld.lld: error: undefined symbol: __kmpc_push_num_threads
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute)

ld.lld: error: undefined symbol: __kmpc_fork_call
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute)

ld.lld: error: undefined symbol: __kmpc_single
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute.omp_outlined)

ld.lld: error: undefined symbol: __kmpc_end_single
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute.omp_outlined)

ld.lld: error: undefined symbol: __kmpc_barrier
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute.omp_outlined)
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute_thread)
>>> referenced by ld-temp.o
>>>               lto.tmp:(ggml_graph_compute_thread)
>>> referenced 15 more times
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

This invocation might have caused this error:

/opt/rocm/llvm/bin/clang++ -m64 -s -o $WORK/b001/exe/a.out -Wl,--export-dynamic-symbol=_cgo_panic -Wl,--export-dynamic-symbol=_cgo_topofstack -Wl,--export-dynamic-symbol=crosscall2 -Qunused-arguments -Wl,--compress-debug-sections=zlib /tmp/go-link-1670633479/go.o /tmp/go-link-1670633479/000000.o /tmp/go-link-1670633479/000001.o /tmp/go-link-1670633479/000002.o /tmp/go-link-1670633479/000003.o /tmp/go-link-1670633479/000004.o /tmp/go-link-1670633479/000005.o /tmp/go-link-1670633479/000006.o /tmp/go-link-1670633479/000007.o /tmp/go-link-1670633479/000008.o /tmp/go-link-1670633479/000009.o /tmp/go-link-1670633479/000010.o /tmp/go-link-1670633479/000011.o /tmp/go-link-1670633479/000012.o /tmp/go-link-1670633479/000013.o /tmp/go-link-1670633479/000014.o /tmp/go-link-1670633479/000015.o /tmp/go-link-1670633479/000016.o /tmp/go-link-1670633479/000017.o /tmp/go-link-1670633479/000018.o /tmp/go-link-1670633479/000019.o /tmp/go-link-1670633479/000020.o /tmp/go-link-1670633479/000021.o /tmp/go-link-1670633479/000022.o /tmp/go-link-1670633479/000023.o /tmp/go-link-1670633479/000024.o /tmp/go-link-1670633479/000025.o -O3 --rtlib=compiler-rt -unwindlib=libgcc -lhipblas -lrocblas --hip-link -L/opt/rocm/lib/llvm/lib -L/home/timo/.cache/yay/local-ai-hipblas/src/LocalAI-2.25.0/backend/go/image/stablediffusion-ggml/ -L/home/timo/.cache/yay/local-ai-hipblas/src/LocalAI-2.25.0/backend/go/image/stablediffusion-ggml/../../../../sources/stablediffusion-ggml.cpp/build/ggml/src/ggml-cpu -L/home/timo/.cache/yay/local-ai-hipblas/src/LocalAI-2.25.0/backend/go/image/stablediffusion-ggml/../../../../sources/stablediffusion-ggml.cpp/build/ggml/src -lsd -lstdc++ -lm -lggml -lggml-base -lggml-cpu -lgomp -O3 --rtlib=compiler-rt -unwindlib=libgcc -lhipblas -lrocblas --hip-link -L/opt/rocm/lib/llvm/lib -lpthread -O3 --rtlib=compiler-rt -unwindlib=libgcc -lhipblas -lrocblas --hip-link -L/opt/rocm/lib/llvm/lib -lresolv -O3 --rtlib=compiler-rt -unwindlib=libgcc -lhipblas -lrocblas --hip-link -L/opt/rocm/lib/llvm/lib -no-pie