Paul Barham
Paul Barham
I'm not really the best person to answer this, but yes we are aware of this technique and similar things crop up in various places in TensorFlow: - XLA has...
You are right that the default automatic gradient code assumes that it's always cheaper to hang on to intermediate values than recompute. This is usually true. *But* there's nothing forcing...
One other way to temporarily override gradient code is to use `gradient_override_map` https://github.com/tensorflow/tensorflow/blob/2cfbd3347b943a389bb688125c2a90095b7735b5/tensorflow/python/framework/ops.py#L3773 ```python @tf.RegisterGradient("CustomSquare") def _custom_square_grad(op, grad): # ... with tf.Graph().as_default() as g: c = tf.constant(5.0) s_1 = tf.square(c)...
> [Btw. could someone point me to the line where swap_memory is implemented? The `swap_memory` flags get passed through to `tf.while_loop` and into the [`WhileContext`](https://github.com/tensorflow/tensorflow/blob/cf7c008ab150ac8e5edb3ed053d38b2919699796/tensorflow/python/ops/control_flow_ops.py#L1907), which pass flags to the...
The underlying NVidia CUPTI tracing library that is used by both TensorFlow and Nvidia's tools can capture a trace in various modes. One of these modes disables concurrent kernel execution,...
It makes no sense to assign this to me?
@girving This doesn't appear to be assigned to anybody on GitHub. Any update here?
This does look like a problem, and there have been changes to this code recently.
After investigation it appears that this test was not intended to be run on GPU. A fix is in progress. Thanks for reporting the problem!
This seems a more appropriate issue for tensorflow-discuss... The most likely cause of this is that you are maybe calling session.run() on an op and not fetching any tensor results?...