Failed building: nccl

Hi,

The package belongs to the multiarch section.
Since we only support JetPack 6 and 7 now, it doesn’t exist on the jetson-ai-lab.io server.

Instead, you can download the file directly from our website:

The corresponding change in the jetson-container source should be:

diff --git a/packages/cuda/nccl/Dockerfile b/packages/cuda/nccl/Dockerfile
index b4bf6953..d4604e7d 100644
--- a/packages/cuda/nccl/Dockerfile
+++ b/packages/cuda/nccl/Dockerfile
@@ -29,5 +29,6 @@ RUN apt-get update -y && \
     rm -rf /var/lib/apt/lists/*
 
 COPY install.sh /tmp/nccl/
+COPY nccl-local-repo-ubuntu2404-2.27.7-cuda13.0_1.0-1_arm64.deb /tmp/nccl/nccl-local-repo-ubuntu2404-2.27.7-cuda13.0_1.0-1_arm64.deb
 RUN /tmp/nccl/install.sh
 
diff --git a/packages/cuda/nccl/install.sh b/packages/cuda/nccl/install.sh
index 075b0e5c..fba89765 100755
--- a/packages/cuda/nccl/install.sh
+++ b/packages/cuda/nccl/install.sh
@@ -1,17 +1,11 @@
 #!/usr/bin/env bash
 set -ex
 echo "Installing NVIDIA NCCL $NCCL_VERSION (NCCL)"
-if [[ "$CUDA_ARCH" == "aarch64" ]]; then
-  DEB="nccl-local-repo-${DISTRO}-${NCCL_VERSION}-cuda13.0_1.0-1_arm64.deb"
-else
-  DEB="nccl-local-repo-${DISTRO}-${NCCL_VERSION}-cuda13.0_1.0-1_amd64.debdeb"
-fi
+
+DEB="nccl-local-repo-${DISTRO}-${NCCL_VERSION}-cuda13.0_1.0-1_arm64.deb"
 cd $TMP
-wget $WGET_FLAGS $MULTIARCH_URL/$DEB
-if [[ "$CUDA_ARCH" != "tegra-aarch64" ]]; then
-    dpkg -i $DEB
-    sudo cp /var/nccl-local-repo-ubuntu2404-2.27.7-cuda13.0/nccl-local-190A5319-keyring.gpg /usr/share/keyrings/
-    apt-get update
-    dpkg -i $DEB
-    apt-get -y install libnccl2 libnccl-dev
-fi
+
+dpkg -i $DEB
+sudo cp /var/nccl-local-repo-ubuntu2404-2.27.7-cuda13.0/nccl-local-190A5319-keyring.gpg /usr/share/keyrings/
+apt-get update
+apt-get -y install libnccl2 libnccl-dev

Thanks.

1 Like