Skip to content

Commit 26852af

Browse files
committed
[B200] Download NVLSM from public bucket rather than NVIDIA repo.
1 parent e9cac4c commit 26852af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbooks/aws-parallelcluster-platform/resources/nvidia_nvlsm/partial/_nvidia_nvlsm_common.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ def nvidia_nvlsm_version
8888

8989
def nvidia_nvlsm_url
9090
# TODO: Use the S3 URL
91-
repo_arch_prefix = arm_instance? ? 'sbsa' : 'x86_64'
92-
"https://developer.download.nvidia.com/compute/cuda/repos/#{platform}/#{repo_arch_prefix}/#{nvidia_nvlsm_package_full_name}"
93-
# "#{node['cluster']['artifacts_s3_url']}/dependencies/nvidia_nvlsm/#{platform}/#{nvidia_nvlsm_package_full_name}"
91+
# repo_arch_prefix = arm_instance? ? 'sbsa' : 'x86_64'
92+
# "https://developer.download.nvidia.com/compute/cuda/repos/#{platform}/#{repo_arch_prefix}/#{nvidia_nvlsm_package_full_name}"
93+
"#{node['cluster']['artifacts_s3_url']}/dependencies/nvidia_nvlsm/#{platform}/#{nvidia_nvlsm_package_full_name}"
9494
end
9595

9696
def nvidia_nvlsm_package_full_name

0 commit comments

Comments
 (0)