A Command Line Interface for training models with https://dstack.ai
Project description
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
- You define
.dstack/workflows.yaml
and.dstack/variables.yaml
files inside your project (must be a Git repository) .
- You install the
dstack
CLI viapip
. - You either install
dstack-runner
daemon on your servers, or use thedstack aws configure
to authorize dstack to use your own cloud to create runners on-demand using spot instances. - You use the
dstack
CLI to run workflows, manage runs, jobs, logs, artifacts, runners.
- 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). - 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
File details
Details for the file dstack-0.0.1rc11-py3-none-any.whl
.
File metadata
- Download URL: dstack-0.0.1rc11-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 973aa18b3090c1b174a1be7874446c412a11f5328583deb48a6ee096cd4395d0 |
|
MD5 | 9976a0c1a99d1fc712b80f2ea4170798 |
|
BLAKE2b-256 | 62ef033153e024a7153141bba1513a05a87c710eb12abde5771f0c20d7b758ab |