Merged
Conversation
Previously, `dstack` did not return any non-GPU offers if GPU name, memory, or vendor requirements are set, regardless of the GPU count requirement. ```shell > dstack offer --gpu 0..:nvidia # BACKEND RESOURCES INSTANCE TYPE PRICE 1 aws (eu-west-2) cpu=4 mem=16GB disk=100GB T4:16GB:1 (spot) g4dn.xlarge $0.1879 2 aws (us-east-1) cpu=4 mem=16GB disk=100GB T4:16GB:1 (spot) g4dn.xlarge $0.1914 3 aws (ca-central-1) cpu=4 mem=16GB disk=100GB T4:16GB:1 (spot) g4dn.xlarge $0.1931 <...> ``` Now, it Includes non-GPU offers if the lower GPU count bound is set to `0`. ```shell > dstack offer --gpu 0..:nvidia # BACKEND RESOURCES INSTANCE TYPE PRICE 1 aws (eu-north-1) cpu=2 mem=8GB disk=100GB (spot) t3.large $0.0281 2 aws (us-west-1) cpu=2 mem=8GB disk=100GB (spot) t3.large $0.0297 3 aws (eu-west-2) cpu=2 mem=8GB disk=100GB (spot) t3.large $0.0298 <...> 1752 aws (ca-central-1) cpu=192 mem=2048GB disk=100GB H100:80GB:8 (spot) p5.48xlarge $63.296 1753 aws (us-west-1) cpu=192 mem=2048GB disk=100GB H100:80GB:8 p5.48xlarge $68.8 1754 aws (eu-west-2) cpu=192 mem=2048GB disk=100GB H100:80GB:8 p5.48xlarge $71.552 ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously,
dstackdid not return any non-GPU offers if GPU name, memory, or vendor requirements are set, regardless of the GPU count requirement.Now, it Includes non-GPU offers if the lower GPU count bound is set to
0.Fixes #3249
See dstackai/gpuhunt#197