Writing
Don't load a 6.2 GB model in every browser tab
Running a model in the browser is a good demo. It is a poor architecture once you have more than one lab. My first image labs each loaded the model inside the page, which meant a 6.2 GB model held in every tab that used it.
Model Runner is the fix. It is a small local service that holds models on my Mac and runs them on the GPU outside the browser, using ONNX Runtime's native WebGPU provider. Labs call it over HTTP. The weights are stored once, any browser can use them, and a model unloads after 30 idle minutes.
It hosts model primitives rather than finished features. Today it has two models. Jeveration, the one-pass text-to-image model, exposes logits, decode, count, and generate. MiniT2I compact exposes generate and count. Adding a model means adding one file. A status page lists each model, loads and unloads it, and runs any operation directly.
Why this matters beyond my own machine: the pattern separates the interface from the model. The lab page is free to focus on interaction and accessibility, and the model sits behind a plain HTTP boundary that several labs can share. MiniT2I Lab and the Jeveration labs both run through it.
Limits
This is a single-user local service, not a production server. I do not have a before-and-after timing, or a memory measurement, for moving the model out of the tab.
The labs that call it are on Projects.