Ubuntu ARM GitHub CI runners (#18762)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Signed-off-by: Lakshantha Dissanayake <lakshanthad@yahoo.com> Co-authored-by: Lakshantha Dissanayake <lakshanthad@yahoo.com> Co-authored-by: Lakshantha Dissanayake <lakshantha@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
b30021e781
commit
e411337778
3 changed files with 8 additions and 7 deletions
|
|
@ -41,7 +41,7 @@ import yaml
|
|||
from ultralytics import YOLO, YOLOWorld
|
||||
from ultralytics.cfg import TASK2DATA, TASK2METRIC
|
||||
from ultralytics.engine.exporter import export_formats
|
||||
from ultralytics.utils import ARM64, ASSETS, IS_JETSON, IS_RASPBERRYPI, LINUX, LOGGER, MACOS, TQDM, WEIGHTS_DIR
|
||||
from ultralytics.utils import ARM64, ASSETS, LINUX, LOGGER, MACOS, TQDM, WEIGHTS_DIR
|
||||
from ultralytics.utils.checks import IS_PYTHON_3_12, check_requirements, check_yolo, is_rockchip
|
||||
from ultralytics.utils.downloads import safe_download
|
||||
from ultralytics.utils.files import file_size
|
||||
|
|
@ -100,9 +100,9 @@ def benchmark(
|
|||
elif i == 9: # Edge TPU
|
||||
assert LINUX and not ARM64, "Edge TPU export only supported on non-aarch64 Linux"
|
||||
elif i in {5, 10}: # CoreML and TF.js
|
||||
assert MACOS or LINUX, "CoreML and TF.js export only supported on macOS and Linux"
|
||||
assert not IS_RASPBERRYPI, "CoreML and TF.js export not supported on Raspberry Pi"
|
||||
assert not IS_JETSON, "CoreML and TF.js export not supported on NVIDIA Jetson"
|
||||
assert MACOS or (LINUX and not ARM64), (
|
||||
"CoreML and TF.js export only supported on macOS and non-aarch64 Linux"
|
||||
)
|
||||
if i in {5}: # CoreML
|
||||
assert not IS_PYTHON_3_12, "CoreML not supported on Python 3.12"
|
||||
if i in {6, 7, 8}: # TF SavedModel, TF GraphDef, and TFLite
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue