From e6bdaff059be3df9ac84be9d7b6467b1b6893f7a Mon Sep 17 00:00:00 2001 From: omkar kakarparthi <75638701+okakarpa@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:40:49 -0500 Subject: [PATCH] Update rocm-sanity.yml --- .github/workflows/rocm-sanity.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rocm-sanity.yml b/.github/workflows/rocm-sanity.yml index dbe23081e29f..4166c6f17e6b 100644 --- a/.github/workflows/rocm-sanity.yml +++ b/.github/workflows/rocm-sanity.yml @@ -8,5 +8,15 @@ jobs: steps: - name: Print Environment Variables run: printenv - - name: try rocm-smi - run: docker run -it $RENDER_DEVICES --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --shm-size=64G rocm/rocm-terminal rocm-smi + + - name: Set up Docker + uses: docker/setup-buildx-action@v2 + + - name: Try rocm-smi + run: | + docker run \ + --group-add video \ + --cap-add=SYS_PTRACE \ + --security-opt seccomp=unconfined \ + --shm-size=64G \ + rocm/rocm-terminal rocm-smi