update status of offline tests.

This commit is contained in:
Lucas Winther
2026-07-10 04:22:40 +02:00
parent a7e46be474
commit 3be6721d46
+15
View File
@@ -37,6 +37,8 @@ the serve paths in `src/index.ts`.
5. Installability: the browser should offer an install icon in the address bar
(manifest + SW + icons). Optional: install and confirm standalone display.
Result: Passed
## 2. Load a model once (online)
1. Select a model (tiny.en is fastest) and let it load fully.
@@ -50,6 +52,15 @@ the serve paths in `src/index.ts`.
3. The model now shows the **"available offline"** badge in ModelPicker, and
the status line switches to "Offline ready — …".
Result: Works with WebGPU, however there was a WASM problem:
When trying to run Whisper Tiny with Backend = WASM (CPU):
```
Can't create a session. ERROR_CODE: 1, ERROR_MESSAGE: qdq_actions.cc:137
TransposeDQWeightsForMatMulNBits Missing required scale:
model.decoder.embed_tokens.weight_merged_0_scale for node:
model.decoder.embed_tokens.weight_transposed_DequantizeLinear
```
## 3. Go offline and transcribe
1. DevTools → Network → throttling **Offline** (or OS airplane mode — stronger,
@@ -68,6 +79,8 @@ the serve paths in `src/index.ts`.
5. Still offline, confirm a **not**-downloaded model fails gracefully (error
surfaced, app usable) rather than hanging.
Result: Works.
## 4. Update flow (toast)
1. Back online, with the old tab still open: make any visible change (e.g.
@@ -83,6 +96,8 @@ the serve paths in `src/index.ts`.
while `transformers-cache` is left intact (model still "available
offline").
Result: Works
## Recording the result
When this passes in a real browser, flip the `[~]` offline-verification item