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]" -UConfigure cloud credentials in ~/.dstack/server/config.yml. Learn more.
dstack servergit clone https://github.com/dstackai/dstack-examples
cd dstack-examples
dstack initHere's how to run a dev environment with the current repo:
dstack run . --gpu 24GBHere's how to run any of the examples, e.g. vllm:
dstack run . -f deployment/vllm/serve.dstack.yml --gpu 24GBFind more details on each example at dstack.ai/examples.