update status of offline tests.
This commit is contained in:
@@ -37,6 +37,8 @@ the serve paths in `src/index.ts`.
|
|||||||
5. Installability: the browser should offer an install icon in the address bar
|
5. Installability: the browser should offer an install icon in the address bar
|
||||||
(manifest + SW + icons). Optional: install and confirm standalone display.
|
(manifest + SW + icons). Optional: install and confirm standalone display.
|
||||||
|
|
||||||
|
Result: Passed
|
||||||
|
|
||||||
## 2. Load a model once (online)
|
## 2. Load a model once (online)
|
||||||
|
|
||||||
1. Select a model (tiny.en is fastest) and let it load fully.
|
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
|
3. The model now shows the **"available offline"** badge in ModelPicker, and
|
||||||
the status line switches to "Offline ready — …".
|
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
|
## 3. Go offline and transcribe
|
||||||
|
|
||||||
1. DevTools → Network → throttling **Offline** (or OS airplane mode — stronger,
|
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
|
5. Still offline, confirm a **not**-downloaded model fails gracefully (error
|
||||||
surfaced, app usable) rather than hanging.
|
surfaced, app usable) rather than hanging.
|
||||||
|
|
||||||
|
Result: Works.
|
||||||
|
|
||||||
## 4. Update flow (toast)
|
## 4. Update flow (toast)
|
||||||
|
|
||||||
1. Back online, with the old tab still open: make any visible change (e.g.
|
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
|
while `transformers-cache` is left intact (model still "available
|
||||||
offline").
|
offline").
|
||||||
|
|
||||||
|
Result: Works
|
||||||
|
|
||||||
## Recording the result
|
## Recording the result
|
||||||
|
|
||||||
When this passes in a real browser, flip the `[~]` offline-verification item
|
When this passes in a real browser, flip the `[~]` offline-verification item
|
||||||
|
|||||||
Reference in New Issue
Block a user