Skip to content

Commit

Permalink
remove test, fix default in order to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kylesayrs committed Dec 10, 2024
1 parent 146e4be commit ccb007f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
2 changes: 1 addition & 1 deletion src/llmcompressor/modifiers/quantization/gptq/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class GPTQModifier(Modifier, HooksMixin):
disable_quantization_observer_epoch: Optional[float] = None

# private variables
_quantization_modifier: Optional[QuantizationModifier] = PrivateAttr()
_quantization_modifier: Optional[QuantizationModifier] = PrivateAttr(default=None)
_hessians: Dict[torch.nn.Module, torch.Tensor] = PrivateAttr(default_factory=dict)
_num_samples: Dict[torch.nn.Module, int] = PrivateAttr(default_factory=dict)
_update_size: Optional[int] = PrivateAttr(default=None)
Expand Down

This file was deleted.

0 comments on commit ccb007f

Please sign in to comment.