From 992cd93dc49d301fd6b7ff364d0d6b83a3354aff Mon Sep 17 00:00:00 2001 From: ydshieh Date: Tue, 4 Jun 2024 18:22:43 +0200 Subject: [PATCH] fix --- .github/workflows/self-scheduled-caller.yml | 42 +-------------------- utils/notification_service_quantization.py | 2 +- 2 files changed, 2 insertions(+), 42 deletions(-) diff --git a/.github/workflows/self-scheduled-caller.yml b/.github/workflows/self-scheduled-caller.yml index 40689c629a09bf..3f7752574836d2 100644 --- a/.github/workflows/self-scheduled-caller.yml +++ b/.github/workflows/self-scheduled-caller.yml @@ -7,49 +7,9 @@ on: - cron: "17 2 * * *" push: branches: - - run_scheduled_ci* + - run_upload_ci_results jobs: - model-ci: - name: Model CI - uses: ./.github/workflows/self-scheduled.yml - with: - job: run_models_gpu - slack_report_channel: "#transformers-ci-daily-models" - 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" - 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" - 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" - 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" - secrets: inherit - quantization-ci: name: Quantization CI uses: ./.github/workflows/self-scheduled.yml diff --git a/utils/notification_service_quantization.py b/utils/notification_service_quantization.py index 32109765407a37..8fa280c462b17b 100644 --- a/utils/notification_service_quantization.py +++ b/utils/notification_service_quantization.py @@ -256,7 +256,7 @@ def post_reply(self): is_scheduled_ci_run = os.environ.get("CI_WORKFLOW_REF") == target_workflow # upload results to Hub dataset (only for the scheduled daily CI run on `main`) - if is_scheduled_ci_run: + if True: api.upload_file( path_or_fileobj=f"ci_results_{job_name}/quantization_results.json", path_in_repo=f"{datetime.datetime.today().strftime('%Y-%m-%d')}/ci_results_{job_name}/quantization_results.json",