0.12.3
peterschmidt85
released this
23 Nov 18:25
·
1002 commits
to master
since this release
Vast.ai
With dstack 0.12.3
, you can now use dstack
with Vast.ai, a marketplace providing GPUs from independent hosts at notably lower prices.
Configuring Vast.ai is very easy. Log into your Vast AI account, click Account in the sidebar, and copy your
API Key.
Then, go ahead and configure the backend via ~/.dstack/server/config.yml
:
projects:
- name: main
backends:
- type: vastai
creds:
type: api_key
api_key: d75789f22f1908e0527c78a283b523dd73051c8c7d05456516fc91e9d4efd8c5
Now you can restart the server and proceed to using the CLI or API for running development environments, tasks, and services.
$ dstack run --gpu 24GB --backend vastai --max-price 0.4
# REGION INSTANCE RESOURCES PRICE
1 pl-greaterpoland 6244171 16xCPU, 32GB, 1xRTX3090 (24GB) $0.18478
2 ee-harjumaa 6648481 16xCPU, 64GB, 1xA5000 (24GB) $0.29583
3 pl-greaterpoland 6244172 32xCPU, 64GB, 2XRTX3090 (24GB) $0.36678
Continue? [y/n]: