Skip to content

Commit 62e3199

Browse files
committed
update recipe for building google cloud images (newer nvidia and new ubuntu and making sure versions match!)
1 parent 0737cad commit 62e3199

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/packages/server/compute/cloud/google-cloud/create-image.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ function getConf({
304304
}
305305

306306
/*
307-
ubuntu-2404-noble-amd64-v20240701a
308-
ubuntu-2404-noble-arm64-v20240701a
307+
ubuntu-2404-noble-amd64-v20241004
308+
ubuntu-2404-noble-arm64-v20241004
309309
*/
310310

311311
function getSourceImage(arch: Architecture) {

src/packages/server/compute/cloud/install.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ chown ${UID}:${UID} -R /cocalc/conf
343343
/*
344344
THIS works to install CUDA
345345
346-
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_network
346+
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=24.04&target_type=deb_network
347347
348348
(NOTE: K80's don't work since they are too old and not supported!)
349349
@@ -360,7 +360,7 @@ Links to all versions: https://developer.nvidia.com/cuda-toolkit-archive
360360

361361
export function installCuda() {
362362
return `
363-
curl -o cuda-keyring.deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
363+
curl -o cuda-keyring.deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
364364
dpkg -i cuda-keyring.deb
365365
rm cuda-keyring.deb
366366
apt-get update -y

0 commit comments

Comments
 (0)