File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed
Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1010 {
1111 "type" : " googlecompute" ,
1212 "project_id" : " dstack" ,
13- "source_image" : " ubuntu-2204-jammy-v20230714 " ,
13+ "source_image" : " ubuntu-2404-noble-amd64-v20250828 " ,
1414 "image_name" : " {{user `build_prefix`}}dstack-cuda-{{user `image_version` | clean_resource_name}}" ,
1515 "instance_name" : " {{user `build_prefix`}}dstack-cuda-{{user `image_version` | clean_resource_name}}" ,
1616 "ssh_username" : " ubuntu" ,
Original file line number Diff line number Diff line change 99 {
1010 "type" : " googlecompute" ,
1111 "project_id" : " dstack" ,
12- "source_image" : " ubuntu-2204-jammy-v20230714 " ,
12+ "source_image" : " ubuntu-2404-noble-amd64-v20250828 " ,
1313 "image_name" : " {{user `build_prefix`}}dstack-{{user `image_version` | clean_resource_name}}" ,
1414 "instance_name" : " {{user `build_prefix`}}dstack-{{user `image_version` | clean_resource_name}}" ,
1515 "ssh_username" : " ubuntu" ,
Original file line number Diff line number Diff line change 1616 "compartment_ocid" : " {{user `oci_compartment_ocid`}}" ,
1717 "subnet_ocid" : " {{user `oci_subnet_ocid`}}" ,
1818 "shape" : " VM.Standard2.1" ,
19- "base_image_ocid" : " ocid1.image.oc1.eu-frankfurt-1.aaaaaaaaxroekfbow3kdrdjlwao6tsxxfcb23xmqrdjtjcay2ow52eijvzqa " ,
19+ "base_image_ocid" : " ocid1.image.oc1.eu-frankfurt-1.aaaaaaaahelib4o7g4fsjgck2lhxjmzonvbniwcmjjn2im4cxlksjgyzw5gq " ,
2020 "image_name" : " {{user `build_prefix`}}dstack-cuda-{{user `image_version`}}" ,
2121 "instance_name" : " packer-{{user `build_prefix`}}dstack-cuda-{{user `image_version`}}" ,
2222 "ssh_username" : " ubuntu"
Original file line number Diff line number Diff line change 1515 "compartment_ocid" : " {{user `oci_compartment_ocid`}}" ,
1616 "subnet_ocid" : " {{user `oci_subnet_ocid`}}" ,
1717 "shape" : " VM.Standard2.1" ,
18- "base_image_ocid" : " ocid1.image.oc1.eu-frankfurt-1.aaaaaaaaxroekfbow3kdrdjlwao6tsxxfcb23xmqrdjtjcay2ow52eijvzqa " ,
18+ "base_image_ocid" : " ocid1.image.oc1.eu-frankfurt-1.aaaaaaaahelib4o7g4fsjgck2lhxjmzonvbniwcmjjn2im4cxlksjgyzw5gq " ,
1919 "image_name" : " {{user `build_prefix`}}dstack-{{user `image_version`}}" ,
2020 "instance_name" : " packer-{{user `build_prefix`}}dstack-{{user `image_version`}}" ,
2121 "ssh_username" : " ubuntu"
Original file line number Diff line number Diff line change @@ -10,15 +10,13 @@ ARCH=$(uname -m)
1010CUDA_DISTRO=$( . /etc/os-release; echo $ID$VERSION_ID | sed -e ' s/\.//g' )
1111
1212# based on https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html#ubuntu-lts
13- wget https://developer.download.nvidia.com/compute/cuda/repos/$CUDA_DISTRO /$ARCH /cuda-keyring_1.0 -1_all.deb
14- sudo dpkg -i cuda-keyring_1.0 -1_all.deb
15- rm cuda-keyring_1.0 -1_all.deb
13+ wget https://developer.download.nvidia.com/compute/cuda/repos/$CUDA_DISTRO /$ARCH /cuda-keyring_1.1 -1_all.deb
14+ sudo dpkg -i cuda-keyring_1.1 -1_all.deb
15+ rm cuda-keyring_1.1 -1_all.deb
1616
1717sudo apt-get update
18- # Pinned dkms due to https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2112114
1918sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
20- dkms=2.8.7-2ubuntu2.2 \
21- cuda-drivers-$CUDA_DRIVERS_VERSION \
19+ nvidia-driver-$CUDA_DRIVERS_VERSION -server-open \
2220 nvidia-fabricmanager-$CUDA_DRIVERS_VERSION \
2321 datacenter-gpu-manager-4-core datacenter-gpu-manager-4-proprietary datacenter-gpu-manager-exporter
2422sudo systemctl enable nvidia-fabricmanager
You can’t perform that action at this time.
0 commit comments