NCCL2 설치

To install the provided .deb file for NCCL, you would typically download it and then use the dpkg utility to install it. However, before you install NCCL, you should also ensure that you have the necessary NVIDIA drivers and CUDA toolkit installed, as NCCL depends on them.
Here's a step-by-step guide to install the provided NCCL .deb file:
  1. Download the .deb file: Use wget or curl to download the .deb file:
    1. wget <https://developer.download.nvidia.com/compute/machine-learning/nccl/secure/2.18.3/ubuntu2004/x86_64/nccl-local-repo-ubuntu2004-2.18.3-cuda12.0_1.0-1_amd64.deb>
  1. Install the .deb package: Once downloaded, you can use the dpkg utility to install the package:
    1. sudo dpkg -i nccl-local-repo-ubuntu2004-2.18.3-cuda12.0_1.0-1_amd64.deb
  1. Add the NCCL repository to your sources: After installing the .deb package, it actually adds a local APT repository on your system for NCCL. You'll need to update your package cache to recognize it:
    1. sudo apt update
  1. Install NCCL: With the repository added, you can now install NCCL:
    1. sudo apt install libnccl2 libnccl-dev
  1. Verify Installation: After installation, you can check the installed version to ensure it's installed correctly:
    1. dpkg -l | grep nccl
Remember, this is just for installing NCCL. If you're planning to use NCCL for distributed training with GPUs, ensure you have the necessary NVIDIA drivers and the CUDA toolkit installed. If you need steps for those, let me know!