Skip to content

Commit

Permalink
fix(fmt): Black format on convert.py
Browse files Browse the repository at this point in the history
Branch: OnnxGranite

Signed-off-by: Gabe Goodhart <[email protected]>
  • Loading branch information
gabe-l-hart committed Oct 8, 2024
1 parent 99e28b8 commit 88f4ace
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion optimum/exporters/onnx/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,6 @@ def onnx_export_from_model(
if check_if_transformers_greater("4.44.99"):
import sys


msg = f"ONNX conversion disabled for now for transformers version >= v4.45, found {transformers.__version__}"
error = True
if sys.stdin.isatty():
Expand Down

0 comments on commit 88f4ace

Please sign in to comment.