diff --git a/tests/offline.md b/tests/offline.md index 01500d7..3af2fc6 100644 --- a/tests/offline.md +++ b/tests/offline.md @@ -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