Commit f0d825b
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 #4081 parent 218c875 commit f0d825b
2 files changed
Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | | - | |
| 336 | + | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
0 commit comments