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

Can't Enable Eager Execution [tensorflow_gpu==1.12.0] #23753

Closed
IMBurbank opened this issue Nov 14, 2018 · 3 comments
Closed

Can't Enable Eager Execution [tensorflow_gpu==1.12.0] #23753

IMBurbank opened this issue Nov 14, 2018 · 3 comments
Assignees
Labels
comp:eager Eager related issues stat:awaiting response Status - Awaiting response from author

Comments

@IMBurbank
Copy link
Contributor

I'm following the Tensorflow Eager Execution Guide and can't enable eager execution.

System info:

tensorflow_gpu 1.12.0 (std binary)
python 3.6.6
linux Mint 19
kernel 4.15.0-38
nvidia geforce 1050ti

Steps to reproduce:

import tensorflow as tf
tf.enable_eager_execution()
tf.executing_eagerly()
# False
@ymodak ymodak self-assigned this Nov 14, 2018
@ymodak ymodak added the comp:eager Eager related issues label Nov 14, 2018
@ymodak
Copy link
Contributor

ymodak commented Nov 14, 2018

I was able to run the code snippet successfully using TF 1.10, 1.11 and 1.12. May be you can try running it in Google Colab.

@ymodak ymodak added the stat:awaiting response Status - Awaiting response from author label Nov 14, 2018
@IMBurbank
Copy link
Contributor Author

Thanks for the input.

I didn't include jupyter 1.0.0 and IPython 7.1.1 versions in my software stack.

I can run eager execution on colab, but not locally using a jupyter notebook. With such a simple setup, there aren't many opportunities to go astray.

It has to have something to do with how jupyter is interacting with tf. Now I'm thinking it's probably on their side. I'll look deeper into the issue and file one there if I can't pinpoint it.

@ymodak
Copy link
Contributor

ymodak commented Dec 14, 2018

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:eager Eager related issues stat:awaiting response Status - Awaiting response from author
Projects
None yet
Development

No branches or pull requests

2 participants