Add site definition worker inference
This commit is contained in:
parent
134157bc71
commit
3ccdaaf953
17 changed files with 250 additions and 50 deletions
|
|
@ -57,7 +57,9 @@ Transformers.js / ONNX Runtime Web
|
|||
WASM CPU
|
||||
```
|
||||
|
||||
WebGPU inference may be investigated later, but CPU/WASM should be preferred initially to maximize browser compatibility and avoid unnecessary GPU utilization.
|
||||
CPU/WASM is used for browser compatibility and to avoid unnecessary GPU utilization.
|
||||
|
||||
CPU WASM inference uses ONNX Runtime's browser-selected defaults.
|
||||
|
||||
## Site Integration
|
||||
|
||||
|
|
@ -314,7 +316,6 @@ Downloading the model separately may substantially reduce extension package size
|
|||
Possible later improvements include:
|
||||
|
||||
* Additional supported websites.
|
||||
* WebGPU acceleration.
|
||||
* Improved batching and scheduling.
|
||||
* Persistent classification cache.
|
||||
* Per-site thresholds.
|
||||
|
|
|
|||
Loading…
Reference in a new issue