Skip to content

Commit 74c00eb

Browse files
committed
remove moving offset if not nested
1 parent 070f45d commit 74c00eb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bitsandbytes/functional.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,6 @@ def as_dict(self, packed=False):
680680
def to(self, device):
681681
# make sure the quantization state is on the right device
682682
self.absmax = self.absmax.to(device)
683-
self.offset = self.offset.to(device)
684683
if self.nested:
685684
self.offset = self.offset.to(device)
686685
self.state2.absmax = self.state2.absmax.to(device)

0 commit comments

Comments
 (0)