dstack
dstack copied to clipboard
[Bug] `dstack` doesn't offer idle instances from the pool
Steps to reproduce:
- Defne
.dstack.yml(e.g.dev-environment) withgpuset to a name (e.g.A10). - Invoke
dstack run . -f .dstack.yml - Stop the run
- Ensure the instance is
idle - Try
dstack run . -f .dstack.yml --reuse(or without--reuseor pass the name of the instance to--instance)
Reproduced with dstack Sky (0.18.3)
Actual behavior:
The idle instance is not offered
Expected behavior:
The idle instance should be offered
Notes:
If I edit .dstack.yml and change gpu to 1, then the idle instance is offered.
Temporary workaround: specify the GPU name in lowercase, e.g. a10