Skip to content

Commit d5ab261

Browse files
BordaCopilot
andauthored
note
Co-authored-by: Copilot <[email protected]>
1 parent 4a61395 commit d5ab261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/fabric/plugins/precision/bitsandbytes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def quantize(
258258
else:
259259
if hasattr(bnb.functional, "double_quant"):
260260
CB, _, SCB, _, _ = bnb.functional.double_quant(B)
261-
else: # for versions 0.46+
261+
else: # for bitsandbytes versions 0.46
262262
CB, SCB = bnb.functional.int8_double_quant(B)
263263
int8params.data = CB
264264
setattr(int8params, "CB", CB)

0 commit comments

Comments
 (0)