Skip to main content

A Command Line Interface for training models with https://dstack.ai

Project description

Website | Documentation

Typical ML workflows include multiple steps, e.g. pre-processing data, training, fine-tuning, validation, etc.

With dstack, you can define ML workflows in a simple YAML format, and run them from CLI on either your own servers or using spot instances in your own cloud.

How dstack works

  1. You define .dstack/workflows.yaml and .dstack/variables.yaml files inside your project (must be a Git repository) .

  1. You install the dstack CLI via pip.
  2. You either install dstack-runner daemon on your servers, or use the dstack aws configure to authorize dstack to use your own cloud to create runners on-demand using spot instances.
  3. You use the dstack CLI to run workflows, manage runs, jobs, logs, artifacts, runners.

  1. When a workflow is submitted via the CLI (e.g. via dstack run) , the request is sent to the dstack server. The dstack server creates jobs for the submitted run, and assign them to available runners (either servers where you've installed dstack-runner or on-demand spot instances in your cloud that you allowed creating).
  2. Runners execute assigned jobs, report their logs in real time, and upload artifacts once the job is finished.

For more information, please visit https://dstack.ai or https://docs.dstack.ai.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dstack-0.0.2rc4-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file dstack-0.0.2rc4-py3-none-any.whl.

File metadata

  • Download URL: dstack-0.0.2rc4-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for dstack-0.0.2rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 5288240f51daa78129ead19eaaf3304164e7399b45c0f292525af02fa6ee729c
MD5 9db699d83221200df7d95006ed0e9530
BLAKE2b-256 77bf64689a0044129422c7b23a2b50c1748edd22787769141ce717d2d367f523

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page