{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "somarkai-oxr--host-oxr-parsing-api-with-docker",
 "repo": "SoMarkAI/OXR",
 "repo_url": "https://github.com/SoMarkAI/OXR",
 "repo_slug": "somarkai-oxr",
 "title": "Host a private OXR parsing API on your own GPU",
 "page_title": "How to host a private OXR parsing API on your own GPU with OXR",
 "summary": "Run the OXR parsing service in Docker so your documents stay on your own hardware.",
 "who": "An engineering team with an NVIDIA GPU server that needs document parsing behind its own network.",
 "problem": "Sending internal documents to a public demo API is not acceptable, and the free API is not for production.",
 "outcome": "A local parsing API on port 8000 with a demo page and API docs, usable by your internal tools.",
 "steps": [
  "`git clone https://github.com/SoMarkAI/OXR.git`",
  "`hf download SoMarkAI/OXR-1.0 --local-dir ./models/OXR-1.0`",
  "`docker build -f docker/Dockerfile.allinone -t oxr-1.0 .`",
  "`docker run --rm --gpus all --ipc=host -p 127.0.0.1:8000:8000 -v \"$PWD/models/OXR-1.0:/models/oxr-model:ro\" oxr-1.0` (inferred, check the README)",
  "Open http://localhost:8000/docs once the startup logs show the services are ready, then send a file to /v1/parse/sync."
 ],
 "agent_prompt": "Using the OXR repo at https://github.com/SoMarkAI/OXR, download the OXR-1.0 weights, build the allinone Docker image, and start it on port 8000. Verify that http://localhost:8000/docs loads, then parse <path-to-document.pdf> via POST to /v1/parse/sync and save the returned Markdown.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "90 minutes",
 "basis": "readme",
 "caveat": "The README lists 24GB of GPU memory as the minimum for low-concurrency testing and recommends 48GB or more for long documents, and the first startup may take longer than usual.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "A PDF or document image to parse",
  "Python 3.12 or Node.js for the SoMark CLI, or Docker for a local service",
  "For local hosting: Linux, an NVIDIA GPU with BF16 support, and 24GB or more of GPU memory"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/somarkai-oxr/host-oxr-parsing-api-with-docker/",
 "md": "https://dedupedai.com/use-cases/somarkai-oxr/host-oxr-parsing-api-with-docker/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/somarkai-oxr--host-oxr-parsing-api-with-docker.json",
 "api_version": "v1"
}
