GPU based algorithm on AWS Lambda

前端 未结 3 1041
小鲜肉
小鲜肉 2021-02-19 03:52

I have a function which perform some mathematical operations and need a 16gb GPU system, But this function will not be triggered always and rest of time my system will not be in

3条回答
  •  野的像风
    2021-02-19 03:55

    You can't specify the runtime environment for AWS Lambda functions, so no, you can't require the presence of a GPU (in fact the physical machines AWS chooses to put into its Lambda pool will almost certainly not have one).

    Your best bet would be to run the GPU-requiring function as a Batch job on a compute cluster configured to use p-type instances. The guide here might be helpful.

提交回复
热议问题