Repository navigation
DocCloak 0.18.1
One fix, for Safari. Built on @doccloak/core 0.18.1.
Safari no longer needs gigabytes of memory for a model. In Safari the page took about 6 GB as soon as a detection model was loaded and kept growing while a document was analysed; Safari then reloaded the tab when it was in the background ("This web page was reloaded because it was using significant memory"), and a long document was very slow. The cause was the build of the AI runtime the models were loaded with. Models that run on the processor now use the plain build: about 1.2 GB with BardS.ai v3, steady through a long analysis and in a background tab. A model is also ready sooner (0.8 s instead of 5.5 s in Safari).
Nothing changes in what is detected: every model gives the same results as before on our test documents. Chrome and Firefox work as before; in Chrome the page uses a little less memory.
The two models that run on the graphics card (OpenAI Privacy Filter, BardS.ai v3 at full precision) still use the WebGPU build of the runtime.
Not tested for this release: Safari 26, Firefox's memory.