Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e39d7e3

Browse filesBrowse files
authored
Start your day with CUDA (#469)
1 parent 813f5df commit e39d7e3
Copy full SHA for e39d7e3

File tree

2 files changed

+4
-1
lines changed
Filter options

2 files changed

+4
-1
lines changed

‎pgml-extension/Dockerfile

Copy file name to clipboardExpand all lines: pgml-extension/Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN apt-get update && apt-fast install postgresql-${PGVERSION} libopenblas-dev c
3131

3232
# CUDA
3333
COPY docker/install_cuda.sh install_cuda.sh
34-
RUN UBUNTU_VERSION=${UBUNTU_VERSION} bash install_cuda.sh
34+
RUN bash install_cuda.sh
3535

3636
USER postgres
3737

‎pgml-extension/docker/install_cuda.sh

Copy file name to clipboardExpand all lines: pgml-extension/docker/install_cuda.sh
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#
33
# Install CUDA.
44
#
5+
set -e
6+
7+
UBUNTU_VERSION=$(lsb_release -a | grep Release | awk '{ print $2 }')
58

69
if [[ $(uname -a) == *"aarch64"* ]]; then
710
ARCH="arm64"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.