Skip to content

Commit

Permalink
Update src/sparseml/pytorch/model_load/helpers.py
Browse files Browse the repository at this point in the history
Co-authored-by: dbogunowicz <[email protected]>
  • Loading branch information
Sara Adkins and dbogunowicz authored Mar 20, 2024
1 parent aee4575 commit 1ba94ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparseml/pytorch/model_load/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def save_model_and_recipe(
:param model: pytorch model to save
:param save_path: path to save output to
:param tokenizer: model tokenizer to save
:param save_safetensors: whether to save as safetensors or pickle(bin)
:param save_safetensors: whether to save as safetensors or pickle (bin)
"""

model.save_pretrained(save_path, safe_serialization=save_safetensors)
Expand Down

0 comments on commit 1ba94ed

Please sign in to comment.