Commit 8a5870f
committed
refactor(cli): remove onnxruntime-web dependency
Use custom-built ONNX Runtime from packages/onnxruntime instead of npm package.
- Update type import in minilm-inference.mts to use local build
- Remove onnxruntime-web from dependencies
- Update lockfile
The extraction script now reads from packages/onnxruntime/build/wasm/ which
is built from source with WASM_ASYNC_COMPILATION=0 for synchronous loading.1 parent 9ce1220 commit 8a5870f
File tree
3 files changed
+3
-116
lines changed- packages/cli
- src/utils
3 files changed
+3
-116
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
186 | 185 | | |
187 | 186 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments