Large batches freeze page at "Preparing... One-time setup: 98%"
Large batches freeze page at "Preparing... One-time setup: 98%"
What happens: Pressing Generate with batch ≥ 16 freezes the whole page for ~10–30s on mobile (can't scroll, dropped FPS, browser battery use jumps ~×10). Every card sits at "Preparing... / One-time setup: 98%" (screenshot attached). image Repro: Open any image generator — happens on the official ai-text-to-image-generator too, so it's not generator-specific. Leave the page idle for a while. Press Generate with a large batch (16). Pattern: Spamming Generate back-to-back stays smooth; the freeze comes back after the page sits idle. First 1–2 batches are worst, matching a cold cache. Technical note for the devs: the 98% display is asymptotic — the embed's setup-phase formula (90 + 9*(1-e^(-t/3s))) parks at 98% until setup truly completes, so all cards at 98% means 16 concurrent text-encoder setups (the new client-side prompt encoding in the embed: /text-encoder/client.js + multi-MB download) contending on the main thread. The download beacon in the embed code even says "once per download, not per embed", so per-page sharing seems to have been the intent. Possibly also interacts with the ticket flow — the stall appeared after a recent official update. Multiple users complaints.
Comments (1)