News for hackers. Stuff that matters.
Re:Show HN: Apple's Sharp Running in the Browser via ONNX Ru... by bring-shrubbery on Sunday May 03, 2026 @05:18AM (#47995061)
Hi HN, author here. SHARP is Apple's recent single-image 3D Gaussian splatting model (https://arxiv.org/abs/2512.10685). Their reference code is PyTorch + a pretty heavy pipeline; I wanted to see if it could run in a browser with no server hop, so I exported the predictor to ONNX and ran it via onnxruntime-web with the WebGPU EP.

What works: drop in an image, get a .ply you can download or preview live, all on your machine — your image never leaves the tab. The model is large (~2.4 GB sidecar) so first load is slow on a cold cache, but inference itself is a few seconds on a recent Mac.

Caveats: SHARP's released weights are research-use only (Apple's model license, not the code's). I host the exported ONNX on R2 so thedemo "just works", but you can also export your own from the upstream Apple repo and upload locally.

Happy to talk about it in the comments :)

Re:Show HN: Apple's Sharp Running in the Browser via ONNX Ru... by zb3 on Sunday May 03, 2026 @11:25AM (#47997877)
Why is it so large? Is it the same model used to create 3D effects on iOS lockscreen?
Re:Show HN: Apple's Sharp Running in the Browser via ONNX Ru... by bring-shrubbery on Sunday May 03, 2026 @01:02PM (#47998940)
I think it's essentially a transformer, so it just stores a bunch of weights. As a model that's supposed to be able to convert any image to 3d scene, it's pretty nice size actually.

Regarding the ios lockscreen - I believe they are different models. I think Apple use this one to generate those Vision Pro 3d photos though, but I'm not too sure.

Re:Show HN: Apple's Sharp Running in the Browser via ONNX Ru... by MattDamonSpace on Sunday May 03, 2026 @02:18PM (#47999783)
No the 3D effects are much more simple for the lock screen…more akin to old-school animation via layers