dstack
dstack is an open-source orchestration engine for running AI workloads on any cloud or on-premises.
Decision gist · record as of 2026-08-14
Yes, if you need to orchestrate GPU workloads across multiple cloud providers or Kubernetes clusters. The active maintenance, low install friction, recent updates (including Pydantic v2 support), and zero known vulnerabilities make it a solid choice. The copyleft license requires compliance with MPL 2.0 terms if you distribute or modify the code. Requires Python 3.10+ and system-level Git and OpenSSH setup.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Git and OpenSSH to be installed on the system.
- Server requires Python 3.10+.
- Backend configuration is needed for cloud or Kubernetes orchestration; on-premises use requires SSH fleet setup.
License · maintenance · safety
copyleft license (copyleft) — Licensed under Mozilla Public License 2.0 (copyleft). Users must comply with MPL 2.0 terms when distributing or modifying dstack; derivative works must be made available under the same license.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 2,213 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,030 downloads/mo, #14,475 on PyPI
Alternatives
Verify before relying
# Install dstack
$ uv tool install "dstack[all]" -U
# Start the server
$ dstack server
# In another terminal, configure the CLI
$ dstack project add --name main --url http://127.0.0.1:3000 --token <admin-token>
# Use the CLI to apply configurations
$ dstack apply -f fleet.yaml- Whether the package works with Python 3.11+ or only 3.10 specifically
- Performance characteristics and scalability limits for large clusters
- Detailed cost estimation or billing integration capabilities
- Support status for each accelerator type (NVIDIA, AMD, TPU, Tenstorrent)
What it is and what it does
dstack is an orchestration engine that acts as a central control plane for GPU workloads, abstracting away the complexity of provisioning and managing compute across multiple cloud providers, Kubernetes clusters, and on-premises infrastructure. It handles provisioning, job queuing, auto-scaling, networking, volumes, and failure recovery automatically. The package includes a server component that coordinates resources and a CLI tool for submitting workloads. Users define configurations in YAML for fleets (clusters), dev environments, tasks (training or batch jobs), services (inference endpoints), presets (optimization), and volumes, then apply them via the CLI or programmatic API.
The system supports multiple accelerator types out of the box and integrates with popular ML frameworks. It requires a running dstack server (which can be deployed on Linux, macOS via WSL 2, or Windows) and Git and OpenSSH as system dependencies. The package has 25 runtime dependencies including pydantic, requests, paramiko, and rich, providing configuration validation, HTTP communication, SSH connectivity, and CLI formatting.
Use it for
- Provision and manage GPU clusters across AWS, GCP, Azure, and on-premises without rewriting infrastructure code for each provider
- Launch development environments on remote GPU hardware for interactive work or IDE integration
- Submit distributed training jobs that auto-scale across multiple nodes and handle out-of-capacity errors automatically
- Deploy model inference services as secure, scalable endpoints with replica management and load balancing
- Manage persistent storage volumes across cloud and on-premises infrastructure for data sharing between workloads
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to orchestrate GPU workloads across multiple cloud providers or Kubernetes clusters.
The active maintenance, low install friction, recent updates (including Pydantic v2 support), and zero known vulnerabilities make it a solid choice. The copyleft license requires compliance with MPL 2.0 terms if you distribute or modify the code. Requires Python 3.10+ and system-level Git and OpenSSH setup.
Install
dstack on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release (0.21.1) and 2213 GitHub stars. Requires Python 3.10 or later and Git and OpenSSH as system dependencies.
Requires Git and OpenSSH to be installed on the system. Server requires Python 3.10+. Backend configuration is needed for cloud or Kubernetes orchestration; on-premises use requires SSH fleet setup.
License in practice
Licensed under Mozilla Public License 2.0 (copyleft). Users must comply with MPL 2.0 terms when distributing or modifying dstack; derivative works must be made available under the same license.
Quickstart
# Install dstack
$ uv tool install "dstack[all]" -U
# Start the server
$ dstack server
# In another terminal, configure the CLI
$ dstack project add --name main --url http://127.0.0.1:3000 --token <admin-token>
# Use the CLI to apply configurations
$ dstack apply -f fleet.yaml
Verify before relying
- Whether the package works with Python 3.11+ or only 3.10 specifically
- Performance characteristics and scalability limits for large clusters
- Detailed cost estimation or billing integration capabilities
- Support status for each accelerator type (NVIDIA, AMD, TPU, Tenstorrent)
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 25 packagesapschedulerargcompletecachetoolscryptographycursorfilelockgitpythongpuhuntignore-pythonjsonschemapackagingparamikopsutilpydanticpython-dateutilpython-multipartpyyamlquestionaryrequestsrequests-unixsocketrichrich-argparsetqdmtyping-extensionswebsocket-client |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,030 / month, #14,475 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Programming Language :: Python :: 3Topic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: dstack-0.21.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “gpu orchestration platform”
- dstackdstack is a unified control plane for provisioning and orchestrating…
- primeCLI and Python SDK for managing GPU compute, sandboxes, training…
- clearmlClearML is an ML/DL development and production suite that automates…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also skypilot · skypilot-nightly · pathwaysutils · openstacksdk · nvidia-cutlass-dsl-libs-base · distributed · dask-jobqueue · nvidia-cutlass-dsl · aws-parallelcluster · nvidia-cutlass-dsl-libs-cu13