From 65b65b760b485dc6f6c09adaaae7f80fb725f38f Mon Sep 17 00:00:00 2001 From: wozeparrot Date: Wed, 9 Aug 2023 12:59:19 -0400 Subject: [PATCH] don't try to run benchmark on forks (#1507) --- .github/workflows/benchmark.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 6f19f408..fa987363 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -10,6 +10,7 @@ jobs: testmacbenchmark: name: Mac Benchmark runs-on: [self-hosted, macOS] + if: github.repositor.owner == 'tinygrad' env: PYTHONPATH: . steps: @@ -46,6 +47,7 @@ jobs: testamdbenchmark: name: AMD Benchmark runs-on: [self-hosted, Linux] + if: github.repositor.owner == 'tinygrad' env: PYTHONPATH: . steps: @@ -77,4 +79,4 @@ jobs: torch_speed.txt train_cifar.txt llama_unjitted.txt - llama_jitted.txt \ No newline at end of file + llama_jitted.txt