From 44a496be0902862076c100a6e68e64f2a7767c89 Mon Sep 17 00:00:00 2001 From: Jehandad Khan Date: Mon, 23 Sep 2024 15:57:20 +0000 Subject: [PATCH] add rocm-ci file --- .github/workflows/ci-build.yaml | 5 +++++ .github/workflows/rocm-ci.yaml | 28 +++++++++++++++------------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 5d46f8fbf0d8..c01d44af9cf6 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -22,6 +22,7 @@ permissions: jobs: lint_and_typecheck: + if: false runs-on: ubuntu-latest timeout-minutes: 5 steps: @@ -38,6 +39,7 @@ jobs: - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # ratchet: pre-commit/action@v3.0.1 build: + if: false name: "build ${{ matrix.name-prefix }} (py ${{ matrix.python-version }} on ${{ matrix.os }}, x64=${{ matrix.enable-x64}})" runs-on: ${{ matrix.os }} timeout-minutes: 60 @@ -103,6 +105,7 @@ jobs: documentation: + if: false name: Documentation - test code snippets runs-on: ubuntu-latest timeout-minutes: 10 @@ -145,6 +148,7 @@ jobs: documentation_render: + if: false name: Documentation - render documentation runs-on: ubuntu-latest timeout-minutes: 10 @@ -181,6 +185,7 @@ jobs: jax2tf_test: + if: false name: "jax2tf_test (py ${{ matrix.python-version }} on ${{ matrix.os }}, x64=${{ matrix.enable-x64}})" runs-on: ${{ matrix.os }} timeout-minutes: 30 diff --git a/.github/workflows/rocm-ci.yaml b/.github/workflows/rocm-ci.yaml index 55d329d7cb5f..380ee153250b 100644 --- a/.github/workflows/rocm-ci.yaml +++ b/.github/workflows/rocm-ci.yaml @@ -1,4 +1,4 @@ -name: Print Environment Variables +name: ROCM CI on: [push] @@ -8,16 +8,18 @@ jobs: steps: - name: Print Environment Variables run: printenv + + - - name: Set up Docker - uses: docker/setup-buildx-action@v2 - - - name: Try rocm-smi - run: | - docker run \ - --group-add video \ - $RENDER_DEVICES \ - --cap-add=SYS_PTRACE \ - --security-opt seccomp=unconfined \ - --shm-size=64G \ - rocm/rocm-terminal rocm-smi \ No newline at end of file +# - name: Set up Docker +# uses: docker/setup-buildx-action@v2 +# +# - name: Try rocm-smi +# run: | +# docker run \ +# --group-add video \ +# $RENDER_DEVICES \ +# --cap-add=SYS_PTRACE \ +# --security-opt seccomp=unconfined \ +# --shm-size=64G \ +# rocm/rocm-terminal rocm-smi \ No newline at end of file