Skip to content

0.22.10

Latest

Choose a tag to compare

@un-def un-def released this 03 Dec 22:07
· 3 commits to master since this release
c0889b7

Backends

Massed Compute

dstack now supports Massed Compute as a backend for single-node, on-demand CPU and GPU VMs. Create a full-access API key in Massed Compute settings and configure the backend:

projects:
  - name: main
    backends:
      - type: massedcompute
        creds:
          type: api_key
          api_key: YOUR_MASSEDCOMPUTE_API_KEY

Massed Compute offers good availability and competitive pricing for GPUs such as the RTX PRO 6000 Blackwell.

$ dstack offer -b massedcompute --gpu 'RTXPRO6000:1..' --group-by gpu,count

 #  GPU                SPOT       $/GPU  BACKENDS       AVAILABILITY
 1  RTXPRO6000:96GB:1  on-demand  2.19   massedcompute  available
 2  RTXPRO6000:96GB:2  on-demand  2.19   massedcompute  available
 3  RTXPRO6000:96GB:4  on-demand  2.19   massedcompute  available
 4  RTXPRO6000:96GB:8  on-demand  2.19   massedcompute  available

Massed Compute chooses the region for each VM.

Runpod

Offers

The runpod backend now gets offers from the Runpod API for the run's GPU count, vCPU, and RAM, and lists only the data centers where an offer is available. Previously, offers came from a static catalog and were all shown as available.

Offer prices now include the container disk, which Runpod bills on top of compute. Instances also report the vCPU and RAM the pod actually got, which can be more than the offer's minimum.

Important

Community Cloud and Instant Clusters are no longer supported, so Runpod can't be used for multi-node tasks or cluster fleets, and the community_cloud backend setting is ignored.

Before upgrading the server, terminate runs and fleets that use Runpod Instant Clusters. The new version can't terminate them: their instances get stuck in the terminating state, and the clusters have to be deleted manually in the Runpod console.

Nebius

Nebius Capacity Advisor, added as an opt-in in 0.22.8, is now enabled by default. Nebius offers show availability and quota, and dstack skips offers without capacity or quota. The run moves on to another offer or, if none is left, is handled as no-capacity, including retries, instead of failing to provision.

Advice is cached for 10 minutes, so offers can lag behind the actual capacity. To disable the checks, set capacity_advisor: false in the Nebius backend configuration.

Kubernetes

Jump pod image

The new proxy_jump.image property sets the image of the jump pod used for SSH access to runs, e.g., for clusters that only admit images from an internal registry, gate on vulnerability scans, or need a specific SSH crypto policy:

projects:
- name: main
  backends:
  - type: kubernetes
    kubeconfig:
      filename: ~/.kube/config
    contexts:
    - name: gpu-cluster-a
      proxy_jump:
        image: registry.example.com/sshd:1.0@sha256:...

The image must provide OpenSSH sshd and a few basic tools. See Kubernetes for the requirements.

The default image is now testcontainers/sshd:1.4.0 instead of 1.3.0.

Existing jump pods keep their image. To update one, update its ReplicaSet and delete the pod so that Kubernetes recreates it.

Gateways

Replicas

Scaling out a gateway during a service's rolling deployment no longer stops all of its old replicas before the new ones are ready.

A new gateway replica now syncs its services before the load balancer sends it traffic. Previously, requests to a new replica could return 404 or 503 for at least 15 seconds after startup.

Server

Environment variables

UI

Volumes

Volumes now have their own page with the volume's details, events, and JSON:

The volume page

Breaking changes

Runpod

Runpod Community Cloud and Instant Clusters are no longer supported, and the community_cloud backend setting is ignored. Before upgrading the server, terminate runs and fleets that use Runpod Instant Clusters.

TLS certificates and proxies

The dstack CLI, server, and Python API have switched from requests to httpx2 and now verify TLS certificates with the OS trust store. On systems without CA certificates, dstack falls back to certifi. On macOS, the OS verifier may reject private certificates that were previously accepted.

If you use REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE, switch to SSL_CERT_FILE or SSL_CERT_DIR, or add your CA certificate to the OS trust store.

A SOCKS proxy in ALL_PROXY now requires socksio in place of PySocks. Install it with pip install "httpx2[socks]".

What's Changed

New Contributors

Full Changelog: 0.22.9...0.22.10