From 290a699e0ba4dff07d992ac7f7ebc16cbc20c836 Mon Sep 17 00:00:00 2001 From: "yan.xu0210" Date: Wed, 27 Mar 2024 13:12:01 -0700 Subject: [PATCH] [ci] run as non-root --- .github/workflows/compiler-and-runtime-ci.yaml | 8 ++++---- .github/workflows/daily_ci.yaml | 4 ++-- .github/workflows/e2e_test.yaml | 2 +- .github/workflows/format-check.yaml | 2 +- .github/workflows/onnx-frontend-ci.yaml | 2 +- .github/workflows/tf-frontend-ci.yaml | 2 +- .github/workflows/torch-frontend-ci.yaml | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/compiler-and-runtime-ci.yaml b/.github/workflows/compiler-and-runtime-ci.yaml index 293400f15..4c898b31e 100644 --- a/.github/workflows/compiler-and-runtime-ci.yaml +++ b/.github/workflows/compiler-and-runtime-ci.yaml @@ -36,7 +36,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE @@ -53,7 +53,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE @@ -73,7 +73,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE @@ -90,7 +90,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE diff --git a/.github/workflows/daily_ci.yaml b/.github/workflows/daily_ci.yaml index b75fcf28e..eaa3ae343 100644 --- a/.github/workflows/daily_ci.yaml +++ b/.github/workflows/daily_ci.yaml @@ -13,7 +13,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE @@ -30,7 +30,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE diff --git a/.github/workflows/e2e_test.yaml b/.github/workflows/e2e_test.yaml index c12a26c34..71bbc8a72 100644 --- a/.github/workflows/e2e_test.yaml +++ b/.github/workflows/e2e_test.yaml @@ -31,7 +31,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE diff --git a/.github/workflows/format-check.yaml b/.github/workflows/format-check.yaml index 2d2ad41d9..222e35043 100644 --- a/.github/workflows/format-check.yaml +++ b/.github/workflows/format-check.yaml @@ -10,7 +10,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: Clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE diff --git a/.github/workflows/onnx-frontend-ci.yaml b/.github/workflows/onnx-frontend-ci.yaml index e51354837..6390e70e2 100644 --- a/.github/workflows/onnx-frontend-ci.yaml +++ b/.github/workflows/onnx-frontend-ci.yaml @@ -32,7 +32,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE diff --git a/.github/workflows/tf-frontend-ci.yaml b/.github/workflows/tf-frontend-ci.yaml index 8ce9f1834..a67f8ff2f 100644 --- a/.github/workflows/tf-frontend-ci.yaml +++ b/.github/workflows/tf-frontend-ci.yaml @@ -33,7 +33,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE diff --git a/.github/workflows/torch-frontend-ci.yaml b/.github/workflows/torch-frontend-ci.yaml index 2d7f1c5f9..efd11fe0e 100644 --- a/.github/workflows/torch-frontend-ci.yaml +++ b/.github/workflows/torch-frontend-ci.yaml @@ -34,7 +34,7 @@ jobs: volumes: - /data00/llvm_libraries:/data00/llvm_libraries - /data00/mhlo_libraries:/data00/mhlo_libraries - options: --runtime=nvidia --gpus all + options: --runtime=nvidia --gpus all --user 1000:1000 steps: - name: clear workspace run: rm -rf $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE