Skip to content

Commit

Permalink
Update src/sparseml/transformers/compression/compressors/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Goin <[email protected]>
  • Loading branch information
Sara Adkins and mgoin authored Apr 3, 2024
1 parent 174b35f commit 2a41737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparseml/transformers/compression/compressors/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def overwrite_weights(self, model_path: str, model: Module):
"""
Overwrites the weights in model with weights decompressed from model_path
:param pretrained_model_path: path to compressed weights
:param model_path: path to compressed weights
:param model: pytorch model to load decompressed weights into
"""
dense_gen = self.decompress(model_path)
Expand Down

0 comments on commit 2a41737

Please sign in to comment.