Skip to content

[AutoDiff] Introduce regression test for SR-15849 #41717

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

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

philipturner
Copy link
Contributor

Refer to #41437 for the relevant discussion. This test passes when rebased onto main. The previous pull request had to be closed because of a technical error.

@philipturner
Copy link
Contributor Author

CC: @BradLarson

@BradLarson
Copy link
Contributor

@swift-ci Please test.

@BradLarson BradLarson changed the title [AutoDiff] Reproducer for BatchNorm compiler crasher #2 [AutoDiff] Introduce regression test for SR-15849 Mar 8, 2022
@BradLarson
Copy link
Contributor

Transcribing context here for reference: SR-15849 has been impacting our internal code for a few months. Philip was able to isolate a single-file reproducer in this test case, which we had been using to diagnose the issue.

In the process of doing so, the issue stopped reproducing in top-of-tree Swift. My speculation is that PR #41294 is what ended up preventing the assertion failure we had been seeing, but it's still being investigated. To prevent against a recurrence of the issue, it seemed like a good idea to put in place a regression test based in the reproducer Philip isolated from the Swift for TensorFlow codebase. This is that test.

@BradLarson BradLarson requested a review from rxwei March 8, 2022 17:16
@rxwei
Copy link
Contributor

rxwei commented Mar 8, 2022

Thanks @BradLarson for the ping.

@rxwei rxwei merged commit 2af1460 into swiftlang:main Mar 8, 2022
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