blob: 6a57fae8b1f43c4da212f405b6e21f58e8e38aeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# vendored dependencies
- onnxruntime-web 1.14.0 (UMD modules)
- Transformers.js 2.16.1 (patched for gecko)
To build the vendored dependencies, run `./build.sh`.
The Transformers.js patch is required for building Transformers.js
without including the `onnxruntime-web` NPM bundle. It uses
webpack's `externals` feature to include the onnxruntime-web UMD
module and changes the import statement in `backends/onnx.js` to
point to it.
|