Run WASM sessions at the default graph optimization level now that ort-web 1.31 loads the 8-bit decoders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9f1d58c0b7
commit
cc8e031d6b
6 files changed
+70
-11
No files matched your search
@@ -98,12 +98,12 @@ onnxruntime-node 1.30.0), bun:test.
|
||||
|
||||
**Files:** `docs/Decisions.md`; `src/worker/inference.worker.ts` only if the outcome is "drop".
|
||||
|
||||
- [ ] **Step 1: Measure** (`/tmp/ws1/d014.ts`): `globalThis[Symbol.for("onnxruntime")] =
|
||||
- [x] **Step 1: Measure** (`/tmp/ws1/d014.ts`): `globalThis[Symbol.for("onnxruntime")] =
|
||||
await import("onnxruntime-web")` before importing transformers, wasm EP, 1 thread; for
|
||||
`onnx-community/whisper-tiny` `decoder_model_merged_quantized.onnx` create a session at
|
||||
`disabled/basic/extended/all`; record success/error. If all load: transcribe `en_aiproblem` with
|
||||
tiny.en q8 at `basic` vs default (`all`), 3 warm runs each, wall-clock + text identity.
|
||||
- [ ] **Step 2:** If default fails → keep, `D-WS1c` "still needed on ort-web 1.31.0-dev". If it
|
||||
- [x] **Step 2:** If default fails → keep, `D-WS1c` "still needed on ort-web 1.31.0-dev". If it
|
||||
loads and is not slower → remove the override (worker comment cites D-WS1c), run a q8 transcribe
|
||||
again through the harness with the worker's new options. Commit.
|
||||
|
||||
|
||||
Reference in new issue
Block a user