Skip to content

Commit f0d825b

Browse files
committed
fix(deps): bump onnxruntime-node to 1.23.0 to fix broken Linux CUDA install
onnxruntime-node@1.22.0's script/install-metadata.js maps the linux/x64:cuda12 manifest to runtimes/win-x64/native/*.so instead of runtimes/linux-x64/native/*.so, so `npm install` on any Linux/x64 box downloads the Microsoft.ML.OnnxRuntime.Gpu.Linux NuGet package and then fails looking for Windows paths inside it: Error: Failed to find runtimes/win-x64/native/libonnxruntime_providers_cuda.so in NuGet package This is an upstream packaging bug, fixed in onnxruntime-node@1.23.0 (the manifest paths were corrected to runtimes/linux-x64/native/...). Bumping both the pinned dependency and the matching `overrides` entry keeps the existing single-resolved-version guarantee; onnxruntime-common is bumped alongside it since 1.23.0 requires it in lockstep. The two packages' public .d.ts (index/binding) are byte-identical between 1.22.0 and 1.23.0 — only the version string differs — so this is a drop-in upgrade for the rest of the codebase. Fixes #408
1 parent 218c875 commit f0d825b

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@
333333
"lucide-react": "^0.460.0",
334334
"mammoth": "^1.11.0",
335335
"marked": "^18.0.4",
336-
"onnxruntime-common": "1.22.0",
337-
"onnxruntime-node": "1.22.0",
336+
"onnxruntime-common": "1.23.0",
337+
"onnxruntime-node": "1.23.0",
338338
"openai": "^6.22.0",
339339
"pdf-parse": "2.4.5",
340340
"qrcode": "^1.5.4",
@@ -365,7 +365,7 @@
365365
"sqlite-vec-windows-x64": "^0.1.7-alpha.2"
366366
},
367367
"overrides": {
368-
"onnxruntime-node": "1.22.0",
368+
"onnxruntime-node": "1.23.0",
369369
"react-reconciler": {
370370
"react": "$react"
371371
}

0 commit comments

Comments
 (0)