From 62a8568d0014c3b7fcb901ce1e1220a663d193b9 Mon Sep 17 00:00:00 2001 From: ydshieh Date: Mon, 28 Oct 2024 14:37:49 +0100 Subject: [PATCH] run tests --- .github/workflows/self-scheduled-caller.yml | 58 +-------------------- utils/get_previous_daily_ci.py | 9 +--- utils/notification_service.py | 2 +- 3 files changed, 3 insertions(+), 66 deletions(-) diff --git a/.github/workflows/self-scheduled-caller.yml b/.github/workflows/self-scheduled-caller.yml index 75ea3bb24bc7fa..448d8ef1464427 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* + - trigger_debug jobs: model-ci: @@ -20,59 +20,3 @@ jobs: 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/get_previous_daily_ci.py b/utils/get_previous_daily_ci.py index efd7d24a752991..c835c9d0e1d202 100644 --- a/utils/get_previous_daily_ci.py +++ b/utils/get_previous_daily_ci.py @@ -31,14 +31,7 @@ def get_daily_ci_runs(token, num_runs=7): def get_last_daily_ci_runs(token): """Get the last completed workflow run id of the scheduled (daily) CI.""" - workflow_runs = get_daily_ci_runs(token) - workflow_run_id = None - for workflow_run in workflow_runs: - if workflow_run["status"] == "completed": - workflow_run_id = workflow_run["id"] - break - - return workflow_run_id + return 11491612091 def get_last_daily_ci_run_commit(token): diff --git a/utils/notification_service.py b/utils/notification_service.py index 629b793337889a..86cd9153388724 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -1250,7 +1250,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}"]