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

Workaround for sr-13263 #1

Merged
merged 27 commits into from
Jan 13, 2022
Merged

Workaround for sr-13263 #1

merged 27 commits into from
Jan 13, 2022

Conversation

philipturner
Copy link

@philipturner philipturner commented Jan 9, 2022

Summary: half-fix for BatchNorm compiler crash

On debug and release (only with -Onone), this compiles successfully. On fully optimized release, this still fails to compile and produces the stack trace mentioned in swiftlang/swift#38745 (comment). In short, I independently implemented your "number of patches".

This was tested on Google Colab (dual-core x64) with the 2021-11-12 toolchain. Later toolchains introduce other bugs that prevent compilation in RecurrentLayer - tensorflow#1184 (comment).

Let's try keeping as much discussion as possible on tensorflow#1189 (comment). A PR on a fork isn't as accessible as something created on tensorflow's repo.

@ProfFan
Copy link
Owner

ProfFan commented Jan 13, 2022

Let me stash and merge.

@ProfFan ProfFan merged commit 335f94d into ProfFan:fan/resurrection Jan 13, 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.

2 participants