Repository navigation
Tensorflow 2 back end - #126
Conversation
…k-end to support TF2 eager mode. This contribution is done on my own time and my own equipment and not in my capacity of an employee of facebook. Signed-off-by: Michael Shvartsman <m.shvartsman.work@gmail.com>
|
The reduced coverage is on rejecting linesearch steps -- any way they could be related to the new changes, or is the behavior just stochastic somewhere? |
|
Hi folks, is there any chance someone would review this? The last major release of TF1 was over a year ago and there will be no more, so the lack of TF2 support is making it problematic to use pymanopt without getting into dependency trouble with other packages relying on a current tensorflow. |
|
Hi and thanks a lot for the PR! |
|
Hi folks, just following up on this again -- @nkoep do you think you could review and consider for merge? Thank you! |
|
Thank you for this @mshvartsman ! Works great with TF 2.3.0. Now I can perform the optimization on the GPU. |
|
Thank you @mshvartsman for this TF2 back end and your patience! 👍 Merging this eases dependency conflicts and we should no more depend on TF1, which is well outdated by now. |
This PR includes a TF2 eager back end, includes updates for tests and example. Note that there is no support for TF2.0 non-eager, though I think the tradeoff is worth it for modern TF support and graph-mode support can be added later.
As noted in the commit message, this work is done on my own time/equipment and not in my work capacity.