dstackai / dstack

dstack is a lightweight, open-source alternative to Kubernetes & Slurm, simplifying AI container orchestration with multi-cloud & on-prem support. It natively supports NVIDIA, AMD, & TPU.
https://dstack.ai/docs
Mozilla Public License 2.0
1.6k stars 156 forks source link

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

Open jvstme opened 3 months ago

jvstme commented 3 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 2 months ago

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

github-actions[bot] commented 2 months 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 4 weeks ago

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