Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow / Bnb: Add a mechanism to inform us if the import fails #1830

Merged
merged 4 commits into from
Jun 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/nightly-bnb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,22 @@ jobs:
git checkout tags/v$transformers_version
cd ..
fi

- name: Test bnb import
id: import
if: always()
run: |
python3 -c "import bitsandbytes as bnb"
younesbelkada marked this conversation as resolved.
Show resolved Hide resolved

- name: Post to Slack
if: always()
uses: huggingface/hf-workflows/.github/actions/post-slack@main
with:
slack_channel: ${{ env.BNB_SLACK_CHANNEL_ID }}
title: 🤗 Results of bitsandbytes import
status: ${{ steps.import.status }}
slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}

- name: Run examples on single GPU
if: always()
run: |
Expand Down Expand Up @@ -109,6 +125,21 @@ jobs:
cd ..
fi

- name: Test bnb import
id: import
if: always()
run: |
python3 -c "import bitsandbytes as bnb"

- name: Post to Slack
if: always()
uses: huggingface/hf-workflows/.github/actions/post-slack@main
with:
slack_channel: ${{ env.BNB_SLACK_CHANNEL_ID }}
title: 🤗 Results of bitsandbytes import
status: ${{ steps.import.status }}
slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}

- name: Run core GPU tests on multi-gpu
if: always()
run: |
Expand Down
Loading