Skip to content

Commit

Permalink
fix comment exception
Browse files Browse the repository at this point in the history
  • Loading branch information
fxmarty committed Mar 27, 2023
1 parent 2c0b8d5 commit 9005998
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions optimum/exporters/onnx/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,10 @@ def main_export(
logger.warning(
f"The ONNX export succeeded with the warning: {e}.\n The exported model was saved at: {output.as_posix()}"
)
"""
except Exception as e:
raise Exception(
f"An error occured during validation, but the model was saved nonetheless at {output.as_posix()}. Detailed error: {e}."
)
"""


def main():
Expand Down

0 comments on commit 9005998

Please sign in to comment.