[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fa5bb096cc
commit
b6e7ffcd76
1 changed files with 3 additions and 3 deletions
|
|
@ -93,9 +93,9 @@ class TestAmdExtraIsInstallableFromPyPI:
|
|||
specs = [d for d in extras["amd"] if d.lower().startswith("bitsandbytes")]
|
||||
assert specs, "the amd extra must constrain bitsandbytes"
|
||||
for spec in specs:
|
||||
assert spec.startswith("bitsandbytes>=0.50.0"), (
|
||||
f"bitsandbytes <= 0.49.2 NaNs at 4-bit decode on ROCm; got {spec!r}"
|
||||
)
|
||||
assert spec.startswith(
|
||||
"bitsandbytes>=0.50.0"
|
||||
), f"bitsandbytes <= 0.49.2 NaNs at 4-bit decode on ROCm; got {spec!r}"
|
||||
|
||||
def test_amd_extra_pulls_the_torch_free_runtime(self):
|
||||
extras = _load()["project"].get("optional-dependencies", {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue