Fail to initialize onnxruntime with 1.21.0 on windows #23971
-
After the update to
while I do have the latest VC++ redistributables maybe related to #23957? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 19 replies
-
It's broken for me too, it's failing on GitHub Actions' default Windows runner - https://github.com/oracle/tribuo/actions/runs/13768367698/job/38500483425?pr=396. Unfortunately I don't know what Windows build system changes happened for this release, but something is different. |
Beta Was this translation helpful? Give feedback.
-
Add this powershell script to your action: Get-ChildItem -Path $env:AGENT_TOOLSDIRECTORY -File -Include msvcp*.dll,concrt*.dll,vccorlib*.dll,vcruntime*.dll -Recurse | Remove-Item -Force -Verbose |
Beta Was this translation helpful? Give feedback.
-
So has this issue been resolved in 1.22, or do you have to manually update your JVM? |
Beta Was this translation helpful? Give feedback.
-
Does anyone know which JDK distribution works with onnxruntime 1.22.0? |
Beta Was this translation helpful? Give feedback.
For Oracle JVMs, yes. Because it comes with MSVC runtime 14.36. Even there was no crash issues with the previous ORT release(1.20), it was not expected to work(it had undefined behavior).