From af638c4afea81ac251f1ae63497789be79e0baaa Mon Sep 17 00:00:00 2001 From: Sai-Suraj-27 Date: Thu, 22 Aug 2024 17:21:12 +0530 Subject: [PATCH] fix: Added missing `huggingface_hub` installation to workflows (#32891) Added missing huggingface_hub installation to workflows. --- .github/workflows/self-push-amd.yml | 1 + .github/workflows/self-push.yml | 3 ++- .github/workflows/self-scheduled-amd.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/self-push-amd.yml b/.github/workflows/self-push-amd.yml index 8d68002e32..6d046b1478 100644 --- a/.github/workflows/self-push-amd.yml +++ b/.github/workflows/self-push-amd.yml @@ -324,6 +324,7 @@ jobs: # We pass `needs.setup_gpu.outputs.matrix` as the argument. A processing in `notification_service.py` to change # `models/bert` to `models_bert` is required, as the artifact names use `_` instead of `/`. run: | + pip install huggingface_hub pip install slack_sdk pip show slack_sdk python utils/notification_service.py "${{ needs.setup_gpu.outputs.matrix }}" diff --git a/.github/workflows/self-push.yml b/.github/workflows/self-push.yml index 1bc02ccd82..31f68c291b 100644 --- a/.github/workflows/self-push.yml +++ b/.github/workflows/self-push.yml @@ -563,6 +563,7 @@ jobs: # We pass `needs.setup.outputs.matrix` as the argument. A processing in `notification_service.py` to change # `models/bert` to `models_bert` is required, as the artifact names use `_` instead of `/`. run: | - pip install slack_sdk + pip install huggingface_hub + pip install slack_sdk pip show slack_sdk python utils/notification_service.py "${{ needs.setup.outputs.matrix }}" diff --git a/.github/workflows/self-scheduled-amd.yml b/.github/workflows/self-scheduled-amd.yml index e9f280f51a..f3b17bfbff 100644 --- a/.github/workflows/self-scheduled-amd.yml +++ b/.github/workflows/self-scheduled-amd.yml @@ -506,6 +506,7 @@ jobs: # `models/bert` to `models_bert` is required, as the artifact names use `_` instead of `/`. run: | sudo apt-get install -y curl + pip install huggingface_hub pip install slack_sdk pip show slack_sdk python utils/notification_service.py "${{ needs.setup.outputs.matrix }}"