Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pgml-extension/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG PGVERSION=14
ARG DEBIAN_FRONTEND=noninteractive
ARG PACKAGE_VERSION=2.0.0
ARG PACKAGE_PYTHON=true
ARG PACKAGE_CUDA=true
ARG PACKAGE_CUDA=false
ENV TZ=Etc/UTC

# Apt-fast
Expand All @@ -30,7 +30,6 @@ RUN echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https:
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

# CUDA
# ARM64
COPY docker/install_cuda.sh install_cuda.sh
RUN bash install_cuda.sh

Expand Down
6 changes: 3 additions & 3 deletions pgml-extension/docker/install_cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ else
fi

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

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

dpkg -i cuda-keyring_1.0-1_all.deb
Expand Down
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