Skip to content

Commit 971305b

Browse files
committed
1 parent b1a9878 commit 971305b

File tree

1 file changed

+1
-0
lines changed
  • src/diffusers/quantizers/bitsandbytes

1 file changed

+1
-0
lines changed

src/diffusers/quantizers/bitsandbytes/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ def _dequantize_and_replace(
259259

260260
new_module.to(device)
261261
model._modules[name] = new_module
262+
has_been_replaced = True
262263
if len(list(module.children())) > 0:
263264
_, has_been_replaced = _dequantize_and_replace(
264265
module,

0 commit comments

Comments
 (0)