Skip to content

docs: record vision model scope for non-generative families - #2508

Merged
inureyes merged 2 commits into
lablup:mainfrom
hephaex:docs/vision-scope-524
Oct 21, 2026
Merged

inureyes merged 2 commits into
lablup:mainfrom
hephaex:docs/vision-scope-524

Conversation

@hephaex

@hephaex hephaex commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Records the scope decision for the non-generative vision model families collected in #524 as a single docs page, docs/vision-model-scope.md. Each family gets one disposition with in-tree evidence: supported, re-scoped to an epic and a port issue, or not re-scoped. The page also records the re-scoping criteria so later ports follow the same format. No Rust changes.

Related issues

Closes #524

The issue describes itself as a tracking document, so closing it needs no code. Re-scoping already happened on 2026-10-16: image generation moved to the epic lablup/mlxcel#2348 and dense prediction moved to the epic lablup/mlxcel#2382. This PR records the result in the tree.

Type of change

  • docs — documentation only

Changed modules

  • docs/vision-model-scope.md (new): dispositions for every family in the issue, the error a checkpoint hits on main today, the re-scoping criteria (including the conv weight layout check), and non-goals.
  • docs/README.md: one index entry for the new page.
  • docs/model-triage.md: one sentence linking to the new page.

Dispositions:

  • Supported: rt_detr_v2 (mlxcel detect), florence2, locateanything (the pbd head is a follow-up).
  • Re-scoped to the image generation epic: flux2, z_image, mage_flow, ideogram4, bonsai.
  • Re-scoped to the dense prediction epic: sam3, sam3_1, sam3d_body, rfdetr.
  • Not re-scoped: minimax_h3 (video and audio generation, outside the image runtime) and nemotron_labs_diffusion (text-only, in scope, no port issue yet).

Test plan

Docs-only change; no Rust changed.

  • cargo fmt --all -- --check
  • scripts/ci/check_cross_repo_refs.py with STRICT=1, and scripts/ci/check_cross_repo_refs_test.sh
  • scripts/ci/check_env_var_docs.py
  • scripts/ci/check_binary_assets.py
  • insert_apache_header.py --check
  • Every relative link in the new page resolves under docs/
  • No local paths, secrets or personal notes in the diff
  • Each factual claim checked against the source tree by a read-only review: cited paths and symbols, quoted error strings byte for byte, the three failure outcomes for diffusion checkpoints, and the absence claims (no predict subcommand, no detection arm for the unported families). The review found no CRITICAL, HIGH or MEDIUM issues. The one LOW finding, a wrong description of lablup/mlxcel#1710 and lablup/mlxcel#1829, is fixed in this commit.
  • cargo build, cargo clippy, cargo test --workspace, cargo deny check: not run, no Rust or dependency change.
  • Real-checkpoint validation: not applicable, no inference change.

Unverified items

  • The page says "Last checked against main at 9a6ea266". The read-only claim review ran when the page was based on dea9ceef. The 56 files that changed between dea9ceef and 9a6ea266 were then diffed against every path the page cites (src/models/detection.rs, src/models/registry.rs, src/imagegen/, src/commands/detect.rs, src/main.rs, src/vision/detection/, and the cited docs): none overlap. src/vision/ changed only in encoders/resample_matrix.rs. The subagent re-review on the newer base failed twice on a model error and returned no findings, so the same checks were repeated by hand against the tree at 9a6ea266: the failure outcomes of get_model_type (src/models/detection.rs, the missing config.json path, the null model_type path, model_type not found, Unsupported model type), the image_checkpoint_redirect_error and not supported by this build strings, the empty FAMILIES table, the absence of a detection arm for every unported family, the predict flag alias, every cited file, and the LocateAnything and Florence-2 statements in docs/supported-models.md. All matched. The two later main commits (93e75e95, 048110fe) touch none of the cited paths.
  • The model type strings for sam3, sam3_1, sam3d_body and rfdetr come from the issue text. No detection arm exists to check them against.

Dependent issues

None block this PR. The page links the port issues lablup/mlxcel#2424 through lablup/mlxcel#2432 and the supporting issues lablup/mlxcel#2349 and lablup/mlxcel#2350.

Notes for reviewers

  • nemotron_labs_diffusion and minimax_h3 belong to neither epic and have no port issue. The page records them as not re-scoped. If you want nemotron_labs_diffusion ported, it needs a port issue in the lablup/mlxcel#533 format; the DiffusionGemma runtime is the precedent.
  • nemotron_parse is supported in tree (src/models/detection.rs, lablup/mlxcel#2034) but has no row on the page, because lablup/mlxcel#524 does not list it. A row can be added if the page should cover every seq2seq vision model.
  • Labels cannot be added from this fork. Suggested labels: type:enhancement, priority:low, area:models, status:investigation.

Checklist

  • PR title uses a Conventional Commits prefix
  • One logical change per PR
  • Updated docs/ for the supported-models change
  • No secrets, credentials, or .env files committed

Add docs/vision-model-scope.md, the decision record for the task-specific
vision and generative-media families lablup#524 collected from the
VLM reference. Each family gets one disposition with in-tree evidence:

- Supported: rt_detr_v2 (mlxcel detect), florence2 (seq2seq worker),
  locateanything (autoregressive decode; pbd head is a follow-up).
- Re-scoped: flux2, z_image, mage_flow, ideogram4, bonsai under the image
  generation epic lablup#2348; sam3, sam3_1, sam3d_body and rfdetr
  under the dense-prediction epic lablup#2382, each with its port
  issue and the error a checkpoint hits on main today.
- Not re-scoped: minimax_h3 (video and audio generation, out of scope)
  and nemotron_labs_diffusion (text-only, in scope, no port issue yet).

The page also records the re-scoping criteria, including the conv weight
layout check, and links from docs/README.md and docs/model-triage.md.

Closes lablup#524
…ed against

The page was last checked against dea9cee. Since then main gained eight
commits. None touches src/models/detection.rs, src/imagegen/,
src/commands/detect.rs, src/main.rs, src/models/registry.rs or the docs the
page cites (src/vision/ changed only in the SAM resample matrix), so every
claim still holds at 9a6ea26.
@inureyes inureyes added status:review Under review type:docs Documentation improvements or additions priority:low Low priority area:models Model architectures, weights, loading, metadata labels Oct 21, 2026
@inureyes

Copy link
Copy Markdown
Member

Reviewed PR #2508 against the full #524 discussion, including the October re-scoping decisions. The supported families, empty image-family registry, checkpoint redirects and pending dense-prediction surface match the current source. All families added in the issue comments are covered. No implementation, security or performance changes are needed for this documentation-only record.

Validation: relative documentation links resolve; cross-repository reference checks and their seven self-tests, environment-variable documentation and binary-asset checks pass. GitHub checks pass. The page deliberately records its checked revision; the issue comment mentioning a Nemotron-Parse row is inaccurate, but that family was never in #524's requested list and is documented in supported-models.md.

@inureyes
inureyes merged commit e55ed9f into lablup:main Oct 21, 2026
28 checks passed
@hephaex
hephaex deleted the docs/vision-scope-524 branch October 23, 2026 06:05
@inureyes inureyes added this to the 0.8 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:models Model architectures, weights, loading, metadata priority:low Low priority status:review Under review type:docs Documentation improvements or additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tracking: non-generative vision models present in the VLM reference but out of mlxcel's LLM/VLM-generation scope

2 participants