From ffea5691cdeb27d681b36e47a76d2444b397a594 Mon Sep 17 00:00:00 2001 From: Ahmad Alawneh Date: Thu, 20 Feb 2025 12:52:01 -0500 Subject: [PATCH 1/2] add commands to add nsys --- Dockerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 505e34d..9471c43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,11 +18,20 @@ RUN apt-get update && apt-get install -y wget build-essential xutils-dev bison z python3-doc python3-tk python3.12-venv python3.12-doc binfmt-support psmisc apt-utils && apt-get clean - # Create and activate a virtual environment, venv is needed because of PEP 668 RUN python3 -m venv /venv ENV PATH="/venv/bin:$PATH" -RUN pip3 install --upgrade pip +# RUN pip3 install --upgrade pip RUN pip3 install pyyaml plotly psutil RUN git clone --recurse-submodules https://github.com/accel-sim/gpu-app-collection.git && cd gpu-app-collection && bash test-build.sh && bash get_regression_data.sh + +#get Nsys +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt update --allow-insecure-repositories && apt update && apt install -y --no-install-recommends gnupg wget \ + && mkdir -p /etc/apt/keyrings +RUN wget -qO - https://developer.download.nvidia.com/devtools/repos/ubuntu2404/amd64/7fa2af80.pub | tee /etc/apt/keyrings/nvidia.asc +RUN echo "deb [signed-by=/etc/apt/keyrings/nvidia.asc] http://developer.download.nvidia.com/devtools/repos/ubuntu2404/amd64 /" | tee /etc/apt/sources.list.d/nvidia.list +RUN apt-get update --allow-insecure-repositories +RUN apt install -y nsight-systems-cli --allow-unauthenticated From e1cd19d7fdf6a64398de996d8abefa7bf00f3124 Mon Sep 17 00:00:00 2001 From: Ahmad Alawneh Date: Thu, 20 Feb 2025 12:56:23 -0500 Subject: [PATCH 2/2] typo --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9471c43..e9b2300 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y wget build-essential xutils-dev bison z # Create and activate a virtual environment, venv is needed because of PEP 668 RUN python3 -m venv /venv ENV PATH="/venv/bin:$PATH" -# RUN pip3 install --upgrade pip +RUN pip3 install --upgrade pip RUN pip3 install pyyaml plotly psutil RUN git clone --recurse-submodules https://github.com/accel-sim/gpu-app-collection.git && cd gpu-app-collection && bash test-build.sh && bash get_regression_data.sh