madiator-docker-runpod/helper-templates/verify-nccl/Dockerfile

22 lines
473 B
Text
Raw Permalink Normal View History

2024-06-16 13:37:34 +02:00
FROM runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel
ENV NCCL_DEBUG=TRACE
WORKDIR /verify-nccl
# Install additional packages
RUN apt-get update && apt-get install -y --no-install-recommends \
nano \
pciutils \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/NVIDIA/cuda-samples.git && \
cd cuda-samples/Samples/0_Introduction/simpleP2P && \
make
COPY check_nccl.sh .
RUN chmod +x check_nccl.sh
# Start Container
CMD tail -f /dev/null