Cloud function with better GPU

0

I'm currently experimenting with the usage of Lambda to render videos using puppeteer. The lack of a GPU combined with the 15 minutes maximum duration limits the duration of the videos that can be rendered. Is there an infrastructure alternative where I could retain the serverless mode but have more options on the hardware?

질문됨 3년 전1924회 조회
2개 답변
1

You can consider using AWS Fargate with Amazon Elastic Container Service or Amazon Elastic Kubernetes Service for a serverless compute option without the 15 minutes duration constraint. Alas, Fargate wouldn't allow you to request GPU support either.

AWS
답변함 3년 전
  • GPU presence is important.

  • Looks like that once I start requiring GPU in AWS Jobs, then the startup time becomes ridiculous. What's the cost/complexity difference between the option you proposed and AWS Batch? Thanks!

0

You can't specify the runtime environment for AWS Lambda functions, so no, you can't require the presence of a GPU. But you could run GPU workloads on AWS Batch, by using an AMI with GPU support. https://docs.aws.amazon.com/batch/latest/userguide/batch-gpu-ami.html AWS Batch automatically provisions compute resources. There's no need to install or manage batch computing software. AWS Batch jobs are not limited by the 15 minute runtime. Hope this helps

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠