Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscilloscope98 committed Jan 7, 2025
1 parent cc493e7 commit a71d0b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -591,4 +591,4 @@ def convert_llm_for_deploy(model: torch.nn.Module,
model.config.update(update_dict)
model.config.save_pretrained(save_directory)
if model.can_generate():
model.generation_config.save_pretrained(save_directory)
model.generation_config.save_pretrained(save_directory)

0 comments on commit a71d0b0

Please sign in to comment.