AWS
Amazon EC2 P2 インスタンス| AWSとAmazon EC2 P3 インスタンス | AWSと料金 - Amazon EBS |AWSより。
汎用 SSD (gp2) ボリューム
: 0.10 USD per 1 GB per 1 month
Tesla K80
p2.xlarge
: 0.900 USD per 1 hour
Tesla V100
p3.2xlarge
: 3.06 USD per 1 hour
GCP
Google Cloud Platform Pricing Calculatorとブロック ストレージのパフォーマンス | Compute Engine ドキュメント | Google Cloudより。
SSD 永続ディスク
: 0.170 USD per 1 GB per 1 month標準永続ディスク
: $0.040 USD per 1 GB per 1 month
Tesla K80
- 0.92 USD per 1 hour
total hours | 1 per month |
VM class | regular |
Instance type | n1-highmem-8 |
Region | Oregon |
GPU dies | 1 NVIDIA TESLA K80 |
GPU's Cost | USD 0.45 |
GCE Instance Cost | USD 0.47 |
Estimated Component Cost | USD 0.92 per 1 month |
Total Estimated Cost | USD 0.92 per 1 month |
※ Regular → Preemptible: USD 0.23 per 1 hour
Tesla V100
- 2.95 USD per 1 hour
total hours | 1 per month |
VM class | regular |
Instance type | n1-highmem-4 |
Region | Oregon |
GPU dies | 1 NVIDIA TESLA V100 |
GPU's Cost | USD 2.48 |
GCE Instance Cost | USD 0.47 |
Estimated Component Cost | USD 2.95 per 1 month |
Total Estimated Cost | USD 2.95 per 1 month |
※ Regular → Preemptible: USD 0.84 per 1 hour
n1-highmem-8
→ n1-highmem-4
にした場合は、Regular で GCE Instance Cost が USD 0.47 → USD 0.24 に変更
***
100 GB の外部 SSD + 3時間x20日で計算すると、
AWS | p2.xlarge + gp2 |
64.0 USD per 1 month |
AWS | p3.2xlarge + gp2 |
193.6 USD per 1 month |
GCP | n1-highmem-8 + Tesla K80 + SSD |
72.2 USD per 1 month |
GCP | n1-highmem-8 + Tesla V100 + SSD |
194.0 USD per 1 month |
といったところだろうか・・・。Colab 先生はこの 64 USD per 1 month くらいを無料にしてくれる救世主・・・。
趣味でディープラーニングするための GPU 環境を安上がりに作る方法 - Qiitaも参考に。
***
GPU EATERという手もあるのかな?
- AMD製GPU + ROCm + OpenCV + TensorFlow でGPUコンピューティング環境をつくる - Qiita
- ROCm PyTorch のビルドにチャレンジしてから 1 年が経ちました(2019 年 7 月 27 日) (2019 年 9 月 24 日追記) - Qiita
PyTorch の対応は微妙なんかな・・・。
*****
結局後にGCPオベンキョ(7) — Deep Learning VM の VM インスタンス作成 - らんだむな記憶の内容で VM インスタンスを作成した。