Skip to content

Mysterious CPU argument #53

Open
Open

Description

@Viibrant

Hey,

Nice project. I wanted to get using it however there seems to be a hard requirement upon CUDA.

Fortunately, from the README:

DocumentExtractor(
    api_key: str = None,              # API key for 10k docs/month (or use 'docstrange login' for same limits)
    model: str = None,                # Model for cloud processing ("gemini", "openapi", "nanonets")
    cpu: bool = False,                # Force local CPU processing
    gpu: bool = False                 # Force local GPU processing
)

Except that doesn't work, and I don't see that in the source anywhere...

What is going on here? Your README seems heavily generated as is. Not a great look

Activity

  1. linear commented on Feb 24, 2026

    @linear
  2. habeeba01 commented on May 15, 2026

    @habeeba01

    same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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