@@ -303,14 +303,14 @@ sudo apt-get install -y \
303303sudo apt-get install -y ubuntu-drivers-common
304304sudo ubuntu-drivers autoinstall
305305
306- # Install CUDA 12.8
306+ # Install CUDA 13.0
307307wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
308308sudo dpkg -i cuda-keyring_1.1-1_all.deb
309309sudo apt-get update
310- sudo apt-get -y install cuda-12-8
310+ sudo apt-get -y install cuda-13-0
311311
312312# Configure CUDA environment
313- echo ' export CUDA_HOME=/usr/local/cuda-12.8 ' | sudo tee -a /etc/profile.d/cuda.sh
313+ echo ' export CUDA_HOME=/usr/local/cuda-13.0 ' | sudo tee -a /etc/profile.d/cuda.sh
314314echo ' export PATH=$PATH:$CUDA_HOME/bin' | sudo tee -a /etc/profile.d/cuda.sh
315315echo ' export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_HOME/lib64' | sudo tee -a /etc/profile.d/cuda.sh
316316
@@ -338,7 +338,7 @@ sudo apt-get install -y python3.12 python3.12-venv python3.12-dev
338338# Verify installation
339339nvidia-smi
340340nvcc --version
341- docker run --rm --gpus all nvidia/cuda:12.8 .0-base-ubuntu22.04 nvidia-smi
341+ docker run --rm --gpus all nvidia/cuda:13.0 .0-base-ubuntu22.04 nvidia-smi
342342
343343echo " Setup complete! Ready to create AMI."
344344```
@@ -352,8 +352,8 @@ After setup completes:
352352aws ec2 create-image \
353353 --region us-east-2 \
354354 --instance-id i-xxxxx \
355- --name " llama-stack-gpu-ubuntu-2204-cuda-12.8 -$( date +%Y%m%d) " \
356- --description " Ubuntu 22.04 with NVIDIA drivers, CUDA 12.8 , Docker, Python 3.12" \
355+ --name " llama-stack-gpu-ubuntu-2204-cuda-13.0 -$( date +%Y%m%d) " \
356+ --description " Ubuntu 22.04 with NVIDIA drivers, CUDA 13.0 , Docker, Python 3.12" \
357357 --tag-specifications ' ResourceType=image,Tags=[{Key=Name,Value=llama-stack-gpu-ami}]'
358358
359359```
@@ -374,7 +374,7 @@ aws ec2 run-instances \
374374ssh ubuntu@< ip>
375375nvidia-smi
376376nvcc --version
377- docker run --rm --gpus all nvidia/cuda:12.8 .0-base-ubuntu22.04 nvidia-smi
377+ docker run --rm --gpus all nvidia/cuda:13.0 .0-base-ubuntu22.04 nvidia-smi
378378```
379379
380380## Step 4: Create GitHub Personal Access Token
0 commit comments