Get the latest tech news

20x Faster Background Removal in the Browser Using ONNX Runtime with WebGPU


Achieve 20x Faster Background Removal in the Browser

Most state-of-the-art background removal solutions work by offloading the task to the server with a GPU as it was simply infeasible to run the NN on the client. WebGPU is a modern web API that enables developers to utilize GPU power for high-performance computations, offering a significant performance boost over CPU-based in-browser machine learning. Leveraging the fp16 model compression, we re-ran the benchmarks and got similar results as before, but with half the bandwidth required to download the network for the first time application.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of browser

browser

Photo of webgpu

webgpu

Photo of onnx runtime

onnx runtime

Related news:

News photo

What Happens When You Put a Database in the Browser?

News photo

Opera is adding Google's Gemini AI to its browser

News photo

CADmium: A local-first CAD program built for the browser