Skip to content

Commit d2d04c7

Browse files
committed
fix(hipblas-llama.cpp): create symlink to libomp
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 1a0d06f commit d2d04c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ RUN if [ "${BUILD_TYPE}" = "hipblas" ] && [ "${SKIP_DRIVERS}" = "false" ]; then
100100
ldconfig \
101101
; fi
102102

103+
RUN if [ "${BUILD_TYPE}" = "hipblas" ]; then \
104+
ln -s /opt/rocm-**/lib/llvm/lib/libomp.so /usr/lib/libomp.so \
105+
; fi
106+
103107
RUN expr "${BUILD_TYPE}" = intel && echo "intel" > /run/localai/capability || echo "not intel"
104108

105109
# Cuda

0 commit comments

Comments
 (0)