-
Notifications
You must be signed in to change notification settings - Fork 104
perf: export YOLO26 nano to ONNX or OpenVINO for the CPU pack #344
Copy link
Copy link
Open
Labels
assignedIssue or PR is already assigned to someone.Issue or PR is already assigned to someone.backendFastAPI, database, storage, and API workFastAPI, database, storage, and API workenhancementNew feature, improvement, or enhancement request.New feature, improvement, or enhancement request.gssoc26Related to GirlScript Summer of Code 2026.Related to GirlScript Summer of Code 2026.infraDocker, compose, deployment, and runtime setupDocker, compose, deployment, and runtime setuplevel:advancedGSSoC difficulty level: advanced. Base contributor points: 55.GSSoC difficulty level: advanced. Base contributor points: 55.mlModel inference, embeddings, OCR, captions, and search relevanceModel inference, embeddings, OCR, captions, and search relevanceperformanceSpeed, startup, memory, image size, and runtime efficiencySpeed, startup, memory, image size, and runtime efficiencypriority: highImportant issue that should be handled soonImportant issue that should be handled soonstatus: unavailableThis issue is now unavailable to pick up.This issue is now unavailable to pick up.testingAutomated tests or manual QA coverageAutomated tests or manual QA coverage
Description
Metadata
Metadata
Assignees
Labels
assignedIssue or PR is already assigned to someone.Issue or PR is already assigned to someone.backendFastAPI, database, storage, and API workFastAPI, database, storage, and API workenhancementNew feature, improvement, or enhancement request.New feature, improvement, or enhancement request.gssoc26Related to GirlScript Summer of Code 2026.Related to GirlScript Summer of Code 2026.infraDocker, compose, deployment, and runtime setupDocker, compose, deployment, and runtime setuplevel:advancedGSSoC difficulty level: advanced. Base contributor points: 55.GSSoC difficulty level: advanced. Base contributor points: 55.mlModel inference, embeddings, OCR, captions, and search relevanceModel inference, embeddings, OCR, captions, and search relevanceperformanceSpeed, startup, memory, image size, and runtime efficiencySpeed, startup, memory, image size, and runtime efficiencypriority: highImportant issue that should be handled soonImportant issue that should be handled soonstatus: unavailableThis issue is now unavailable to pick up.This issue is now unavailable to pick up.testingAutomated tests or manual QA coverageAutomated tests or manual QA coverage
Summary
Keep YOLO26 nano as the quality baseline but evaluate exported CPU runtimes that avoid loading the full PyTorch/Ultralytics stack in the CPU pack.
Evidence
Find already configures
yolo26n.pt, the current Ultralytics nano model. Official documentation reports YOLO26 supports ONNX, OpenVINO, LiteRT, CoreML, and other exports and improves CPU ONNX speed over YOLO11n: https://docs.ultralytics.com/models/yolo26Where to work
backend/src/find_api/ml/object_detector.pyAcceptance criteria
Out of scope
Do not replace YOLO26n with an older model merely because an export tutorial exists.