Skip to content

Commit 6933190

Browse files
committed
format
1 parent 1fbe7ee commit 6933190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitsandbytes/nn/modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def to(self, *args, **kwargs):
672672
if device.type != "cpu" or self.data.dtype != torch.int8:
673673
return self._quantize(device)
674674
elif self.data.dtype == torch.int8:
675-
if device.type == "cpu" or (device.type == "xpu" and ipex_xpu):
675+
if device.type == "cpu" or (device.type == "xpu" and ipex_xpu):
676676
self.CB = self.data
677677

678678
new_param = Int8Params(

0 commit comments

Comments
 (0)