Skip to main content

dstack is a unified control plane for GPU provisioning and orchestration that works with any GPU cloud, Kubernetes, or on-prem clusters.

It streamlines development, training, and inference, and is compatible with any hardware, open-source tools, and frameworks.

Accelerators

dstack supports NVIDIA, AMD, Google TPU, and Tenstorrent accelerators out of the box.

Latest news ✨

How does it work?

Launch the server

Before using dstack through CLI or API, set up a dstack server. If you already have a running dstack server, you only need to install the CLI.

To orchestrate compute across GPU clouds or Kubernetes clusters, you need to configure backends.

When using dstack with on-prem servers, backend configuration isn’t required. Simply create SSH fleets once the server is up.

The server can be installed on Linux, macOS, and Windows (via WSL 2). It requires Git and OpenSSH.

$ uv tool install "dstack[all]" -U
$ dstack server

Applying ~/.dstack/server/config.yml...

The admin token is "bbae0f28-d3dd-4820-bf61-8f4bb40815da"
The server is running at http://127.0.0.1:3000/

For more details on server configuration options, see the Server deployment guide.

Install the CLI

If the CLI is not installed with the server

Once the server is up, you can access it via the dstack CLI.

The CLI can be installed on Linux, macOS, and Windows. It requires Git and OpenSSH.

$ uv tool install dstack -U

To point the CLI to the dstack server, configure it with the server address, user token, and project name:

$ dstack project add \
    --name main \
    --url http://127.0.0.1:3000 \
    --token bbae0f28-d3dd-4820-bf61-8f4bb40815da

Configuration is updated at ~/.dstack/config.yml

Install agent skills

Install dstack skills to help AI agents use the CLI and edit configuration files.

$ npx skills add dstackai/dstack

AI agents like Claude, Codex, and Cursor can now create and manage fleets and submit workloads on your behalf.

Define configurations

dstack supports the following configurations:

  • Fleets — Provision and manage clusters across clouds, Kubernetes, and on-prem
  • Dev environments — Launch dev environments to be accessed by agents or from your IDE
  • Tasks — Run training, batch or other jobs across a single node or clusters
  • Services — Deploy model inference as secure and scalable endpoints
  • Presets — Agent-driven inference optimization (experimental)
  • Volumes — Managing instance and network volumes for persisting data

Configuration can be defined as YAML files within your repo.

Apply configurations

Apply the configuration via the dstack apply CLI command, a programmatic API, or through AI agent skills.

dstack automatically manages provisioning, job queuing, auto-scaling, networking, volumes, run failures, out-of-capacity errors, port-forwarding, and more — across clouds and on-prem clusters.

For additional information, see the following links:

Contributing

You're very welcome to contribute to dstack. Learn more about how to contribute to the project at CONTRIBUTING.md.

License

Mozilla Public License 2.0

Release files for dstack 0.22.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dstack 0.22.1
File Size Uploaded
dstack-0.22.1.tar.gz 36.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dstack 0.22.1
File Interpreter ABI Platform
dstack-0.22.1-py3-none-any.whl Python 3 none any Details

Total release size: 53.0 MB

Release files / dstack-0.22.1.tar.gz

Download URL dstack-0.22.1.tar.gz
Size 36.3 MB
Tags Source
SHA-256 checksum
How to use checksums
a8322739ea62d7da60a446092c1716d89d80d78c0d78ef47dd15492a86d2651c
BLAKE2b-256 checksum
How to use checksums
826cf8e0e8dcc8ae9c48f535a875ab404befbe65397d4f0b74207d2063f04023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dstack-0.22.1-py3-none-any.whl

Download URL dstack-0.22.1-py3-none-any.whl
Size 16.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
570eb30acce87e8479812f8963bb9b2200573b56e0aa44c3cac13ecf63eaf4bd
BLAKE2b-256 checksum
How to use checksums
a8492ced96961b66f3eeecce727a2f314c524fee6e7a4f43b189a8d8e4243e73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.22.1 This release

2 release files

0.22.0

2 release files

0.21.3

2 release files

0.21.2

2 release files

0.21.1

2 release files

0.20.9

2 release files

0.20.7

2 release files

0.20.6

2 release files

0.20.5

2 release files

0.20.4

2 release files

0.20.2

2 release files

0.20.1

2 release files

0.20.0

2 release files

0.19.9

2 release files

0.19.5

2 release files

0.19.4

2 release files

0.19.3

2 release files

0.19.1

2 release files

0.19.0

2 release files

0.18.7

2 release files

0.18.6

2 release files

0.18.5

2 release files

0.18.4

2 release files

0.18.2

2 release files

0.18.1

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.5

2 release files

0.16.4

2 release files

0.16.3

2 release files

0.16.0

2 release files

0.15.1

2 release files

0.14.0

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.4

2 release files

0.12.3

2 release files

0.12.2

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11

2 release files

0.10.8

2 release files

0.10.6

2 release files

0.10.5

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.8.1

2 release files

0.8

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7

2 release files

0.2.6

2 release files

0.2.5

1 release file

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

1 release file

0.0.5

1 release file

0.0.4.2

1 release file

0.0.4.1

1 release file

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page