Skip to content

feat(rocmdoc): migrate to ROCmDoc v2 standard (central ccd466e) - #66

Draft
AIwork4me wants to merge 8 commits into
mainfrom
feat/rocmdoc-standard-v2
Draft

feat(rocmdoc): migrate to ROCmDoc v2 standard (central ccd466e)#66
AIwork4me wants to merge 8 commits into
mainfrom
feat/rocmdoc-standard-v2

Conversation

@AIwork4me

Copy link
Copy Markdown
Owner

What

Migrate Unlimited-OCR-ROCm to central ROCmDoc v2, locked to ccd466e. torch/torchvision/torchaudio/transformers moved core → [backend] extra (version/capabilities/doctor now run without torch); standard subcommands added with legacy flat-CLI (--pdf/--image-dir) + --version retained; NOTICE + REPRO.yaml + PATCHES.md created (vLLM patch governance); main now returns int.

Conformance

structural CONFORMANT · base/runtime-core PASS · benchmark-v16 PASS(fixture) · reproducible-score FAIL (no platform evidence — honest) · pytest 229 passed.
Primary: pytorch-fast/linux-rocm 92.451 (submitted, 4-GPU). v1 overall=null explained.

Status: DRAFT (WIP)

  • No committed platform metric_result/provenance → reproducible-score fails by design until a real platform score/publish.
  • vLLM/ROCm serving = 22.3 (failing, forward-pass numerics); Baidu paper 93.92 is external only.

No GPU run; no score altered. Note: 4 user-modified scripts/*.sh left untouched (not in this PR).

🤖 Generated with Claude Code

AIwork4me and others added 3 commits July 21, 2026 12:59
- adapter/run_adapter.py: platform adapter (smoke + SGLang backends)
- eval/configs/omnidocbench_v16.yaml: scoring config
- model_card.json: platform model card
- README.md: 5 conformance sections (Install, Demo, Evaluation, Reproducibility, Known Gaps)
- README.zh-CN.md: Chinese translation
- pyproject.toml: add omnidocbench-rocm platform extra

Gates: CONFORMANT
Add v2 conformance surface: rocmdoc.yaml, model_card_v2.json,
.rocmdoc/spec-lock.json, standard CLI (version/capabilities/doctor --json/parse,
central exit codes 0/1/2/3/4/5), NOTICE/REPRO/PATCHES, migrations +
benchmark-context, deterministic README results block, contract tests.
model_card.json stays v1 (central check_repo requires schema_version:const 1).
Locked to central commit ccd466ef317fd6a710131db3a19ec9d55a65ce2e.
No GPU run; no assurance raised; no historical result altered.

Co-Authored-By: Claude <noreply@anthropic.com>
- producer_assurance + run_spec/run_spec_hash + comparison_track_id per result;
  pytorch-fast (full) and vllm (canary) are distinct tracks (full vs canary)
- licenses split: code MIT / model unknown (Baidu Unlimited-OCR weights are NOT
  MIT — corrected from a false open-source-ai; weights license unverified)
- spec-lock -> central 4556ee1. Tests: 229 pass. No public valid score without
canonical evidence; platform_review stays not-reviewed.

Co-Authored-By: Claude <noreply@anthropic.com>
@AIwork4me
AIwork4me changed the base branch from feat/p1-platform-contract to main July 31, 2026 11:55
AIwork4me and others added 5 commits July 31, 2026 15:42
Re-point .rocmdoc/spec-lock.json to frozen ROCmDoc 1.0 central contract (17b5d65652ddab342a1abedad487d90ec2c4393f, PR AIwork4me/OmniDocBench-ROCm#31). Fix schema typos table_tides_percent -> table_teds_percent and table_tides_structure_only_percent -> table_teds_structure_only_percent (canonical per artifact-schema.json:98; values unchanged; result_ids unchanged). PyTorch-fast 92.451 remains primary (submitted); vLLM 22.3 remains non-primary/non-supported failing measurement (honestly flagged).

Verified: CONFORMANT; MANIFEST VALID; README drift OK; 229 passed/3 skipped. Phase-3 subagent review: CLEAN. Stage ONLY spec-lock + card (4 pre-existing modified scripts/*.sh are user env-work, explicitly excluded).

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

The prior ruff-format commit used 'git add -A' and included 18 unrelated pre-existing working-tree edits (scripts/*.sh, docs/superpowers/plans|specs/*.md, docs/upstream, examples/README.md). This reverts non-.py paths to 38104be so the PR carries only the 3 legitimate ruff-format .py changes. The WIP is preserved as uncommitted working-tree changes (restored separately).

Co-Authored-By: Claude <noreply@anthropic.com>
…lock CI)

Co-Authored-By: Claude <noreply@anthropic.com>
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