Skip to content

Commit 02bde4c

Browse files
Revert "Add Neuron repository and aws-neuronx-dkms driver installation"
This reverts commit 760ba65.
1 parent 0ae6e25 commit 02bde4c

File tree

4 files changed

+0
-75
lines changed

4 files changed

+0
-75
lines changed

attributes/default.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -523,16 +523,6 @@
523523
}
524524
)
525525

526-
# Neuron
527-
default['cluster']['neuron']['repository_name'] = "neuron"
528-
default['cluster']['neuron']['url_prefix'] = value_for_platform(
529-
'default' => 'yum',
530-
'ubuntu' => { 'default' => 'apt' }
531-
)
532-
default['cluster']['neuron']['base_url'] = "https://#{node['cluster']['neuron']['url_prefix']}.repos.neuron.amazonaws.com"
533-
default['cluster']['neuron']['public_key'] = "#{node['cluster']['neuron']['base_url']}/GPG-PUB-KEY-AMAZON-AWS-NEURON.PUB"
534-
default['cluster']['neuron']['packages'] = %w(aws-neuronx-dkms)
535-
536526
# Default gc_thresh values for performance at scale
537527
default['cluster']['sysctl']['ipv4']['gc_thresh1'] = 0
538528
default['cluster']['sysctl']['ipv4']['gc_thresh2'] = 15_360

cookbooks/aws-parallelcluster-install/recipes/base.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@
211211
# Install NVIDIA and CUDA
212212
include_recipe "aws-parallelcluster-install::nvidia"
213213

214-
# Install Neuron driver
215-
include_recipe "aws-parallelcluster-install::neuron" unless virtualized?
216-
217214
# Install EFA & Intel MPI
218215
include_recipe "aws-parallelcluster-install::efa" unless virtualized?
219216
include_recipe "aws-parallelcluster-install::intel_mpi" unless virtualized?

cookbooks/aws-parallelcluster-install/recipes/neuron.rb

Lines changed: 0 additions & 48 deletions
This file was deleted.

libraries/helpers.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -526,20 +526,6 @@ def efa_installed?
526526
dir_exist
527527
end
528528

529-
def neuron_installed?
530-
package_name = "aws-neuronx-dkms"
531-
command = value_for_platform(
532-
%w(ubuntu debian) => {
533-
'default' => "apt list --installed | grep #{package_name}",
534-
},
535-
'default' => "yum list installed | grep #{package_name}")
536-
537-
cmd = Mixlib::ShellOut.new(command, timeout: 60)
538-
cmd.run_command
539-
# Return false if the package is not installed
540-
!(cmd.exitstatus != 0)
541-
end
542-
543529
# load cluster configuration file into node object
544530
def load_cluster_config
545531
ruby_block "load cluster configuration" do

0 commit comments

Comments
 (0)