如何在AWS ECS上使用GPU加速优化PyTorch功能?

huangapple go评论60阅读模式
英文:

How to optimize PyTorch functionalities with GPU acceleration on AWS ECS?

问题

我有一个部署在AWS ECS Fargate上的Flask应用程序,其中包含一些PyTorch功能。然而,由于CPU处理,PyTorch功能需要很长时间,我想使用GPU加速来优化它们。

在这种情况下,最好的做法是什么?

提前感谢。

英文:

I have a Flask app with some PyTorch functionalities deployed on AWS ECS Fargate. However, PyTorch functionalities take a very long time due to CPU processing, and I would like to optimize them using GPU acceleration.

What will be the best action here?

Thanks in advance.

答案1

得分: 1

此时,在AWS Fargate上不提供GPU。您需要切换到使用ECS与EC2部署,并向您的ECS集群添加一些具有GPU的EC2实例。

英文:

At this time GPUs are not available on AWS Fargate. You would have to switch to using ECS with EC2 deployments, and add some EC2 instances to your ECS cluster that have GPUs.

huangapple
  • 本文由 发表于 2023年5月10日 20:05:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/76218207.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定