Get DeepSeek-OCR running on an NVIDIA Spark with Claude Code
- Source date:
- Last verified:
- Method:
- How we verify
Evidence: Screenshots or logsThe source shows screenshots, a transcript or the agent's output.
Outcome
With four prompts and about 40 minutes, Claude Code figured out the right ARM CUDA PyTorch wheels, got DeepSeek-OCR running on NVIDIA Spark hardware, and OCR'd a test image.
Agent
Prompt Original prompt
Exact prompt as published 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.
Source
https://simonwillison.net/2025/Oct/20/deepseek-ocr-claude-code/
By Simon Willison · Published Oct 20, 2025 · Added Oct 15, 2026 · Last verified Oct 15, 2026
Related cases
- Write and ship a complete Datasette plugin with Claude CodeEvidence: Screenshots or logs
Claude Code (Sonnet 4.5) wrote every line of code and every test for the datasette-os-info plugin with minimal prompting, and the author shipped it.
Claude Code · Coding · Source date:
- Migrate two websites from WordPress to Wagtail with Claude CodeRecreated promptEvidence: Described by poster
Over a weekend Claude Code migrated two sites from WordPress to Wagtail (PHP to Python), including server setup, data transfer, testing and fixes, and redesigned a homepage; the poster reports nothing broke and traffic and tools stayed in place.
Claude Code · Coding · Source date:
- Migrate a 50-screen app from Firebase to Supabase with Claude CodeRecreated promptEvidence: Described by poster
Going feature by feature, the poster used Claude Code to generate database schemas, write queries and fix daily errors; they report migrating about 85% of a 45–50 screen Flutter app from Firebase to Supabase in 10–20 days.
Poster says:~85% migrated in 10–20 days
Claude Code · Coding · Source date: