Skip to content

[BUG: Breaking] Marker is 20x+ slower since v1.9.0+ in Mac #960

@axsaucedo

Description

@axsaucedo

🧨 Describe the Bug

Marker is at least 20x slower in Mac since since version v1.9.0.

If using Marker on a mac install pip install marker==1.8.0 as the fix.

📄 Input Document

This works with any PDF when run in Mac with M1+ chip.

📤 Output Trace / Stack Trace

It may be due to this warning (but may not be the case):

2025-12-13 15:17:09,820 [WARNING] surya: `TableRecEncoderDecoderModel` is not compatible with mps backend. Defaulting to cpu instead

⚙️ Environment

Please fill in all relevant details:

  • Marker version: Any version 1.9.0+
  • Operating System: Mac

✅ Expected Behavior

What did you expect Marker to do?

Not be 20x slower in newer versions.

📟 Command or Code Used

Any command works. Here's an example:

marker --output_dir ./output/ ./

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: breakingCrashes, errors, anything that stops execution or is runtime-breaking

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions