Simon Willison describes porting the Moebius 0.2B image inpainting model to run entirely in the browser using ONNX Runtime Web and WebGPU, with Claude Code doing virtually all the coding work. Starting from a PyTorch/CUDA-only model, Claude Code converted the weights to ONNX format, published them to Hugging Face, and built a web UI hosted on GitHub Pages. Key findings: Claude Opus 4.8 can autonomously handle PyTorch-to-ONNX conversion and full web app deployment; Chrome, Firefox, and Safari all support running this model; and the CacheStorage API can handle ~1.3GB model files for browser-side caching. The author used a parallel-agent workflow, running Claude Code on this side project while Codex Desktop worked on a separate main project.
7.4K Impressions