Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] dstack doesn't offer idle instances from the pool #1352

Open
peterschmidt85 opened this issue Jun 24, 2024 · 1 comment
Open

[Bug] dstack doesn't offer idle instances from the pool #1352

peterschmidt85 opened this issue Jun 24, 2024 · 1 comment
Assignees
Labels

Comments

@peterschmidt85
Copy link
Contributor

Steps to reproduce:

  1. Defne .dstack.yml (e.g. dev-environment) with gpu set to a name (e.g. A10).
  2. Invoke dstack run . -f .dstack.yml
  3. Stop the run
  4. Ensure the instance is idle
  5. Try dstack run . -f .dstack.yml --reuse (or without --reuse or 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.

@jvstme
Copy link
Collaborator

jvstme commented Jun 27, 2024

Temporary workaround: specify the GPU name in lowercase, e.g. a10

@jvstme jvstme self-assigned this Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants