Skip to content

Remove YOLOv5, YOLOv7, YOLOv9, and YOLOv10 upload support - #572

Merged
mkaic merged 3 commits into
mainfrom
kai/retire-legacy-yolo-uploads
Oct 30, 2026
Merged

mkaic merged 3 commits into
mainfrom
kai/retire-legacy-yolo-uploads

Conversation

@mkaic

@mkaic mkaic commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Note

Code and PR description are LLM-written. If this PR has been marked Ready For Review, code has
been reviewed and tested in staging by Kai

Diff breakdown

Approximate added and removed lines.

Category Lines
Genuinely new or altered logic 42
Moving or rearranging existing logic 56
Tests 39
Documentation 8
Generated file / lockfile churn 0

Description

Remove YOLOv5, YOLOv7, YOLOv9, and YOLOv10 from custom-weight upload support. Packaging rejects these families before importing Torch or loading checkpoints. Delete the legacy packaging branches and replace retired upload examples and CLI help. Dataset formats and inference for existing models remain supported.

Companion API enforcement: roboflow #18676.

Related documentation: roboflow/docs #453.

Type of change

Breaking change: remove legacy upload support.

Testing

Ruff formatting, lint, Python syntax, and diff checks passed.

Tested together with the companion API, converter, and SDK PRs on US staging (kaiplace) on 2026-10-28. Comparisons use local CPU runtimes and the pre-retirement exports.

Check Result
Retired types through SDK and API 84/84 rejected correctly
Unrelated unsupported API types 8/8 still rejected
Retained uploads 30/30 succeeded: 15 SDK workspace uploads and 15 direct API version uploads
Executable backend comparisons 50 matched exactly across three images each. Maximum absolute difference: 0
ONNX graphs 28/28 identical after excluding producer version and date
Existing YOLOv5 artifacts Unchanged. Direct ONNX inference passed

RF-DETR keypoint PyTorch and YOLO11 TFJS remain non-executable in both the baseline and new exports. Existing YOLOv5 retains its registered-loader filename mismatch. No existing YOLOv7/9/10 staging models were available. Florence OCR samples return empty text. Browser Workflows and GPU execution were not tested.

Deployment

Deploy the API change first. Publish a package release through the existing release process; publishing a GitHub release triggers Publish WorkFlow. No SDK release was published.

Co-authored-by: OpenAI Codex <codex@openai.com>

mkaic commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Note

This comment was NOT written by Kai. It was written by Kai's Claude and posted through Kai's GitHub account on this PR.

/jarbas review

@mkaic
mkaic marked this pull request as ready for review October 28, 2026 20:49
@mkaic

mkaic commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

/jarbas review

@leeclemnet leeclemnet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but needs a changelog entry

mkaic and others added 2 commits October 30, 2026 10:18
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
@mkaic
mkaic merged commit 408c2fe into main Oct 30, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants