don't try to run benchmark on forks (#1507)

This commit is contained in:
wozeparrot 2023-08-09 12:59:19 -04:00 committed by GitHub
parent c417cd3c97
commit 65b65b760b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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
llama_jitted.txt