Re:Show HN: Apple's Sharp Running in the Browser via ONNX Ru...
by jeroenhd on Sunday May 03, 2026 @11:12AM
(#47997752)
What are the requirements for running this? Chrome throws a whole bunch of "out of memory" errors into the console when I try to execute these. I'm guessing 4GiB of VRAM is not enough?
[ Parent
| on HN ]
Re:Show HN: Apple's Sharp Running in the Browser via ONNX Ru...
by bring-shrubbery on Sunday May 03, 2026 @01:11PM
(#47999073)
Ahh, yeah I forgot to mention it. The model is 2.5gb so I assume you'd need at least free 3gb with all the surroudning stuff, with the rest of your system using more ram I'd guess 4gb is way too low - maybe even 8gb would be in some occasions.
I personally tested it on 32gb Apple M2, and it's able to run much heavier stuff.
Re:Show HN: Apple's Sharp Running in the Browser via ONNX Ru...
by jeroenhd on Monday May 04, 2026 @04:55AM
(#48006198)
My laptop's GPU has 4GiB of VRAM but it still failed to allocate enough memory. Seems like I'll have to pass on demos like these until someone figures out a way to use less (V)RAM to accomplish these kinds of things.