ONNX Runtime Web
The browser-targeted variant of ONNX Runtime, Microsoft's cross-platform inference engine. It supports direct loading of standard ONNX-format models and is used for deploying AI inference workloads on the web client side.
Core Facts
ONNX Runtime Web compiles the ONNX runtime to WebAssembly to enable cross-platform model inference; ONNX was jointly introduced by Microsoft and Facebook.
Transformers.js is a JavaScript library developed by Hugging Face that, based on WebAssembly and WebGPU technology, ports Transformer model inference to browser environments.
ONNX Runtime Web is the browser version of Microsoft's cross-platform inference engine, capable of directly loading standard ONNX format models
Timeline (last 90 days)
Running models in edge functions such as Cloudflare Workers requires conversion to WebAssembly or ONNX Runtime Web format, and may require quantization or distillation into lightweight versions.
The entire physics simulation and policy inference run in the browser using the official MuJoCo WebAssembly build, ONNX Runtime Web, and three.js, with no server required.
DuckSpace.org combines the MuJoCo physics engine with ONNX Runtime Web and runs in the browser at 50Hz.
For turn-based card games like Cabo, a single inference involves only a small number of matrix operations, and frontend latency is typically in the millisecond range, fully meeting the needs of real-time matches.
WASM后端1.6 tokens/s的低性能部分是因为页面未启用跨源隔离,导致ONNX Runtime Web使用单线程执行。
Transformers.js底层使用ONNX Runtime Web,模型需要转为ONNX格式并量化,4-bit量化的1B模型大小约1.2GB而非5GB。
TaskProof's optional AI component uses the FLAN-T5 Small model, running inside a browser Web Worker via Transformers.js and ONNX Runtime Web, and its role is limited to summarizing possible deliverables, asking one question for the buyer, and drafting one opening line.
With the maturation of technologies such as WebGPU and ONNX Runtime Web, running small language models in the browser is becoming a reality.
By compiling a machine learning inference engine (such as ONNX Runtime Web or Transformers.js) into a Wasm module and loading quantized model weights, image inference can be completed locally on the user's device, with photos never leaving the local device.
Talus is exported in ONNX format with weights stored in fp16 and converted back to fp32 on load, runs on WebGPU via ONNX Runtime Web, generates one map in approximately 3 seconds on an RTX 5060, and provides a CPU fallback.
1 more timeline events
All Facts (16)
ONNX Runtime Web compiles the ONNX runtime to WebAssembly to enable cross-platform model inference; ONNX was jointly introduced by Microsoft and Facebook.
80%VerifiedTransformers.js is a JavaScript library developed by Hugging Face that, based on WebAssembly and WebGPU technology, ports Transformer model inference to browser environments.
80%VerifiedONNX Runtime Web is the browser version of Microsoft's cross-platform inference engine, capable of directly loading standard ONNX format models
65%UnverifiedWebAssembly and WebGPU are two primary technical paths for in-browser AI inference, and frameworks such as ONNX Runtime Web and TensorFlow.js already support both approaches.
60%UnverifiedBrowser-side automatic background removal mainly relies on WebAssembly and browser-based machine learning frameworks such as TensorFlow.js or ONNX Runtime Web to load pre-trained image segmentation models.
60%UnverifiedRunning models in edge functions such as Cloudflare Workers requires conversion to WebAssembly or ONNX Runtime Web format, and may require quantization or distillation into lightweight versions.
50%UnverifiedThe entire physics simulation and policy inference run in the browser using the official MuJoCo WebAssembly build, ONNX Runtime Web, and three.js, with no server required.
50%UnverifiedDuckSpace.org combines the MuJoCo physics engine with ONNX Runtime Web and runs in the browser at 50Hz.
50%UnverifiedFor turn-based card games like Cabo, a single inference involves only a small number of matrix operations, and frontend latency is typically in the millisecond range, fully meeting the needs of real-time matches.
50%UnverifiedTransformers.js底层使用ONNX Runtime Web,模型需要转为ONNX格式并量化,4-bit量化的1B模型大小约1.2GB而非5GB。
50%UnverifiedWASM后端1.6 tokens/s的低性能部分是因为页面未启用跨源隔离,导致ONNX Runtime Web使用单线程执行。
50%UnverifiedTaskProof's optional AI component uses the FLAN-T5 Small model, running inside a browser Web Worker via Transformers.js and ONNX Runtime Web, and its role is limited to summarizing possible deliverables, asking one question for the buyer, and drafting one opening line.
50%UnverifiedBy compiling a machine learning inference engine (such as ONNX Runtime Web or Transformers.js) into a Wasm module and loading quantized model weights, image inference can be completed locally on the user's device, with photos never leaving the local device.
50%UnverifiedTalus is exported in ONNX format with weights stored in fp16 and converted back to fp32 on load, runs on WebGPU via ONNX Runtime Web, generates one map in approximately 3 seconds on an RTX 5060, and provides a CPU fallback.
50%UnverifiedModern browsers' Web Speech API provides a native speech recognition interface, and technologies such as WebGPU and ONNX Runtime Web allow lightweight neural network models to run directly in the browser.
50%UnverifiedWith the maturation of technologies such as WebGPU and ONNX Runtime Web, running small language models in the browser is becoming a reality.
50%