0.18.21
Instance volumes
In addition to network volumes, dstack
now allows to mount instance (host) filesystems inside the run container. As contents of the instance volume are specific to the instance where the run is executed, such volumes can be used in cases where data persistence is not critical, for example, as a cache:
type: task
commands:
- pip install -r requirements.txt
volumes:
# reuse pip cache between runs
- /dstack-cache/pip:/root/.cache/pip
See the instance volumes documentation for more information.
Azure custom and private networks
dstack
now supports configuring custom Azure networks, which was only possible on AWS and GCP before. In addition, you can now configure dstack
to provision instances without public IPs on Azure to take advantage of private networks:
type: azure
tenant_id: my_tenant_id
subscription_id: my_subscription_id
regions: [westeurope]
public_ips: false
vpc_ids:
westeurope: test-networks-rg/test-network
creds:
type: default
Read more about Azure networking configuration in the docs.
Python 3.13 support for dstack
package
The previous 0.18.20 release added support for Python 3.13 in run configurations. This release updates the dstack
package itself so that it works under Python 3.13. The dstack
package also drops Python 3.8 support that reached end of life. Note that python: 3.8
in run configurations is deprecated but still supported.
Multi-job UI
The control plain UI now displays detailed info on each job in the run, improving support for multi-node tasks and replicated services:
What's Changed
- Show all jobs in runs UI by @olgenn in #1887
- Revert the list of projects and users in Administration by @olgenn in #1888
- Fix instance price discrepancies in RunPod by @jvstme in #1891
- [Website] Change
Backends
toPartners
by @peterschmidt85 in #1893 - Support
auth: true
services in dstack-proxy by @jvstme in #1885 - [Docs]: Fix typos by @dheerajsir in #1897
- Support custom and private networks for Azure by @r4victor in #1896
- Fix Dstack Server Deployment Link by @SagarSharma101 in #1898
- Add instance volumes by @un-def in #1895
- Add nat_check option to GCP config by @r4victor in #1904
- Handle deleted volumes in attach_volume() by @r4victor in #1907
- Fix log message on getting run volumes by @r4victor in #1909
- [dind] Improve start-dockerd script by @un-def in #1908
- Show warning on missing backend deps by @r4victor in #1911
- Support Python 3.13, drop Python 3.8 by @jvstme in #1910
- Update pydantic-duality to fix the infinite recursion bug by @zmievsa in #1902
- Set ping_interval on WebSocket connection by @r4victor in #1918
New Contributors
- @dheerajsir made their first contribution in #1897
- @SagarSharma101 made their first contribution in #1898
- @zmievsa made their first contribution in #1902
Full Changelog: 0.18.20...0.18.21