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
2 changes: 1 addition & 1 deletion docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ARG UBUNTU_VERSION

# Build stage
FROM nvidia/cuda:12.1.1-base-ubuntu${UBUNTU_VERSION}.04 AS builder
FROM nvidia/cuda:12.8.1-base-ubuntu${UBUNTU_VERSION}.04 AS builder

ENV NCCL_HOME=/opt/nccl
ENV CUDA_HOME=/usr/local/cuda
Expand Down
2 changes: 1 addition & 1 deletion docker/base/Dockerfile.common
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG UBUNTU_VERSION

FROM nvidia/cuda:12.1.1-base-ubuntu${UBUNTU_VERSION}.04
FROM nvidia/cuda:12.8.1-base-ubuntu${UBUNTU_VERSION}.04

ARG _UV_HOME="/opt/uv"

Expand Down
9 changes: 9 additions & 0 deletions scripts/packer/azure-image-grid.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@
"./install-docker.sh --version {{user `docker_version`}}"
]
},
{
"type": "shell",
"script": "provisioners/downgrade-azure-kernel.sh"
},
{
"type": "shell",
"inline": ["sudo reboot"],
"expect_disconnect": true
},
{
"type": "shell",
"script": "provisioners/install-nvidia-grid-driver-for-azure.sh"
Expand Down
18 changes: 18 additions & 0 deletions scripts/packer/provisioners/downgrade-azure-kernel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

# based on https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/hpccompute-gpu-linux#known-issues
# this is a temporary solution only required until the issue is fixed

set -e

# Install 6.8 kernel
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt install linux-image-6.8.0-1015-azure linux-headers-6.8.0-1015-azure -y

# Update the Grub entry name
grub_entry_name="$(sudo grep -Po "menuentry '\KUbuntu, with Linux 6\.8[^(']+" /boot/grub/grub.cfg | sort -V | head -1)"
sudo sed -i "s/^\s*GRUB_DEFAULT=.*$/GRUB_DEFAULT='Advanced options for Ubuntu>$grub_entry_name'/" /etc/default/grub
sudo update-grub

# Disable the kernel package upgrade
sudo apt-mark hold $(dpkg --get-selections | grep -Po "^linux[^\t]+${grub_entry_name##* }")
2 changes: 1 addition & 1 deletion src/dstack/_internal/core/backends/vastai/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, config: VastAIConfig):
"reliability2": {"gte": 0.9},
"inet_down": {"gt": 128},
"verified": {"eq": True},
"cuda_max_good": {"gte": 12.1},
"cuda_max_good": {"gte": 12.8},
"compute_cap": {"gte": 600},
}
)
Expand Down
2 changes: 1 addition & 1 deletion src/dstack/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

__version__ = "0.0.0"
__is_release__ = False
base_image = "0.11rc2"
base_image = "0.11"
base_image_ubuntu_version = "22.04"
2 changes: 1 addition & 1 deletion src/tests/_internal/server/routers/test_runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def get_dev_env_run_dict(
" && tail -f /dev/null"
),
]
image_name = "dstackai/base:0.11rc2-base-ubuntu22.04"
image_name = "dstackai/base:0.11-base-ubuntu22.04"

return {
"id": run_id,
Expand Down