Skip to content

Commit 7788d7b

Browse files
Revert "Add Neuron repository and aws-neuronx-dkms driver installation"
This reverts commit da60c90.
1 parent c1479b9 commit 7788d7b

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
@@ -477,16 +477,6 @@
477477
}
478478
)
479479

480-
# Neuron
481-
default['cluster']['neuron']['repository_name'] = "neuron"
482-
default['cluster']['neuron']['url_prefix'] = value_for_platform(
483-
'default' => 'yum',
484-
'ubuntu' => { 'default' => 'apt' }
485-
)
486-
default['cluster']['neuron']['base_url'] = "https://#{node['cluster']['neuron']['url_prefix']}.repos.neuron.amazonaws.com"
487-
default['cluster']['neuron']['public_key'] = "#{node['cluster']['neuron']['base_url']}/GPG-PUB-KEY-AMAZON-AWS-NEURON.PUB"
488-
default['cluster']['neuron']['packages'] = %w(aws-neuronx-dkms)
489-
490480
# Default gc_thresh values for performance at scale
491481
default['cluster']['sysctl']['ipv4']['gc_thresh1'] = 0
492482
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
@@ -207,9 +207,6 @@
207207
# Install NVIDIA and CUDA
208208
include_recipe "aws-parallelcluster-install::nvidia"
209209

210-
# Install Neuron driver
211-
include_recipe "aws-parallelcluster-install::neuron" unless virtualized?
212-
213210
# Install EFA & Intel MPI
214211
include_recipe "aws-parallelcluster-install::efa" unless virtualized?
215212
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
@@ -533,20 +533,6 @@ def efa_installed?
533533
dir_exist
534534
end
535535

536-
def neuron_installed?
537-
package_name = "aws-neuronx-dkms"
538-
command = value_for_platform(
539-
%w(ubuntu debian) => {
540-
'default' => "apt list --installed | grep #{package_name}",
541-
},
542-
'default' => "yum list installed | grep #{package_name}")
543-
544-
cmd = Mixlib::ShellOut.new(command, timeout: 60)
545-
cmd.run_command
546-
# Return false if the package is not installed
547-
!(cmd.exitstatus != 0)
548-
end
549-
550536
# load cluster configuration file into node object
551537
def load_cluster_config
552538
ruby_block "load cluster configuration" do

0 commit comments

Comments
 (0)