From d93a0bee6bbf845e204512faa860d4e89d221595 Mon Sep 17 00:00:00 2001 From: chenyu Date: Sun, 8 Jun 2025 16:43:32 -0700 Subject: [PATCH] mlperf ci uses its own cache (#10705) not to interfere with regular cache which is used by benchmark --- .github/workflows/mlperf.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mlperf.yml b/.github/workflows/mlperf.yml index 83876e6a96..66f09fd881 100644 --- a/.github/workflows/mlperf.yml +++ b/.github/workflows/mlperf.yml @@ -24,4 +24,6 @@ jobs: ln -s /raid/datasets/imagenet extra/datasets/imagenet - name: Run resnet run: | - BENCHMARK_LOG=mlpert_train_resnet LOGMLPERF=0 examples/mlperf/training_submission_v5.1/tinycorp/benchmarks/resnet/implementations/tinybox_red/run_and_time.sh + rm "~/.cache/tinygrad/cache_mlperf.db" || true + BENCHMARK_LOG=mlpert_train_resnet LOGMLPERF=0 CACHEDB="~/.cache/tinygrad/cache_mlperf.db" examples/mlperf/training_submission_v5.1/tinycorp/benchmarks/resnet/implementations/tinybox_red/run_and_time.sh + rm "~/.cache/tinygrad/cache_mlperf.db" \ No newline at end of file