File tree Expand file tree Collapse file tree 4 files changed +0
-75
lines changed
cookbooks/aws-parallelcluster-install/recipes Expand file tree Collapse file tree 4 files changed +0
-75
lines changed Original file line number Diff line number Diff line change 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
491481default [ 'cluster' ] [ 'sysctl' ] [ 'ipv4' ] [ 'gc_thresh1' ] = 0
492482default [ 'cluster' ] [ 'sysctl' ] [ 'ipv4' ] [ 'gc_thresh2' ] = 15_360
Original file line number Diff line number Diff line change 207207# Install NVIDIA and CUDA
208208include_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
214211include_recipe "aws-parallelcluster-install::efa" unless virtualized?
215212include_recipe "aws-parallelcluster-install::intel_mpi" unless virtualized?
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -533,20 +533,6 @@ def efa_installed?
533533 dir_exist
534534end
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
551537def load_cluster_config
552538 ruby_block "load cluster configuration" do
You can’t perform that action at this time.
0 commit comments