More in Team workflows & setup.
Get DeepSeek-OCR running on an NVIDIA Spark with Claude Code
With four prompts in about 40 minutes, Claude Code got DeepSeek-OCR running on NVIDIA Spark hardware and OCR'd a test image.
Result: WorkedTool: Claude CodeLevel: AdvancedSetup: Needs Docker
Outcome
Simon Willison ran Claude Code with full permissions inside a Docker container on an NVIDIA Spark and asked it to get the new DeepSeek-OCR model working, keep notes and OCR a sample image. After 13 minutes it gave up, reporting that the Spark's GB10 GPU was too new for PyTorch 2.5.1. Willison asked whether other PyTorch versions had ARM CUDA wheels; it then found PyTorch 2.9.0 builds for CUDA 13.0, got past the error, ran the model and returned OCR text with bounding boxes. Four prompts and about 40 minutes in all, much of it while Willison had breakfast, also produced setup scripts, notes and a README.
Evidence: Screenshots or logsThe source shows screenshots, a transcript or the AI's output.
WorkedEvidence: Screenshots or logsPosted Last checked
- Source checked
- Results shared. The poster described their results. This doesn't mean proof is attached.
Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.
How to use this
- Tap Copy prompt.
- Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
- Paste it into the message box.
- Send it, then read the answer before acting on it.
New to this? What's a prompt?
A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.
Prompt
These are the person's own words, as shared in the source.
Your task is to get this working: https://github.com/deepseek-ai/DeepSeek-OCR —it uses Hugging Face Transformers and models from https://huggingface.co/deepseek-ai/DeepSeek-OCR —you are running in a Docker container on an NVIDIA ARM device, first research your environment to check it will be possible to do this. Git clone both of those—you may need to enable LFS first. Make extensive notes as you go in a notes.md file which you should only ever append new notes to. At the end of this you should have scripts in the folder which can be run to both setup and then run the model against an example—use https://static.simonwillison.net/static/2025/ft.jpeg as the example image that you OCR. As a final step create a detailed README.md file explaining the project and what you learned and how to run your code.
Try this in:
Sends the Original prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.
The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.
Opens in a new tab. We don't see what you send.
These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.
Optional stronger version
Our rewrite with extra checks. The poster didn't test it.
Goal: Get DeepSeek-OCR running inside this Docker container on an NVIDIA ARM device and prove it works on a sample image. Inputs (fill in or confirm): - Repo and model links (github.com/deepseek-ai/DeepSeek-OCR, huggingface.co/deepseek-ai/DeepSeek-OCR) - A test image path - Working directory you may write to Rules: - First check the environment: GPU visibility, CUDA version, Python, disk space; report whether it's feasible before installing anything big. - Use a virtual environment and pin versions that match the CUDA/ARM build. - Keep notes in a markdown log of every command and fix as you go. - Prefer official wheels; if you must build from source, say why. Checkpoint: Ask before deleting files outside the working directory or upgrading system drivers. If you get stuck: If a dependency has no ARM build, stop and list options rather than looping on installs. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords. Verify before you finish: Run OCR on the sample image and show the extracted text. Output: The setup log, a run script, and the OCR output. Done when: a single command reproduces working OCR on the sample image.
AI tool
Source
- Posted
- by Simon Willison
- Last checked
- Method:
- How we verify
https://simonwillison.net/2025/Oct/20/deepseek-ocr-claude-code/
Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.
More in Team workflows & setup
Audit a month of running a small business with Claude Code
Claude Code chats ran 579 hours in 25 days; 69% of typed-chat time went on fixing the setup, and added checks didn't cut the faults.
PartialClaude CodeAdvancedView CaseRun Kiro CLI as a sandboxed coding agent for a month
Kiro CLI got 317 pull requests merged in a month inside a sandbox, but 122 others had no changes because questions went through writes.
WorkedKiro CLI +1AdvancedView CaseFix a self-hosted agent that lost its models: Muse vs Hermes
Tun Win Lat asked Muse to restore missing Qwen models; it wrongly said it was fixed three times, and Hermes fixed it in one go.
PartialMuse +1Evidence: Described by posterAdvancedView CaseAutomate defect remediation across C/C++ codebases with Codex CLI
OpenAI's case study says Cisco's Codex CLI defect-repair workflow raised defect resolution throughput 10–15x.
WorkedOpenAI Codex CLIEvidence: Company case studyAdvancedAccording to OpenAI: 10–15x defect resolution throughput
View CaseSpeed up feature delivery by moving a team to Cursor
Security startup Jit moved its engineers from JetBrains to Cursor and, according to the article, delivered features 1.8–3x faster.
WorkedCursorEvidence: Article or interviewAdvancedReported by LeadDev: 1.8x–3x productivity gains
View Case

