From 9b872927ed6659c76599c010056d3895dbf58130 Mon Sep 17 00:00:00 2001 From: ydshieh Date: Fri, 26 Jul 2024 21:48:43 +0200 Subject: [PATCH] trigger --- .github/workflows/self-scheduled-caller.yml | 60 +-------------------- utils/notification_service.py | 2 +- utils/split_model_tests.py | 1 + 3 files changed, 4 insertions(+), 59 deletions(-) diff --git a/.github/workflows/self-scheduled-caller.yml b/.github/workflows/self-scheduled-caller.yml index 75ea3bb24bc7fa..346b430bef07f2 100644 --- a/.github/workflows/self-scheduled-caller.yml +++ b/.github/workflows/self-scheduled-caller.yml @@ -7,7 +7,7 @@ on: - cron: "17 2 * * *" push: branches: - - run_scheduled_ci* + - send_report_file jobs: model-ci: @@ -15,64 +15,8 @@ jobs: uses: ./.github/workflows/self-scheduled.yml with: job: run_models_gpu - slack_report_channel: "#transformers-ci-daily-models" + slack_report_channel: "#transformers-ci-feedback-tests" runner: daily-ci docker: huggingface/transformers-all-latest-gpu ci_event: Daily CI secrets: inherit - - torch-pipeline: - name: Torch pipeline CI - uses: ./.github/workflows/self-scheduled.yml - with: - job: run_pipelines_torch_gpu - slack_report_channel: "#transformers-ci-daily-pipeline-torch" - runner: daily-ci - docker: huggingface/transformers-pytorch-gpu - ci_event: Daily CI - secrets: inherit - - tf-pipeline: - name: TF pipeline CI - uses: ./.github/workflows/self-scheduled.yml - with: - job: run_pipelines_tf_gpu - slack_report_channel: "#transformers-ci-daily-pipeline-tf" - runner: daily-ci - docker: huggingface/transformers-tensorflow-gpu - ci_event: Daily CI - secrets: inherit - - example-ci: - name: Example CI - uses: ./.github/workflows/self-scheduled.yml - with: - job: run_examples_gpu - slack_report_channel: "#transformers-ci-daily-examples" - runner: daily-ci - docker: huggingface/transformers-all-latest-gpu - ci_event: Daily CI - secrets: inherit - - deepspeed-ci: - name: DeepSpeed CI - uses: ./.github/workflows/self-scheduled.yml - with: - job: run_torch_cuda_extensions_gpu - slack_report_channel: "#transformers-ci-daily-deepspeed" - runner: daily-ci - docker: huggingface/transformers-pytorch-deepspeed-latest-gpu - ci_event: Daily CI - working-directory-prefix: /workspace - secrets: inherit - - quantization-ci: - name: Quantization CI - uses: ./.github/workflows/self-scheduled.yml - with: - job: run_quantization_torch_gpu - slack_report_channel: "#transformers-ci-daily-quantization" - runner: daily-ci - docker: huggingface/transformers-quantization-latest-gpu - ci_event: Daily CI - secrets: inherit diff --git a/utils/notification_service.py b/utils/notification_service.py index 598eb4f31c8838..c0fe7fed776b71 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -1221,7 +1221,7 @@ def prepare_reports(title, header, reports, to_truncate=True): ) prev_ci_artifacts = None - if is_scheduled_ci_run: + if True: if job_name == "run_models_gpu": # Get the last previously completed CI's failure tables artifact_names = [f"ci_results_{job_name}"] diff --git a/utils/split_model_tests.py b/utils/split_model_tests.py index e5083aaeb46fa5..05dbe39cafe95f 100644 --- a/utils/split_model_tests.py +++ b/utils/split_model_tests.py @@ -62,4 +62,5 @@ start = end end = start + num_jobs_per_splits + (1 if idx < num_jobs % args.num_splits else 0) model_splits.append(d[start:end]) + model_splits = [["models/vit"], ["models/clip"]] print(model_splits)