Hacker News new | ask | show | jobs
by jcelerier 18 days ago
If you have Google Chrome or Microsoft edge installed on your computer then you have a few gigabytes of onnx llm (Gemma for chrome, Phi for edge iirc) installed. On my side I use onnx for all local ai on https://ossia.io ; works great.
2 comments

You can use ONNX directly with WebAssembly (Wasm) through the ONNX Runtime Web library (onnxruntime-web). If you use transformer.js [1] then it can load the entire LLM into memory and you can run it from the browser.

Not an LLM, but I had it load the whisper transcriber in a page when I built a podcast timecode logger. [2] I plan to try to get the AI generated podcasts into my MTH120 study notes [3] from Gemini transcribed.

1. https://github.com/huggingface/transformers.js/

2. https://chrissherlock.github.io/mth120/podcast_timecode_logg...

3. https://chrissherlock.github.io/mth120/

Edge does run Phi-4-mini using Chromium's ONNX Runtime, but Chrome uses LiteRT-LM to run Gemini Nano, and doesn't ship it to the browser in ONNX format.