Skip to content

Commit d05ae27

Browse files
author
Himani Anil Deshpande
committed
[Nvidia-Imex] Adding correct comments
1 parent d6a12d1 commit d05ae27

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

cookbooks/aws-parallelcluster-platform/attributes/platform.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
default['cluster']['nvidia']['driver_version'] = '550.127.08'
2323
end
2424

25-
# Nvidia-imex
25+
# nvidia-imex
2626
default['cluster']['nvidia']['imex']['shared_dir'] = "#{node['cluster']['shared_dir']}/nvidia-imex"
2727

2828
# DCV

cookbooks/aws-parallelcluster-platform/libraries/nvidia.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,5 @@ def get_device_ids
3232
# NVSwitch device id is 10de:22a3 for P5 instance
3333
# NVSwitch device id is 10de:2901 for P6 instance
3434
# NVSwitch device id is 10de:2941 for P6e instance
35-
# We sum the count for all these deviceIds as output of lscpi command will be >0
36-
# for only one device ID based on the instance type
3735
{ 'a100' => '10de:1af1', 'h100' => '10de:22a3', 'b200' => '10de:2901', 'gb200' => '10de:2941' }
3836
end

cookbooks/aws-parallelcluster-platform/recipes/install/nvidia_install.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525

2626
nvidia_dcgm 'install Nvidia datacenter-gpu-manager'
2727

28-
nvidia_imex 'Install Nvidia-imex'
28+
nvidia_imex 'Install nvidia-imex'

cookbooks/aws-parallelcluster-platform/resources/fabric_manager/partial/_fabric_manager_common.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def _nvidia_driver_version
5454

5555
# Get number of nv switches
5656
def get_nvswitches
57+
# We sum the count for all these deviceIds as output of lscpi command will be >0
58+
# for only one device ID based on the instance type
5759
nvswitch_device_ids = get_device_ids.values
5860
nvswitch_device_ids.sum { |id| get_nvswitch_count(id) }
5961
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## Please replace below fake IP's
1+
## Please replace below fake IP's with correct IP address of launched instances in Gb200 Capacity Block
22
172.31.51.93
33
172.31.48.43

0 commit comments

Comments
 (0)