Skip to content
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

Fix endianness issue of internal data views in LiteralUtilTest (F16) on BE machines #51513

Merged

Conversation

kun-lu20
Copy link
Contributor

LiteralUtilTest.F16 in test case //tensorflow/compiler/xla:literal_test fails on Big-Endian systems because the internal data views are in Little-Endian format. This PR swaps the data on BE machines to make the data format machine endianness dependent, so that this test case would pass on both LE and BE systems.

This PR swaps the data of internal data views on BE machines
to make the data format machine endianness dependent.
@google-ml-butler google-ml-butler bot added the size:XS CL Change Size: Extra Small label Aug 16, 2021
@google-ml-butler google-ml-butler bot added the awaiting review Pull request awaiting review label Aug 16, 2021
@google-cla google-cla bot added the cla: yes label Aug 16, 2021
@gbaned gbaned self-assigned this Aug 17, 2021
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Aug 17, 2021
@gbaned gbaned added the comp:xla XLA label Aug 17, 2021
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Aug 18, 2021
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Aug 18, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 18, 2021
@gbaned gbaned added the kokoro:force-run Tests on submitted change label Aug 19, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 19, 2021
@gbaned gbaned removed awaiting review Pull request awaiting review ready to pull PR ready for merge process labels Aug 19, 2021
@gbaned
Copy link
Contributor

gbaned commented Aug 19, 2021

@kun-lu20 Can you please address Ubuntu Sanity errors? Thanks!

@kun-lu20
Copy link
Contributor Author

Hi @gbaned , I've reformatted tensorflow/compiler/xla/BUILD to address Ubuntu Sanity issue. Thanks!

@gbaned gbaned added the kokoro:force-run Tests on submitted change label Aug 20, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 20, 2021
@gbaned gbaned requested a review from sanjoy August 20, 2021 12:50
@google-ml-butler google-ml-butler bot added the awaiting review Pull request awaiting review label Aug 20, 2021
@kun-lu20
Copy link
Contributor Author

Hi @sanjoy , could you please take a look again? Thank you very much!

@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Sep 3, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Sep 3, 2021
@gbaned gbaned added ready to pull PR ready for merge process and removed awaiting review Pull request awaiting review ready to pull PR ready for merge process labels Sep 3, 2021
@google-ml-butler google-ml-butler bot added the awaiting review Pull request awaiting review label Sep 13, 2021
@gbaned gbaned removed the ready to pull PR ready for merge process label Sep 15, 2021
@kun-lu20
Copy link
Contributor Author

Hi @majnemer , thanks again for your advice! Could you please approve this PR?

@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Sep 16, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Sep 16, 2021
@kun-lu20
Copy link
Contributor Author

Thanks @majnemer

@gbaned gbaned added ready to pull PR ready for merge process and removed awaiting review Pull request awaiting review ready to pull PR ready for merge process labels Sep 20, 2021
@copybara-service copybara-service bot merged commit c85ebfc into tensorflow:master Sep 20, 2021
PR Queue automation moved this from Approved by Reviewer to Merged Sep 20, 2021
@google-ml-butler google-ml-butler bot removed the ready to pull PR ready for merge process label Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:xla XLA size:XS CL Change Size: Extra Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

6 participants