














Today, we're announcing the integration between Runpod and dstack, an open-source orchestration engine, that aims to simplify the development, training, and deployment of AI models while leveraging the open-source ecosystem.
While dstack shares a number of similarities with Kubernetes, it is more lightweight and focuses entirely on the training and deployment of AI workloads. With dstack, you can describe workloads declaratively and conveniently run them via the CLI. it supports development environments, tasks, and services.
To use Runpod with dstack, you only need to install dstack and configure it with your Runpod API key.
Then, specify your Runpod API key in ~/.dstack/server/config.yml:
Once it's configured, the dstack server can be started:
Now, you can use dstack's CLI (or API) to run and manage workloads on Runpod.
dstack supports three types of configurations: dev-environment (for provisioning interactive development environments), task (for running training, fine-tuning, and various other jobs), and service (for deploying models).
Here's an example of a task:
Once defined, one can run the configuration via the dstack CLI.

It will automatically provision resources via Runpod, and take care of everything, including uploading code, port-forwarding, etc.
You can find more examples of various training and deployment configurations in the dstack examples, we'd love to hear about your deployments either in the dstack or Runpod Discord servers!
Start Up a dstack installation on Runpod
Author profile: Haris Mehrzad
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。