Repository navigation
Commit f5b191d
Leave mobile ONNX runtimes out of the tool package
The tool package grew from 4.8 MB at 1.0.0-beta.4 to 168 MB at
1.0.0-rc.1. ONNX Runtime, added for the semantic reranker (#110), ships
native binaries for iOS and Android next to the desktop and server ones,
and a framework-dependent publish copies them all. Those two files alone
were 114 MB, and the emulator can't run on either platform.
Remove runtimes/ios and runtimes/android from the publish output, which
is what `dotnet pack` packs for a tool. The package is now 55 MB. The
container image loses the same files.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 081985e commit f5b191d
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
53 | 65 | | |
0 commit comments