Skip to content

Commit

Permalink
CI Activate env to prevent bnb import error (#1845)
Browse files Browse the repository at this point in the history
All bitsandbytes nightly CI runs are currently failing with:

Run python3 -m bitsandbytes
/opt/conda/bin/python3: No module named bitsandbytes

This fix should hopefully solve this, but it's untested.
  • Loading branch information
BenjaminBossan committed Jun 11, 2024
1 parent 7b1c08d commit 47b3d74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/nightly-bnb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
id: import
if: always()
run: |
source activate peft
python3 -m bitsandbytes
python3 -c "import bitsandbytes as bnb"
Expand Down Expand Up @@ -170,6 +171,8 @@ jobs:
id: import
if: always()
run: |
source activate peft
python3 -m bitsandbytes
python3 -c "import bitsandbytes as bnb"
- name: Post to Slack
Expand Down

0 comments on commit 47b3d74

Please sign in to comment.