

# AWS Deep Learning OSS AMI GPU PyTorch 2.11 (Amazon Linux 2023)
<a name="aws-deep-learning-x86-gpu-pytorch-2.11-amazon-linux-2023"></a>

**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](getting-started.md).

##### Notices
<a name="notices-x86-gpu-pytorch-2.11-amazon-linux-2023"></a>
+  Starting with PyTorch 2.9, CUDA and related libraries are now located within the Pytorch virtual environment found in `/opt/pytorch/cuda` instead 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 using `source /opt/pytorch/bin/activate` 

##### AMI Name Format
<a name="name-x86-gpu-pytorch-2.11-amazon-linux-2023"></a>
+ Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.11 (Amazon Linux 2023) ${YYYY-MM-DD}

##### SSM Parameter Query
<a name="ssm-param-x86-gpu-pytorch-2.11-amazon-linux-2023"></a>

 **Please use the following Public SSM Parameter Query to find the latest DLAMI: ** 

```
export SSM_PARAMETER=oss-nvidia-driver-gpu-pytorch-2.11-amazon-linux-2023/latest/ami-id && \
        aws ssm get-parameter --region {{us-east-1}} \
        --name /aws/service/deeplearning/ami/x86_64/$SSM_PARAMETER \
        --query "Parameter.Value" \
        --output text
```

##### AWSCLI Query
<a name="awscli-x86-gpu-pytorch-2.11-amazon-linux-2023"></a>

 **Please use the following AWS Query to find the latest DLAMI: ** 

```
aws ec2 describe-images --region {{us-east-1}} --owners amazon --filters 'Name=name,Values=Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.11 (Amazon Linux 2023) ????????' 'Name=state,Values=available' --query 'reverse(sort_by(Images, &CreationDate))[:1].ImageId' --output text
```

##### Latest Releases
<a name="latest-release-x86-gpu-pytorch-2.11-amazon-linux-2023"></a>

**Topics**