Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Jan 8, 2025
1 parent b605506 commit b530c10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions optimum/utils/import_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def _is_package_available(pkg_name: str, return_version: bool = False) -> Union[
else:
return package_exists


_onnx_available = _is_package_available("onnx")
_pydantic_available = _is_package_available("pydantic")
_accelerate_available = _is_package_available("accelerate")
Expand Down

0 comments on commit b530c10

Please sign in to comment.