Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qubvel committed Sep 16, 2024
1 parent 3e677c9 commit 41a4d8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def write_model(
del model.config._name_or_path

print("Saving the model.")
# model.save_pretrained(model_path, safe_serialization=safe_serialization)
model.save_pretrained(model_path, safe_serialization=safe_serialization)
del state_dict, model

# Safety check: reload the converted model
Expand Down

0 comments on commit 41a4d8a

Please sign in to comment.