From 21d1bd8d6715a3aa5a3885f51de2a8038b3b0806 Mon Sep 17 00:00:00 2001 From: Scott McKay Date: Sat, 18 Jan 2025 11:26:52 +1000 Subject: [PATCH] Remove training CIs from external PR CI list. Don't exit if there's an error starting a CI. It's most likely an intermittent error (or invalid CI) so it's better to keep going so you only have to try and kick off the failed CI later. --- tools/python/run_CIs_for_external_pr.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/python/run_CIs_for_external_pr.py b/tools/python/run_CIs_for_external_pr.py index cee32073fa..15796c6ac0 100644 --- a/tools/python/run_CIs_for_external_pr.py +++ b/tools/python/run_CIs_for_external_pr.py @@ -34,9 +34,6 @@ def get_pipeline_names(): "Linux QNN CI Pipeline", # mac "MacOS CI Pipeline", - # training - "orttraining-linux-ci-pipeline", - "orttraining-linux-gpu-ci-pipeline", # checks "onnxruntime-binary-size-checks-ci-pipeline", # big models @@ -78,7 +75,8 @@ def run_gh_pr_command(command: list[str], check: bool = True): except subprocess.CalledProcessError as cpe: print(cpe) print(cpe.stderr) - sys.exit(-1) + # Exit if debugging. Otherwise keep going as it's most likely an intermittent failure. + # sys.exit(-1) def main():