Skip to content

Commit e710bde

Browse files
committed
update
1 parent e67c25a commit e710bde

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/diffusers/quantizers/quantization_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def __init__(self, compute_dtype: torch.dtype = None):
412412
self.pre_quantized = True
413413

414414
# TODO: (Dhruv) Add this as an init argument when we can support loading unquantized checkpoints.
415-
self.modules_to_not_convert = []
415+
self.modules_to_not_convert = None
416416

417417
if self.compute_dtype is None:
418418
self.compute_dtype = torch.float32

src/diffusers/utils/testing_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,8 @@ def decorator(test_case):
487487
correct_gguf_version, f"Test requires gguf with the version greater than {gguf_version}."
488488
)(test_case)
489489

490+
return decorator
491+
490492

491493
def require_torchao_version_greater(torchao_version):
492494
def decorator(test_case):

0 commit comments

Comments
 (0)