question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow enabled of eager execution

See original GitHub issue

Related https://github.com/mortendahl/tf-encrypted/issues/278

Right now tfe doesn’t work out of the box with eager execution. One of the issues is that by default we use multiple devices to do our computation and currently eager execution doesn’t work on more than one device. We’ll have to do some other investigation to see if there are other problems.

I propose we add a function like tfe.enable_eager_execution() that modifies the configuration of tfe so that eager execution works.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bendecostecommented, Feb 20, 2019

I’m no longer actively looking at this.

0reactions
zjn-codecommented, Nov 18, 2022

Eager execution is enabled in TFE based on TF2, it also supports building graph by tfe.function.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tf.compat.v1.enable_eager_execution | TensorFlow v2.11.0
Eager execution cannot be enabled after TensorFlow APIs have been used to create or execute graphs. It is typically recommended to invoke this ......
Read more >
Unable to Enable Tensorflows Eager execution - Stack Overflow
In tensorflow 2.0 the eager execution is enabled by default. You don't need to enable it in your program. E.g import tensorflow as...
Read more >
Enable Eager Execution in TensorFlow - IBM Developer
With TensorFlow 2.x, Eager Execution is enabled by default, and allows TensorFlow code to be run and evaluated line by line.
Read more >
Eager Execution in Tensorflow 2.0 | by Arun Raja - Medium
Eager Execution in Tensorflow 2.0 · import osimport tensorflow as tfimport cProfiletf. · #Dataset setup (mnist_images, mnist_labels), _ = tf.
Read more >
Plans to enable eager execution from TF 2.0? #122 - GitHub
v1.disable_eager_execution() ). Are there any plans to upgrade this package to work in TF 2.0 (with eager execution)?. I believe that would ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found