Skip to content

Commit e143cae

Browse files
committed
build(deps): bitsandbytes
1 parent 89a1f6a commit e143cae

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

poetry.lock

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ torch = [
5151
{ version = ">=1.10", python = ">=3.8", source = "torch" },
5252
{ version = "^1.10", python = ">=3.7,<3.8", source = "torch" },
5353
]
54+
bitsandbytes = { version = "^0.41", optional = true }
5455

5556
[tool.poetry.dev-dependencies]
5657
isort = [
@@ -65,10 +66,8 @@ ruff = "^0.0.292"
6566
pytest = "^7.4.2"
6667
pytest-cov = "^4.1.0"
6768

68-
[project.optional-dependencies]
69-
bitsandbytes = [
70-
"bitsandbytes",
71-
]
69+
[tool.poetry.extras]
70+
bitsandbytes = ["bitsandbytes"]
7271

7372
[[tool.poetry.source]]
7473
name = "torch"

0 commit comments

Comments
 (0)