From 43ca7a3681de6b870078e0458949a150e3ac383d Mon Sep 17 00:00:00 2001 From: Jvst Me Date: Thu, 6 Nov 2025 14:02:16 +0100 Subject: [PATCH] Include non-GPU offers on `gpu: 0..` 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 ``` --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cc53bf9264..6e602ac779 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ dependencies = [ "python-multipart>=0.0.16", "filelock", "psutil", - "gpuhunt==0.1.11", + "gpuhunt==0.1.12", "argcomplete>=3.5.0", "ignore-python>=0.2.0", "orjson",