Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yf711 committed Nov 22, 2023
1 parent 86b0d90 commit 00eb716
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ RUN v="8.6.1.6-1+cuda11.8" &&\
# Compile trtexec
RUN cd /usr/src/tensorrt/samples/trtexec && make

# Check GPU status
RUN nvidia-smi -i 0 -q -d CLOCK
RUN nvidia-smi -i 0 -pm 1
RUN nvidia-smi -i 0 -q -d CLOCK | grep -A 4 "Max Clocks" | grep "Graphics" | awk '{print $3}'
RUN nvidia-smi --query-gpu=gpu_name,gpu_bus_id,vbios_version,clocks.current.sm,clocks.mem, --format=csv

# Install Valgrind
RUN apt-get install -y valgrind

Expand All @@ -66,7 +72,7 @@ ARG ONNXRUNTIME_BRANCH=main
ARG ONNXRUNTIME_COMMIT_ID

# The supported CUDA architecture
ARG CMAKE_CUDA_ARCHITECTURES=37;50;52;60;61;70;75;80
ARG CMAKE_CUDA_ARCHITECTURES=75

WORKDIR ${ONNXRUNTIME_LOCAL_CODE_DIR}

Expand Down

0 comments on commit 00eb716

Please sign in to comment.