Skip to content

Commit

Permalink
minor linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wendy mak committed Dec 8, 2024
1 parent d0e8043 commit c301c69
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ def __init__(self, *, engine_args: EngineArgs):
trust_remote_code=engine_args.trust_remote_code,
execution_provider=provider,
file_name=onnx_file.as_posix(),
optimize_model=not os.environ.get(
"INFINITY_ONNX_DISABLE_OPTIMIZE", False
),
optimize_model=not os.environ.get("INFINITY_ONNX_DISABLE_OPTIMIZE", False),
)
self.model.use_io_binding = False

Expand Down

0 comments on commit c301c69

Please sign in to comment.