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: 2 comments 8 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.
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).