ONNX Runtime Web fixes its thread count once per page, so our timeout retry had to start a new Worker
Our background remover runs a BiRefNet model in the browser with ONNX Runtime Web 1.27 on the WASM backend. Multithreaded WASM is the fast path when the page can have it. Sometimes it can't: the worker script gets blocked somewhere on the network, or session creation just hangs. The obvious fix is…
Read the full story at DEV Community — Machine Learning ↗
Timeline · 1 report
- 2026-10-27 02:35 · DEV Community — Machine Learning
ONNX Runtime Web fixes its thread count once per page, so our timeout retry had to start a new Worker