0.19.10-v1
Runs
Priorities
Run configurations now support a new priority property that allows controlling the order in which the runs are provisioned:
type: task
nodes: 1
priority: 50
commands:
- ...Runs with higher priorities take precedence over runs with lower priorities. Previously, submitted jobs were processed in FIFO manner with older jobs processed first. Now, the jobs are first sorted by descending priority. Note that if a high priority run cannot be scheduled, it does not block other runs with lower priority from scheduling (a.k.a. Best effort FIFO).
The priority property is updatable, so it can be changed for already submitted runs and will take effect.
CLI
dstack project command
The new dstack project command replaces the existing dstack config command.
dstack project(same asdstack project list)
$ dstack project
PROJECT URL USER DEFAULT
peterschmidt85 https://sky.dstack.ai peterschmidt85
main http://127.0.0.1:3000 admin ✓dstack project set-default
$ dstack project set-default peterschmidt85
OKdstack project add(similar to olddstack config, but--projectis changed to--name)
$ dstack project add --name peterschmidt85 --url https://sky.dstack.ai --token 76d8dd51-0470-74a7-24ed9ec18-fb7d341
OKdstack ps -n/--last
The dstack ps command now supports a new -n/--last parameter to show last N runs:
✗ dstack ps -n 3
NAME BACKEND RESOURCES PRICE STATUS SUBMITTED
good-panther-2 gcp (europe-west4) cpu=2 mem=8GB disk=100GB $0.0738 terminated 49 mins ago
new-chipmunk-1 azure (westeurope) cpu=2 mem=8GB disk=100GB (spot) $0.0158 terminated 23 hours ago
fuzzy-panther-1 runpod (EU-RO-1) cpu=6 mem=31GB disk=100GB RTX2000Ada:16GB:1 $0.28 terminated yesterday
Azure
Fsv2 series
The Azure backend now supports compute-optimized Fsv2 series:
✗ dstack apply -b azure
Project main
User admin
Configuration .dstack.yml
Type dev-environment
Resources cpu=4.. mem=8GB.. disk=100GB..
Spot policy auto
Max price -
Retry policy -
Creation policy reuse-or-create
Idle duration 5m
Max duration -
Inactivity duration -
Reservation -
# BACKEND RESOURCES INSTANCE TYPE PRICE
1 azure (westeurope) cpu=4 mem=8GB disk=100GB (spot) Standard_F4s_v2 $0.0278
2 azure (westeurope) cpu=4 mem=16GB disk=100GB (spot) Standard_D4s_v3 $0.0312
3 azure (westeurope) cpu=4 mem=32GB disk=100GB (spot) Standard_E4-2s_v4 $0.0416
...
Shown 3 of 98 offers, $40.962max
Major bugfixes
- [Bug]: Instances with blocks feature cannot be used for multi-node runs #2650
Deprecations
- The
dstack configCLI command is deprecated in favor ofdstack project add.
What's changed
- [Bug] Allow multi-node tasks on
idleinstances with blocks by @un-def in dstackai/dstack#2651 - [UX] Make local code upload size limit configurable by @colinjc in dstackai/dstack#2673
- [Feature] Implement run priorities by @r4victor in dstackai/dstack#2635
- [Bug] Fix
IllegalStateChangeErrorindelete_metricstask by @un-def in dstackai/dstack#2639 - [Examples] Renamed some example groups for better extensibility by @peterschmidt85 in dstackai/dstack#2641
- [Azure] Support Azure Fsv2-series by @r4victor in dstackai/dstack#2647
- [UX]: Add
dstack projectCLI to configure, list and switching between projects by @peterschmidt85 in dstackai/dstack#2653 - [UI] Dark/light theme toggler state is reset after page reload #289 by @olgenn in dstackai/dstack#2675
- [UX] Support
dstack ps -n NUMby @peterschmidt85 in dstackai/dstack#2654 - [Docs] Added
Clustersguide by @peterschmidt85 in dstackai/dstack#2646 - [UX] Replace
condawithuvindstackai/baseimages by @un-def in dstackai/dstack#2649 - [Docs]: Mention SSH fleet networking requirements by @jvstme in dstackai/dstack#2643
- [Bug] Put lower bounds on
ocideps by @r4victor in dstackai/dstack#2658 - [UX]: Replace conda with
uvin dstack's default Docker image #2625 by @peterschmidt85 in dstackai/dstack#2652 - [UX]: Replace conda with
uvin dstack's default Docker image #2625 by @peterschmidt85 in dstackai/dstack#2659 - [Internal] Support building staging Docker images by @r4victor in dstackai/dstack#2664
- [Bug] Forbid
scaling.target<= 0 by @jvstme in dstackai/dstack#2672
Full changelog: dstackai/dstack@0.19.9...0.19.10