-
Notifications
You must be signed in to change notification settings - Fork 91
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
Multiple ONNX optimizer tests fail on big-endian #8
Comments
There is an issue with this helper.py change. Additional investigation underway. |
Corrected patch attached. |
@JonTriebenbach : Can you send a PR instead? |
Transferring this issue to onnx\optimizer repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These tests were run on s390x. s390x is big-endian architecture.
Example failure log from pytest:
Notice the big integers: 720575940379. Viewing the number in hex shows an endian swapping issue.
Attached is the patch file for fixing the issue in the testcase helper.py code. The helper.py code needs to account for generating the raw data on a big endian architecture while the ONNX internals always expects little endian values.
A pull request can be submitted if needed.
Attaching corrected patch below.
The text was updated successfully, but these errors were encountered: