Amazon Deep Learning OSS AMI GPU PyTorch 2.12 (Amazon Linux 2023)
Note
For detailed software package information, please refer to the individual release notes pages linked below
For help getting started, see Getting started with DLAMI.
Notices
-
Starting with PyTorch 2.9, CUDA and related libraries are now located within the Pytorch virtual environment found in
/opt/pytorch/cudainstead of being installed at the system level. This change reduces the image size while maintaining full CUDA functionality. Please ensure that the PyTorch virtual environment is activated to utilize CUDA usingsource /opt/pytorch/bin/activate -
Fractional GPU instances (G6f, Gr6f): this AMI automatically loads the NVIDIA GRID driver when booted on a fractional-GPU instance type, and the NVIDIA open driver on all other supported instance types. GPUDirect Storage (GDS) and GPUDirect RDMA kernel modules (nvidia_fs, gdrdrv, efa_nv_peermem) are not loaded on fractional GPU instances because the NVIDIA vGPU driver does not support GPUDirect peer-to-peer.
AMI Name Format
-
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) ${YYYY-MM-DD}
SSM Parameter Query
Please use the following Public SSM Parameter Query to find the latest DLAMI:
export SSM_PARAMETER=oss-nvidia-driver-gpu-pytorch-2.12-amazon-linux-2023/latest/ami-id && \ aws ssm get-parameter --regionus-east-1\ --name /aws/service/deeplearning/ami/x86_64/$SSM_PARAMETER \ --query "Parameter.Value" \ --output text
AWSCLI Query
Please use the following Amazon Query to find the latest DLAMI:
aws ec2 describe-images --regionus-east-1--owners amazon --filters 'Name=name,Values=Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) ????????' 'Name=state,Values=available' --query 'reverse(sort_by(Images, &CreationDate))[:1].ImageId' --output text
Latest Releases
Latest Release Notes for this DLAMI
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20261107
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20261102
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20261024
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20261017
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20261003
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260926
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260919
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260912
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260905
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260829
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260822
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260815
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260808
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260801
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260725
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260718
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260711
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260627
Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.12 (Amazon Linux 2023) 20260620