Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Examples

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!

Getting started

Prerequisites

To use the open-source version, make sure to install the server and configure backends.

Run examples

Init the repo

git clone https://github.com/dstackai/dstack
cd dstack
dstack init

Run a dev environment

Here's how to run a dev environment with the current repo:

dstack run . -f examples/.dstack.yml

Run other examples

Here's how to run other examples, e.g. deployment/vllm:

dstack run . -f examples/deployment/vllm/serve.dstack.yml

Featrued

Here 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!