Skip to content

[AutoDiff] fix TF-961 LoadableByAddress crash #28623

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
Dec 10, 2019

Conversation

marcrasi
Copy link

@marcrasi marcrasi commented Dec 6, 2019

TF-961 occurs because LoadableByAddress does not handle the case where the differentiable function conversion instructions are operating on generic functions. This PR adds handling for this case.

@marcrasi marcrasi requested a review from dan-zheng December 6, 2019 22:11
Copy link
Contributor

@dan-zheng dan-zheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@marcrasi
Copy link
Author

marcrasi commented Dec 6, 2019

@swift-ci please test tensorflow

@marcrasi
Copy link
Author

marcrasi commented Dec 6, 2019

@swift-ci please test tensorflow macos

@marcrasi marcrasi merged commit d96dbd0 into swiftlang:tensorflow Dec 10, 2019
@marcrasi marcrasi deleted the fix-loadablebyaddress-crash branch December 10, 2019 17:52
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