dstackai / dstack

dstack is an open-source alternative to Kubernetes, designed to simplify development, training, and deployment of AI across any cloud or on-prem. It supports NVIDIA, AMD, and TPU.
https://dstack.ai/docs
Mozilla Public License 2.0
1.42k stars 150 forks source link

[Bug]: Disk not included in offer price #1553

Open jvstme opened 2 months ago

jvstme commented 2 months ago

Problem

In most backends, the offer price does not include the OS disk, which means the users are actually charged more than what they see in dstack.

As an extreme example, this GCP offer is reported to be $0.04947 hourly:

 #  BACKEND  REGION       INSTANCE      RESOURCES                     SPOT  PRICE      
 1  gcp      us-central1  e2-highcpu-2  2xCPU, 2GB, 32768.0GB (disk)  no    $0.04947

While it is actually $4.54 hourly:

gcp

Solution

Include the OS disk price in the offer price. Consider the offer's region, disk type, spot discount, and any other variables that can influence the disk price.

Backends that need fixing

Also Nebius if it ever becomes relevant.

Backends that already handle the disk price

github-actions[bot] commented 1 month ago

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

github-actions[bot] commented 1 month ago

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] commented 2 days ago

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