]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
docker : fix the publishing of the CUDA Docker image (#1704)
authorbobqianic <redacted>
Sat, 30 Dec 2023 21:12:31 +0000 (21:12 +0000)
committerGitHub <redacted>
Sat, 30 Dec 2023 21:12:31 +0000 (23:12 +0200)
.devops/main-cuda.Dockerfile

index 0ce7642d427967f62b0d2e1f35d2d8e853c62141..9345241acff65ba6ac0ea4b8489369cf62a0569a 100644 (file)
@@ -20,6 +20,10 @@ RUN apt-get update && \
     apt-get install -y build-essential \
     && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
 
+# Ref: https://stackoverflow.com/a/53464012
+ENV CUDA_MAIN_VERSION=12.3
+ENV LD_LIBRARY_PATH /usr/local/cuda-${CUDA_MAIN_VERSION}/compat:$LD_LIBRARY_PATH
+
 COPY .. .
 RUN make