Can a base DLAMI be customized and used for both GPU and CPU backed instances?

0

Can a customized DLAMI be used for both GPU and CPU backed instances? When creating GPU compatible AMI using https://aws.amazon.com/releasenotes/aws-deep-learning-ami-ubuntu-18-04/ they don't work on CPU backed instances. Are there other available options?

Earlier version of the Ubuntu DLAMI could be installed both on P3 and R5 instances, but 2 separate images needed to be created. Priority would be a DLAMI with Tensorflow which can work both with CPU and GPU from one image. PyTorch support would be also needed, with lower priority.

1 Answer
0

It is possible to create a DLAMI that can be used for both GPU and CPU backed instances. However, it may require some additional customization and configuration.

When creating a DLAMI for GPU instances, it typically includes all the necessary GPU drivers and libraries that are required for deep learning tasks. These drivers and libraries may not be needed or compatible with CPU instances.

To create a DLAMI that can be used for both GPU and CPU instances, you will need to customize the image to include the necessary drivers and libraries for both types of instances. You may also need to modify the configuration to ensure that the DLAMI is optimized for both types of instances.

Another option is to create separate DLAMIs for GPU and CPU instances, but use a shared configuration and setup for the software and tools that are installed. This can help to minimize the amount of customization that is required and make it easier to manage and maintain the DLAMIs.

In terms of specific DLAMIs that support both CPU and GPU instances, the AWS Deep Learning AMI for Ubuntu 18.04 includes both TensorFlow and PyTorch support for both CPU and GPU instances. However, it may still require some customization to ensure optimal performance and compatibility with your specific use case.

hash
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions