Skip to content

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