Skip to content

Conversation

@yatbear
Copy link
Member

@yatbear yatbear commented Sep 25, 2023

After sorting with the explicitly specified sorting key (differs), sorted() returns the order within each differs group differently when running externally v.s. internally, which broke internal tests. Changing to sort by name within each differs group as a workaround.

Googlers, see the test failure details in cl/568227790.

#hparams

Copy link
Contributor

@bmd3k bmd3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We decided offline: Move the "sort by differs (first) and name (second)" logic to the actual code.

@yatbear yatbear changed the title Hparams: fix unit tests for sync Hparams: Sort by differs then by name. Sep 25, 2023
@yatbear
Copy link
Member Author

yatbear commented Sep 25, 2023

We decided offline: Move the "sort by differs (first) and name (second)" logic to the actual code.

Done.

@yatbear yatbear requested a review from bmd3k September 25, 2023 17:32
@yatbear yatbear merged commit 9394c5e into tensorflow:master Sep 25, 2023
@yatbear yatbear deleted the fix_tests branch September 25, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants