Skip to content

Commit

Permalink
unindent
Browse files Browse the repository at this point in the history
  • Loading branch information
horheynm committed Jan 22, 2025
1 parent 15884dc commit 6e7bfa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/llmcompressor/pytorch/utils/sparsification.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def params_quantized(self) -> int:
for name, layer in get_quantized_layers(self.module):
if getattr(layer, "weight", None) is not None:
num_params += torch.numel(layer.weight)
if getattr(layer, "bias", None) is not None:
num_params += torch.numel(layer.bias)
if getattr(layer, "bias", None) is not None:
num_params += torch.numel(layer.bias)

return num_params

Expand Down

0 comments on commit 6e7bfa6

Please sign in to comment.