Download Latest Version 0.20.29 source code.zip (21.8 MB)
Email in envelope

Get an email when there's a new version of dstack

Home / 0.20.25
Name Modified Size InfoDownloads / Week
Parent folder
0.20.25 source code.tar.gz 2026-06-18 32.2 MB
0.20.25 source code.zip 2026-06-18 33.1 MB
README.md 2026-06-18 4.6 kB
Totals: 3 Items   65.3 MB 0

Runs

Ubuntu 24.04

dstack's base Docker images have been upgraded from Ubuntu 22.04 to Ubuntu 24.04. This means runs are now executed in the Ubuntu 24.04 containers unless image is specified. See the Ubuntu 24.04 LTS release notes for more details.

Note: If your runs hard-depend on the previous Ubuntu version, specify image in the run configuration explicitly:

:::yaml
type: task
image: dstackai/base:0.13-base-ubuntu22.04
commands: ...

Instances

Run configurations now support instances property that allows provisioning runs only on the specified instances:

:::yaml
type: dev-environment
ide: vscode
instances: [{fleet: my-ssh-fleet, instance: 0}]

This can be useful if, for example, a run depends on an Instance Volume that exists on a specific SSH instance.

See the reference for different syntax options supported by instances.

Gateways

Replicas

A gateway can now have multiple replicas for improved availability and scalability:

:::yaml
type: gateway
name: example-gateway

backend: aws
region: eu-west-1

domain: example.com

certificate: null
replicas: 2

To balance requests between gateway replicas, add DNS records for each replica or set up a load balancer outside of dstack.

Note: Automatic HTTPS is not supported for replicated gateways. Use an external load balancer for TLS termination.

Replicated gateways are an experimental feature. See the docs for all the limitations.

Backends

AWS

NVIDIA B200 and B300

dstack now supports AWS p6-b200 and p6-b300 instance types, with max-throughput EFA networking setup out-of-the-box. p6-b300 is the first instance type natively supported by dstack that comes with NVIDIA Blackwell Ultra B300 GPUs and 6,400 Gbps networking. Give it a try:

✗ dstack apply -f b300-fleet.dstack.yml
...
 #  BACKEND  REGION     INSTANCE          RESOURCES                                         SPOT  PRICE
 1  aws      us-east-1  p6-b300.48xlarge  cpu=192 mem=4096GB disk=100GB gpu=B300:268.6GB:8  yes   $33.082
 2  aws      us-west-2  p6-b300.48xlarge  cpu=192 mem=4096GB disk=100GB gpu=B300:268.6GB:8  yes   $34.4876
 3  aws      us-west-2  p6-b300.48xlarge  cpu=192 mem=4096GB disk=100GB gpu=B300:268.6GB:8  no    $142.416
    ...
 Shown 3 of 4 offers, $142.416 max

What's changed

Full changelog: https://github.com/dstackai/dstack/compare/0.20.24...0.20.25

Source: README.md, updated 2026-06-18