Skip to content

Commit 8bbe1f4

Browse files
dacorvotengomucho
authored andcommitted
chore(ami): use AWS Neuron SDK 2.26 AMI as base
1 parent 6e38f47 commit 8bbe1f4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

infrastructure/ami/hcl2-files/build.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ build {
1616
provisioner "shell" {
1717
inline = [
1818
"echo 'export HF_HUB_ENABLE_HF_TRANSFER=1' | sudo tee -a /home/ubuntu/.bashrc",
19-
"echo 'source /opt/aws_neuronx_venv_pytorch_2_7/bin/activate' | sudo tee -a /home/ubuntu/.bashrc"
19+
"echo 'source /opt/aws_neuronx_venv_pytorch_2_8/bin/activate' | sudo tee -a /home/ubuntu/.bashrc"
2020
]
2121
}
2222
provisioner "file" {

infrastructure/ami/hcl2-files/variables.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ variable "instance_type" {
1010
}
1111

1212
variable "source_ami" {
13-
default = "ami-0ffd183ece0ca0475"
13+
default = "ami-0ec4ab14b1c5a10f2"
1414
description = "Base Image"
1515
type = string
1616
/*

infrastructure/ami/scripts/install-huggingface-libraries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Activate the neuron virtual environment
4-
source /opt/aws_neuronx_venv_pytorch_2_7/bin/activate
4+
source /opt/aws_neuronx_venv_pytorch_2_8/bin/activate
55

66
echo "Step: install-hugging-face-libraries"
77

infrastructure/ami/scripts/validate-neuron.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ echo "Step: validate-neuron-devices"
33
neuron-ls
44

55
# Activate the neuron virtual environment
6-
source /opt/aws_neuronx_venv_pytorch_2_7/bin/activate
6+
source /opt/aws_neuronx_venv_pytorch_2_8/bin/activate
77

88
python -c 'import torch'
99
python -c 'import torch_neuronx'

0 commit comments

Comments
 (0)