This folder contains examples showing how to use dstack.
Important
Feel free to contribute your examples or enhance the existing ones—your PRs are warmly welcomed in this repo!
To use the open-source version, make sure to install the server and configure backends.
git clone https://github.com/dstackai/dstack
cd dstack
dstack initHere's how to run a dev environment with the current repo:
dstack run . -f examples/.dstack.ymlHere's how to run other examples, e.g. deployment/vllm:
dstack run . -f examples/deployment/vllm/serve.dstack.ymlHere are some featured examples:
Browse deployment, fine-tuning, llms, and misc for more.
Important
Feel free to contribute your examples or enhance the existing ones—your PRs are warmly welcomed in this repo!