Skip to content

Package custom OWLv2 checkpoints for upload - #569

Open
mkaic wants to merge 11 commits into
mainfrom
kai/owlv2-upload
Open

mkaic wants to merge 11 commits into
mainfrom
kai/owlv2-upload

Conversation

@mkaic

@mkaic mkaic commented Oct 27, 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 77
Moving or rearranging existing logic 0
Tests 96
Documentation 81
Generated file / lockfile churn 0

Description

Standard OWLv2 uploads require only the weights. Add ordered labels to set defaults for image-only requests in Auto Label and Workflows. Both forms accept explicit text queries on the local v2 server under the uploaded model ID. The SDK packages the checkpoint without loading it.

Companion PRs: inference #3288, roboflow-train #981, roboflow #18540.

Type of change

  • New feature

How has this change been tested?

The previous two-file upload completed in staging. Ruff and diff checks passed for this update. The weights-only round trip awaits staging validation.

Any specific deployment considerations

Kai handles releases. Release this SDK change after the platform, rflm exporter, and inference runtime are available. The Publish WorkFlow GitHub Action runs when a release is published. No release or deployment was triggered.

Docs

The upload example and required files are documented in docs/owlv2-upload.md.

Co-authored-by: OpenAI Codex <codex@openai.com>
mkaic and others added 3 commits October 27, 2026 12:00
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>

mkaic commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

/jarbas review

mkaic and others added 4 commits October 27, 2026 16:09
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
@mkaic
mkaic marked this pull request as ready for review October 29, 2026 03:19
mkaic and others added 3 commits November 9, 2026 12:10
Co-authored-by: OpenAI Codex <codex@openai.com>
The export job validates OWLv2 metadata, because uploads can bypass the SDK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The export job stays the authority on OWLv2 uploads. But it reports a
failure only on the model document, which the SDK does not poll. A doomed
upload therefore looked successful after a multi-gigabyte transfer.

The SDK now repeats the file-set rules only: prompts need labels, a
tokenizer override must be complete, and an upload to a dataset version
needs class_names.txt. File contents are still validated by the export
job alone.

Co-Authored-By: Claude <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant