dstack on CUDO Compute
dstack is an open-source alternative to Kubernetes and Slurm, built to streamline AI development and deployment across cloud providers. dstack provides the following capabilities:- Dev Environments: Quickly set up remote machines with your code and IDE for interactive coding. Ideal for testing code in your IDE or notebook before task scheduling or deployment.
- Tasks: Schedule jobs or run web apps with configurable dependencies, resources, and more. Suited for training, fine-tuning, or app testing, with support for distributed clusters.
- Services: Deploy scalable web apps or models as private or public endpoints, complete with dependency management, resource allocation, and scaling rules.
- Fleets: Efficiently manage clusters and instances for cloud and on-prem resources, reusable across dev environments, tasks, and services.
Install dstack
Create a config file for CUDO and save it to~/.dstack/server/config.yml. You will need to have created a project and know its id, and you will need to create an API key in the CUDO Compute web console.
Try out a dstack deployment
Now you can create a project directory and initialize it for use with dstack:.dstack.yaml inside your project directory to define your dstack deployment, here we are deploying a remote IDE (vscode):