Welcome to dstack-examples
. This repository contains a collection of examples
demonstrating how to use dstack
.
Install the open-source dstack server and configure cloud credentials or opt for the cloud version.
pip install "dstack[all]" -U
Configure cloud credentials in ~/.dstack/server/config.yml
. Learn more.
dstack server
git clone https://github.com/dstackai/dstack-examples
cd dstack-examples
dstack init
Here's how to run a dev environment with the current repo:
dstack run . --gpu 24GB
Here's how to run any of the examples, e.g. vllm
:
dstack run . -f deployment/vllm/serve.dstack.yml --gpu 24GB
Find more details on each example at dstack.ai/examples.