Skip to content

Commit cd8bd2d

Browse files
authored
pass current bnb_quantized when moving quantized Params4bit to different device (#1665)
1 parent 55ebaac commit cd8bd2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bitsandbytes/nn/modules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ def to(self, *args, **kwargs):
354354
compress_statistics=self.compress_statistics,
355355
quant_type=self.quant_type,
356356
quant_storage=self.quant_storage,
357+
bnb_quantized=self.bnb_quantized,
357358
)
358359

359360
return new_param

0 commit comments

Comments
 (0)