You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before, if both unknown and known flags were in XLA_FLAGS, the error would list the unknown flags and also incorrectly some known flags as being unknown. Now, only the unknown flags are shown.
The issue was tsl::Flags::Parse would set its argc and argv parameters to only have the unknown flags. The caller in parse_flags_from_env.cc would pass a pointer to the first element of a vector<char*> for the argv parameter. But then the caller would use the size of the vector<char*> when printing unknown flags, which was not mutated by tsl::Flags::Parse, instead of argc, which was mutated.
PiperOrigin-RevId: 723714502
0 commit comments