set -o pipefail for mlperf run_and_time (#10577)

also run the 5.1 script in ci cron job
This commit is contained in:
chenyu
2025-05-30 16:36:44 -04:00
committed by GitHub
parent baf482d314
commit 4ab3391e6f
7 changed files with 7 additions and 1 deletions

View File

@@ -22,4 +22,4 @@ 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.0/tinycorp/benchmarks/resnet/implementations/tinybox_red/run_and_time.sh
BENCHMARK_LOG=mlpert_train_resnet LOGMLPERF=0 examples/mlperf/training_submission_v5.1/tinycorp/benchmarks/resnet/implementations/tinybox_red/run_and_time.sh

View File

@@ -1,5 +1,6 @@
#!/bin/bash
set -e # Exit on any error
set -o pipefail # Make pipeline fail if any command fails
export PYTHONPATH="." AMD=1
export MODEL="bert"

View File

@@ -1,5 +1,6 @@
#!/bin/bash
set -e # Exit on any error
set -o pipefail # Make pipeline fail if any command fails
export PYTHONPATH="." NV=1
export MODEL="bert"

View File

@@ -1,5 +1,6 @@
#!/bin/bash
set -e # Exit on any error
set -o pipefail # Make pipeline fail if any command fails
export PYTHONPATH="." AMD=1
export MODEL="bert"

View File

@@ -1,5 +1,6 @@
#!/bin/bash
set -e # Exit on any error
set -o pipefail # Make pipeline fail if any command fails
export PYTHONPATH="." NV=1
export MODEL="resnet"

View File

@@ -1,5 +1,6 @@
#!/bin/bash
set -e # Exit on any error
set -o pipefail # Make pipeline fail if any command fails
export PYTHONPATH="." AMD=1
export MODEL="resnet"

View File

@@ -1,5 +1,6 @@
#!/bin/bash
set -e # Exit on any error
set -o pipefail # Make pipeline fail if any command fails
export PYTHONPATH="." NV=1
export MODEL="retinanet"