Skip to content

Commit 805fb6b

Browse files
Update bitsandbytes/backends/hpu/ops.py
Co-authored-by: Matthew Douglas <38992547+matthewdouglas@users.noreply.github.com>
1 parent fff24d6 commit 805fb6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • bitsandbytes/backends/hpu

bitsandbytes/backends/hpu/ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _(
1919
dtype: torch.dtype,
2020
) -> torch.Tensor:
2121
torch._check_is_size(blocksize)
22-
torch._check(quant_type == "nf4", lambda: f"quant_type must be nf4 or fp4, got {quant_type}")
22+
torch._check(quant_type == "nf4", lambda: f"quant_type must be nf4, got {quant_type}")
2323
torch._check(
2424
dtype in (torch.bfloat16, torch.float32), lambda: f"4bit dequantization only bf16/f32, but got {dtype}"
2525
)

0 commit comments

Comments
 (0)