Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch assertWarnsOnceRegex logic to check any instead of all. (pytor…
…ch#56434) Summary: Pull Request resolved: pytorch#56434 If we hit multiple TORCH_WARN from different sources when running the statement, it makes more sense to me that we want to check the regex is met in any one of the warning messages instead of all messages. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D27871946 Pulled By: ailzhang fbshipit-source-id: 5940a8e43e4cc91aef213ef01e48d506fd9a1132
- Loading branch information