8000 RuntimeError: operator torchvision::nms does not exist · Issue #699 · datalab-to/marker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
RuntimeError: operator torchvision::nms does not exist #699
Open
@tellsiddh

Description

@tellsiddh

Getting "RuntimeError: operator torchvision::nms does not exist" when running marker_single sample.pdf --output_dir .

Followed the instructions to -
pip install marker-pdf
I was able to resolve the issue by installing these versions of pytorch and torchvision respectively

pip install --no-cache-dir torch==2.2.2 torchvision==0.17.2

Do let me know if this is an issue everyone is facing so I can raise a PR to version lock, or is it only for me?
Tried on
1.
ProductName: macOS
ProductVersion: 15.3.2
BuildVersion: 24D81
Python 3.10.14
pip 25.1.1

Also transformers version 4.51.2 is required since I was getting this error - NameError: name 'Replicate' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0