Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Deprecate Differentiable.AllDifferentiableVariables. #419

Merged
merged 3 commits into from
Aug 7, 2019

Conversation

dan-zheng
Copy link
Member

Remove usages of AllDifferentiableVariables and
var allDifferentiableVariables.

Friend PR: swiftlang/swift#26527

@dan-zheng dan-zheng force-pushed the deprecate-differentiable-alldiffvars branch from 7f34040 to 8911fd8 Compare August 7, 2019 02:49
@dan-zheng dan-zheng requested a review from rxwei August 7, 2019 02:50
Remove usages of `AllDifferentiableVariables` and
`var allDifferentiableVariables`.
@dan-zheng dan-zheng force-pushed the deprecate-differentiable-alldiffvars branch from 8911fd8 to bcdc695 Compare August 7, 2019 02:50
Copy link
Contributor

@rxwei rxwei left a comment

Choose a reason for hiding this comment

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

I'm excited to see this step finally done! :)

Break up expression into two subexpressions to fix "compiler is unable to
type-check this expression in reasonable time" error.
Remove remaining uses of `AllDifferentiableVariables` and
`allDifferentiableVariables`.
@dan-zheng
Copy link
Member Author

dan-zheng commented Aug 7, 2019

All references should have been removed.

$ grep -nr "AllDifferentiableVariables" Sources Tests
# No results.

@Shashi456
Copy link
Contributor

Shashi456 commented Aug 7, 2019

@dan-zheng there's a couple of `AllDifferentiableVariables" in the readme.

@dan-zheng
Copy link
Member Author

dan-zheng commented Aug 7, 2019

@dan-zheng there's a couple of `AllDifferentiableVariables" in the readme.

I saw that, thanks! I'll fix that in a follow-up PR, since swiftlang/swift#26527 is sensitive to the commit version of tensorflow/swift-apis.

@Shashi456
Copy link
Contributor

@dan-zheng is the loss function refactoring necessary in this PR?

@dan-zheng
Copy link
Member Author

@dan-zheng is the loss function refactoring necessary in this PR?

I'm not sure what exactly you're referring to, but it sounds orthogonal. This patch is meant to be minimal, removing references to AllDifferentiableVariables/allDifferentiableVariables.

@dan-zheng
Copy link
Member Author

The friend PR swiftlang/swift#26527 has been merged.
apple/swift now points to a commit of tensorflow/swift-apis from this PR.

Shall we hold off on merging this PR until the CI toolchain has swiftlang/swift#26527? cc @rxwei

@rxwei
Copy link
Contributor

rxwei commented Aug 7, 2019

The CI toolchain is already broken unfortunately due to build failures (marcrasi@ is looking into this AFAIK). I think we should merge this.

@dan-zheng dan-zheng merged commit 085217d into master Aug 7, 2019
@dan-zheng dan-zheng deleted the deprecate-differentiable-alldiffvars branch August 7, 2019 19:44
pschuh added a commit to pschuh/swift-apis that referenced this pull request Aug 8, 2019
…rflow#419)"

This reverts commit 085217d.

This broke CI. reverting so that a fix can happen.
pschuh added a commit to pschuh/swift-apis that referenced this pull request Aug 8, 2019
Fix bug introduced in tensorflow#419.
@pschuh pschuh mentioned this pull request Aug 8, 2019
pschuh added a commit that referenced this pull request Aug 8, 2019
Fix bug introduced in #419.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants