From c4670af9fd3d33075e40d530ecc570d66bdad832 Mon Sep 17 00:00:00 2001 From: saienduri <77521230+saienduri@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:18:52 -0700 Subject: [PATCH 1/7] update runner --- .github/workflows/run_bench.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_bench.yml b/.github/workflows/run_bench.yml index b126438..dfda099 100644 --- a/.github/workflows/run_bench.yml +++ b/.github/workflows/run_bench.yml @@ -16,7 +16,7 @@ concurrency: jobs: benchmark: - runs-on: mi300 + runs-on: mi300-kernel steps: - name: "Checkout Repo" From 13f82562dc74448fd9ca868a2a48fcf1f60f65d5 Mon Sep 17 00:00:00 2001 From: saienduri <77521230+saienduri@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:10:24 -0700 Subject: [PATCH 2/7] add user to appropriate groups --- .github/workflows/run_bench.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run_bench.yml b/.github/workflows/run_bench.yml index dfda099..a597221 100644 --- a/.github/workflows/run_bench.yml +++ b/.github/workflows/run_bench.yml @@ -24,6 +24,9 @@ jobs: - name: Setup venv run: | + sudo usermod -a -G render,video $LOGNAME + rocm-smi + rocminfo python3.11 -m venv bench_venv source bench_venv/bin/activate pip install --upgrade pip From 78e29652a8757183cb8a976a3bf745fea78589d0 Mon Sep 17 00:00:00 2001 From: saienduri <77521230+saienduri@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:12:28 -0700 Subject: [PATCH 3/7] try sudo group too --- .github/workflows/run_bench.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_bench.yml b/.github/workflows/run_bench.yml index a597221..bf3543c 100644 --- a/.github/workflows/run_bench.yml +++ b/.github/workflows/run_bench.yml @@ -24,7 +24,7 @@ jobs: - name: Setup venv run: | - sudo usermod -a -G render,video $LOGNAME + sudo usermod -a -G render,video,sudo $LOGNAME rocm-smi rocminfo python3.11 -m venv bench_venv From ee2dba2371b388300153c10873c7d9980a0e1c82 Mon Sep 17 00:00:00 2001 From: saienduri <77521230+saienduri@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:15:22 -0700 Subject: [PATCH 4/7] add groups check --- .github/workflows/run_bench.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run_bench.yml b/.github/workflows/run_bench.yml index bf3543c..f942e4a 100644 --- a/.github/workflows/run_bench.yml +++ b/.github/workflows/run_bench.yml @@ -27,6 +27,7 @@ jobs: sudo usermod -a -G render,video,sudo $LOGNAME rocm-smi rocminfo + groups python3.11 -m venv bench_venv source bench_venv/bin/activate pip install --upgrade pip From a4bb21d676098dc7c82a507023ad20c4f5d692c9 Mon Sep 17 00:00:00 2001 From: saienduri <77521230+saienduri@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:16:24 -0700 Subject: [PATCH 5/7] move groups --- .github/workflows/run_bench.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_bench.yml b/.github/workflows/run_bench.yml index f942e4a..4f2e41d 100644 --- a/.github/workflows/run_bench.yml +++ b/.github/workflows/run_bench.yml @@ -26,8 +26,8 @@ jobs: run: | sudo usermod -a -G render,video,sudo $LOGNAME rocm-smi - rocminfo groups + rocminfo python3.11 -m venv bench_venv source bench_venv/bin/activate pip install --upgrade pip From 553306f656d5c2dd65acace29903c928c67d6353 Mon Sep 17 00:00:00 2001 From: saienduri <77521230+saienduri@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:17:34 -0700 Subject: [PATCH 6/7] Update run_bench.yml --- .github/workflows/run_bench.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_bench.yml b/.github/workflows/run_bench.yml index 4f2e41d..0442d5a 100644 --- a/.github/workflows/run_bench.yml +++ b/.github/workflows/run_bench.yml @@ -24,7 +24,7 @@ jobs: - name: Setup venv run: | - sudo usermod -a -G render,video,sudo $LOGNAME + sudo usermod -a -G render,video esaimana rocm-smi groups rocminfo From 6bdfb187b1a6dc226d287a697c4541dad62b6e4b Mon Sep 17 00:00:00 2001 From: saienduri <77521230+saienduri@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:45:08 -0700 Subject: [PATCH 7/7] remove all debug --- .github/workflows/run_bench.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/run_bench.yml b/.github/workflows/run_bench.yml index 0442d5a..dfda099 100644 --- a/.github/workflows/run_bench.yml +++ b/.github/workflows/run_bench.yml @@ -24,10 +24,6 @@ jobs: - name: Setup venv run: | - sudo usermod -a -G render,video esaimana - rocm-smi - groups - rocminfo python3.11 -m venv bench_venv source bench_venv/bin/activate pip install --upgrade pip