Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit aeace86

Browse files
add cpu build
1 parent c7104e3 commit aeace86

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/package.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@ jobs:
6565
with:
6666
python-version: ${{ matrix.python-version }}
6767
cache: pip
68+
69+
- name: Install build tools
70+
run: |
71+
sudo apt-get update
72+
sudo apt-get install -y build-essential cmake
73+
74+
- name: Compile bitsandbytes with CPU backend
75+
run: |
76+
cd bitsandbytes
77+
cmake -DCOMPUTE_BACKEND=cpu -S . && make
78+
cd ..
6879
6980
- name: Download build artifacts
7081
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)