Skip to content

Commit 5f5fe5d

Browse files
committed
🐛 fix MacOS bitsandbytes install issue
1 parent fa2a7b3 commit 5f5fe5d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ openai = "1.56.0"
2727
rank_bm25 = "0.2.2"
2828
huggingface-hub = "^0.34.4"
2929
sentence-transformers = "^5.1.0"
30-
bitsandbytes = "^0.45.1"
30+
bitsandbytes = { version = ">=0.45.1,<1.0.0", markers = "platform_system == 'Linux'" }
3131
pykeen = "1.11.1"
3232

3333
[tool.poetry.dev-dependencies]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ openai==1.56.0
1414
rank_bm25==0.2.2
1515
huggingface-hub==0.34.4
1616
sentence-transformers==5.1.0
17-
bitsandbytes==0.45.1
17+
bitsandbytes>=0.45.1,<0.46.0; platform_system == "Linux"
1818
pykeen==1.11.1
1919
ruff
2020
pre-commit

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"torch>=2.8.0,<3.0.0",
3232
"transformers>=4.56.0,<5.0.0",
3333
"huggingface-hub>=0.34.4,<1.0.0",
34-
"bitsandbytes>=0.45.1,<1.0.0",
34+
"bitsandbytes>=0.45.1,<1.0.0; platform_system == 'Linux'",
3535
"pykeen==1.11.1"
3636
],
3737
classifiers=[

0 commit comments

Comments
 (0)