dstack icon indicating copy to clipboard operation
dstack copied to clipboard

[Bug]: vastai gpuhunt returns no offer for fixed disk size

Open Bihan opened this issue 1 year ago • 6 comments

Steps to reproduce

Step 1: Specify fix disk in .dstack.yml eg:

type: dev-environment

# Use either `python` or `image` to configure environment
python: "3.11"

# image: ghcr.io/huggingface/text-generation-inference:latest

ide: vscode

# (Optional) Configure `gpu`, `memory`, `disk`, etc
resources:
  disk: 100GB

Step 2: Do dstack run . -b vastai --gpu 1

Actual behaviour

Output of dstack run

Configuration          .dstack.yml                         
Project                main                                
User                   admin                               
Pool name              default-pool                        
Min resources          2..xCPU, 8GB.., 1xGPU, 100GB (disk) 
Max price              -                                   
Max duration           6h                                  
Spot policy            on-demand                           
Retry policy           no                                  
Creation policy        reuse-or-create                     
Termination policy     destroy-after-idle                  
Termination idle time  300s                                

Continue? [y/n]: 

Expected behaviour

Output of dstack run

Configuration          .dstack.yml                           
 Project                main                                  
 User                   admin                                 
 Pool name              default-pool                          
 Min resources          2..xCPU, 8GB.., 1xGPU, 100GB.. (disk) 
 Max price              -                                     
 Max duration           6h                                    
 Spot policy            on-demand                             
 Retry policy           no                                    
 Creation policy        reuse-or-create                       
 Termination policy     destroy-after-idle                    
 Termination idle time  300s                                  

 #  BACKEND  REGION      INSTANCE  RESOURCES                                     SPOT  PRICE      
 1  vastai   us-texas    8115187   32xCPU, 16GB, 1xRTX4090 (24GB), 100GB (disk)  no    $0.50125   
 2  vastai   tw-taiwan   10184745  18xCPU, 8GB, 1xRTX4090 (24GB), 100GB (disk)   no    $0.44861   
 3  vastai   ca-ontario  10593243  6xCPU, 64GB, 1xRTX4090 (24GB), 100GB (disk)   no    $0.41783   
    ...                                                                                           
 Shown 3 of 34 offers, $4.02083 max

Continue? [y/n]: 

dstack version

dstack 0.18.0

Server logs

No response

Additional information

Specifying range for storage in .dstack.yml works Eg:

resources:
  disk: 100GB..

or

resources:
  disk: 100GB..200GB

Bihan avatar Apr 19 '24 09:04 Bihan

This issue is stale because it has been open for 30 days with no activity.

peterschmidt85 avatar May 20 '24 01:05 peterschmidt85

This issue is stale because it has been open for 30 days with no activity.

peterschmidt85 avatar Jun 21 '24 01:06 peterschmidt85

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

peterschmidt85 avatar Jul 05 '24 01:07 peterschmidt85

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 06 '24 01:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

github-actions[bot] avatar Sep 20 '24 01:09 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 21 '24 02:10 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 21 '24 02:11 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

github-actions[bot] avatar Dec 15 '24 02:12 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jan 25 '25 01:01 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

github-actions[bot] avatar Feb 08 '25 01:02 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Mar 20 '25 02:03 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

github-actions[bot] avatar Apr 03 '25 02:04 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar May 04 '25 02:05 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

github-actions[bot] avatar May 19 '25 02:05 github-actions[bot]