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.2rc2-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dstack-0.0.2rc2-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.2rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 e51bad2a7b2bb5dc68d7931ed32300ec16eac4d58da1d34206f56acece6e1324
MD5 e888660afe694b7908b1dfbe6ab4f6d3
BLAKE2b-256 1e78e416141f7028725796111d9ff1c9641e49017573ea8b2e48806dcde30236

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