You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to run dstack dev environments, tasks and services on boxd machines. Full disclosure: I work on boxd.
boxd runs isolated microVMs: full Ubuntu 24.04 with Docker inside, 1, 2, 4 or 8 vCPU with 4 GB per vCPU, created in about a second, with snapshots and hibernate/wake. There are no GPUs, so this is only for CPU fleets.
Solution
A boxd backend under src/dstack/_internal/core/backends/boxd/, following contributing/BACKENDS.md:
Offers for the four CPU sizes, in the fra and nyc regions.
create_instance creates a machine and starts the dstack shim, terminate_instance deletes it.
Auth with a boxd API key in the backend config.
Unit tests, plus a live run of a dev environment and a task against real machines.
Workaround
Creating machines by hand and managing them outside dstack.
Would you like to help us implement this feature by sending a PR?
Yes. Given the GPU focus, I'd like to know first whether a CPU-only backend is something you'd accept.
Activity