Skip to content

fix: Pin onnx versions to builds that don't require rare dlls #7107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

brandonrising
Copy link
Contributor

Summary

On current main, many users are experiencing the following error while trying to run the app.

ImportError: DLL load failed while importing onnx_cpp2py_export

According to this issue on the onnx github, as well as various other issue reports, it seems like more recent versions of onnx require a dll that many users don't have on windows machines. I will call out that it does work on my personal windows machine with the latest onnx build, but I suspect it requires ddls received from the latest visual studio tools installation, which many users will not have installed.

To remedy this in the short term, this PR fixes the versions to versions of onnx that are known to work when receiving the above error.

Related Issues / Discussions

https://discord.com/channels/1020123559063990373/1293975018082144287

QA Instructions

If experiencing the above error on 5.1.1, attempt to start the app with these onnx packages installed

Merge Plan

Can be merged when tested and approved.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added Root python-deps PRs that change python dependencies labels Oct 11, 2024
@brandonrising brandonrising force-pushed the brandon/fix-onnx-versions branch from 84d9276 to 5212a5b Compare October 12, 2024 14:25
@brandonrising brandonrising enabled auto-merge (rebase) October 12, 2024 14:25
@brandonrising brandonrising merged commit 3da8076 into main Oct 12, 2024
14 checks passed
@brandonrising brandonrising deleted the brandon/fix-onnx-versions branch October 12, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python-deps PRs that change python dependencies Root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants