英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论