Skip to content

Commit d293bb7

Browse files
authored
Fix cuda pipeline (#467)
1 parent 0e9cf57 commit d293bb7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pgml-extension/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ARG PGVERSION=14
88
ARG DEBIAN_FRONTEND=noninteractive
99
ARG PACKAGE_VERSION=2.0.0
1010
ARG PACKAGE_PYTHON=true
11-
ARG PACKAGE_CUDA=true
11+
ARG PACKAGE_CUDA=false
1212
ENV TZ=Etc/UTC
1313

1414
# Apt-fast
@@ -30,7 +30,6 @@ RUN echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https:
3030
RUN apt-get update && apt-fast install postgresql-${PGVERSION} libopenblas-dev cmake postgresql-server-dev-${PGVERSION} pkg-config libssl-dev build-essential libclang-dev clang libpython3-dev python3-dev -y
3131

3232
# CUDA
33-
# ARM64
3433
COPY docker/install_cuda.sh install_cuda.sh
3534
RUN bash install_cuda.sh
3635

pgml-extension/docker/install_cuda.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ else
1010
fi
1111

1212
# ARM
13-
if [[ ${ARCH} == "aarch64" ]]; then
14-
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/sbsa/cuda-keyring_1.0-1_all.deb
13+
if [[ ${ARCH} == "arm64" ]]; then
14+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION//.}/sbsa/cuda-keyring_1.0-1_all.deb
1515
fi
1616

1717
# Intel
1818
if [[ ${ARCH} == "amd64" ]]; then
19-
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
19+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${UBUNTU_VERSION//.}/x86_64/cuda-keyring_1.0-1_all.deb
2020
fi
2121

2222
dpkg -i cuda-keyring_1.0-1_all.deb

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy