Skip to content

fix: add PP-DocLayout-L/M/S/plus-L to MKLDNN_BLOCKLIST - #1

Open
biqiliu wants to merge 1 commit into
release/3.7from
biqiliu-patch-1
Open

biqiliu wants to merge 1 commit into
release/3.7from
biqiliu-patch-1

Conversation

@biqiliu

@biqiliu biqiliu commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Fixes PaddlePaddle#5231

What this does

Adds four missing model names — PP-DocLayout-L, PP-DocLayout-M, PP-DocLayout-S, PP-DocLayout_plus-L — to MKLDNN_BLOCKLIST in paddlex/inference/models/runners/paddle_static/config/blocklists.py.

Why

PP-DocLayoutV2 and PP-DocLayoutV3 are already in the blocklist, but the older PP-DocLayout-L/M/S/plus-L family was omitted. On CPU with Paddle 3.3.1, the PIR→oneDNN converter crashes on these models with:

NotImplementedError: ConvertPirAttribute2RuntimeAttribute not support [pir::ArrayAttribute<pir::DoubleAttribute>]

The crash is silently swallowed by PPStructureV3, which falls back to PP-OCRv4 while the user thinks layout detection is still running.

Adding these four entries matches the existing blocklist entries for the same model family and prevents the CPU crash.

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.

[Bug] PP-DocLayout-{L,M,S,_plus-L} 在 CPU 上崩溃:MKLDNN_BLOCKLIST 漏登记该族模型,PPStructureV3 静默回退

1 participant