GPU Loss and Recovery v3

Safari on iOS 27 kills WebGPU work that runs too long, and then may refuse to hand the page a GPU again. This page finds the time limit, checks whether splitting work into small pieces avoids it, and records exactly what the browser says when the GPU is lost and how long until it gives one back. Nothing leaves the phone unless you share the log.

Results

Tests

1. Find the time limit

Runs one long GPU job of 0.5 s, 1 s, 1.25 s, … up to 10 s until the GPU is lost, and checks each job's answer to make sure the GPU really did the work.

2. Does chunking help?

6 s of work as 60 pieces of 0.1 s: one submit each (waited for), then all in one submit, then all submitted at once without waiting.

3. Kill it now

One 15 s job. Use this to test recovery without finding the limit first.

Control: destroy the device

Loses the GPU on purpose (no hang), to compare recovery after a normal loss.

4. How long is the lockout?

Loses the GPU the bad way (queued work), then waits without asking at all, asks once, and reloads. Starts at a 10 s wait, goes to 30 s, 90 s… if that fails, or shorter if it works, until it pins the lockout down. Runs on its own across reloads; keep the screen on.

Starting…
This device's GPU

Log


  

Comparing how much memory each runtime uses to load a model? Squiggle's memtest page loads real models on WebLLM and wllama (CPU or WebGPU) and measures what's left.