Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Jan 14, 2025
1 parent 1334200 commit 84bf7ee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion optimum/onnxruntime/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,6 @@ def _save(self, output_dir: Optional[str] = None, state_dict=None):
os.makedirs(output_dir, exist_ok=True)
logger.info(f"Saving model checkpoint to {output_dir}")


supported_classes = (PreTrainedModel,)
# Save a trained model and configuration using `save_pretrained()`.
# They can then be reloaded using `from_pretrained()`
Expand Down

0 comments on commit 84bf7ee

Please sign in to comment.