Skip to content

Commit

Permalink
ultralytics 8.3.36 unpin OpenVINO ARM install version (ultralytics#…
Browse files Browse the repository at this point in the history
…16600)

Co-authored-by: UltralyticsAssistant <[email protected]>
Co-authored-by: Lakshantha Dissanayake <[email protected]>
Co-authored-by: Lakshantha <[email protected]>
Co-authored-by: Francesco Mattioli <[email protected]>
Co-authored-by: Ultralytics Assistant <[email protected]>
Co-authored-by: Glenn Jocher <[email protected]>
  • Loading branch information
7 people authored Nov 22, 2024
1 parent 1b74f14 commit 426879d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ultralytics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license

__version__ = "8.3.35"
__version__ = "8.3.36"

import os

Expand Down
5 changes: 2 additions & 3 deletions ultralytics/engine/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,7 @@ def export_onnx(self, prefix=colorstr("ONNX:")):
@try_export
def export_openvino(self, prefix=colorstr("OpenVINO:")):
"""YOLO OpenVINO export."""
# WARNING: numpy>=2.0.0 issue with OpenVINO on macOS https://github.com/ultralytics/ultralytics/pull/17221
check_requirements(f'openvino{"<=2024.0.0" if ARM64 else ">=2024.0.0"}') # fix OpenVINO issue on ARM64
check_requirements("openvino>=2024.5.0")
import openvino as ov

LOGGER.info(f"\n{prefix} starting export with openvino {ov.__version__}...")
Expand Down Expand Up @@ -530,7 +529,7 @@ def serialize(ov_model, file):
if self.args.int8:
fq = str(self.file).replace(self.file.suffix, f"_int8_openvino_model{os.sep}")
fq_ov = str(Path(fq) / self.file.with_suffix(".xml").name)
check_requirements("nncf>=2.8.0")
check_requirements("nncf>=2.14.0")
import nncf

def transform_fn(data_item) -> np.ndarray:
Expand Down

0 comments on commit 426879d

Please sign in to comment.