Skip to content

Commit

Permalink
Set Sparse compression to save_compressed
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-tuli committed Oct 6, 2024
1 parent 7c2ab3a commit da4e0dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def save_pretrained_wrapper(
"skip_compression_stats=True"
)
sparsity_config = SparsityConfigMetadata.from_pretrained(
model, state_dict=state_dict, compress=False
model, state_dict=state_dict, compress=save_compressed
)

quantization_format = infer_quantization_format(
Expand Down

0 comments on commit da4e0dc

Please sign in to comment.