Skip to content

feat(models): port PaddleOCR-VL (NaViT dynamic-resolution vision + ERNIE-4.5 text) #526

Closed

Description

@inureyes

Summary

Add PaddleOCR-VL support: a NaViT-style dynamic-resolution vision encoder paired with an ERNIE-4.5-based lightweight text decoder for OCR. mlxcel has the ERNIE-4.5 text family but not the PaddleOCR-VL vision encoder/processor (grep for paddle across the repo returns nothing).

In-tree reuse

  • Text side: src/models/ernie4_5.rs / src/models/ernie4_5_moe.rs.

Scope

  • Add ModelType::PaddleOcrVL + detection.rs arm (paddleocr_vl).
  • New NaViT dynamic-resolution vision encoder + OCR-specific processor + connector.
  • Register + docs/supported-models.md + tests + validate on a real checkpoint.

Effort: medium.

Follow-up (filed separately, linked to this issue)

  • PaddleOCR-VL vision fast paths (perf).

Activity

  1. added
    type:enhancement
    status:ready
    priority:medium
    area:models
    status:in-progress
    status:review
    status:done
    and removed
    status:ready
    status:in-progress
    status:review
    on Jul 1, 2026
  2. self-assigned this
    on Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:modelspriority:mediumstatus:donetype:enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions