Skip to content

Commit 18d7ffa

Browse files
committed
Docker/Accelerated Python: Ensure the correct nsys and ncu are on the path.
1 parent 582d966 commit 18d7ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/accelerated-python/brev/dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN curl -L -O https://developer.nvidia.com/downloads/assets/tools/secure/nsight
3636
&& curl -L -O https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/nsight-compute-2025.2.1_2025.2.1.3-1_amd64.deb \
3737
&& dpkg -i nsight-compute-2025.2.1_2025.2.1.3-1_amd64.deb \
3838
&& rm -f nsight-compute-2025.2.1_2025.2.1.3-1_amd64.deb \
39-
&& update-alternatives --install /usr/bin/ncu ncu /opt/nvidia/nsight-compute/2025.2.1/ncu 20250201
39+
&& echo "export PATH=\"/opt/nsight-systems-cli/2025.3.1/bin:/opt/nvidia/nsight-compute/2025.2.1:${PATH}\"" >> ~/.bashrc
4040

4141
# Install PyTorch with CUDA 12.8 support.
4242
RUN pip install --no-cache-dir --root-user-action=ignore \

0 commit comments

Comments
 (0)