Skip to content

Branch 184768730 - #16819

Merged
ankurtaly merged 43 commits into
tensorflow:masterfrom
ankurtaly:branch_184768730
Feb 7, 2018
Merged

ankurtaly merged 43 commits into
tensorflow:masterfrom
ankurtaly:branch_184768730

Conversation

@ankurtaly

Copy link
Copy Markdown
Contributor

Pushing from Google Internal to Public

tensorflower-gardener and others added 30 commits February 6, 2018 00:32
…additional CUDA header file.

PiperOrigin-RevId: 184644220
…ction function added.

.

PiperOrigin-RevId: 184644450
…value for objects created from VariableDef protos.

Previously self._initial_value wasn't set in such cases which causes accessing var.initial_value to fail for variables in the imported meta graphs.

PiperOrigin-RevId: 184657191
… as the same shallow structure in assert_shallow_structure

PiperOrigin-RevId: 184687609
PiperOrigin-RevId: 184687994
…aphs.

This will be used for the forthcoming delegate interface. The delegate
interface will allow parts of the TensorFlow lite graph to be sent to
other accelerators. NNAPI will be implemented to move to this interface.
That will allow partial delegation to NNAPI.

PiperOrigin-RevId: 184692126
  * Fix bug trying to store more than kintmax32 values in a repeated proto field.
  * Speed up populating compressed format. Example: tensorflow/python/kernel_tests/large_concat_op_test with size = 2**29+6 goes from ~30 seconds to ~15 seconds. The fraction of time spent in ConstantFolding::CreateNodeDef() goes down from about 35% to about 12%.

PiperOrigin-RevId: 184693749
…ted Assign

nodes since we can't always rely on TF calling AddDefaultAttrsToGraphDef.

PiperOrigin-RevId: 184698463
This information can be used within a distributed implementation
when deciding how to route data transfers that might involve more
than one hop.  By default the new fields are populated according to
StreamExecutor::CanEnablePeerAccessTo(), however a platform-specific
implementation can augment them with more detailed values.

Do some refactoring of gpu_device and gpu_device_factory, making
GetDeviceLocalities() and GetInterconnectMaps() into virtual
functions.

PiperOrigin-RevId: 184698821
PiperOrigin-RevId: 184707084
PiperOrigin-RevId: 184715822
…combine aliasing with re-indenting. Move the renaming visitor into a generic utility API.

This loses potential efficiency by risking sequencing ops where there is no risk of a race. On the other hand it's still not entirely robust, and we need to raise an error where we can't guarantee that.

PiperOrigin-RevId: 184717456
by disabling grappler in the test.

PiperOrigin-RevId: 184721353
PiperOrigin-RevId: 184721743
…branch name changes.

PiperOrigin-RevId: 184725332
…ies an

explicit argument of a callable.

PiperOrigin-RevId: 184725878
Properly handle the case of control dependencies

PiperOrigin-RevId: 184733444
MatMul benchmarks:
entry {
  name: "MicroBenchmarks.benchmark_gen_math_ops_matmul_2_by_2_CPU"
  iters: 30000
  wall_time: 11.580435435
  extras {
    key: "examples_per_sec"
    value {
      double_value: 86352.538781
    }
  }
}

entry {
  name: "MicroBenchmarks.benchmark_tfe_py_fastpath_execute_matmul_2_by_2_CPU"
  iters: 30000
  wall_time: 7.02576637268
  extras {
    key: "examples_per_sec"
    value {
      double_value: 142333.227004
    }
  }
}

PiperOrigin-RevId: 184734289
Joshua V. Dillon and others added 11 commits February 6, 2018 14:22
self.node_def may not yet be accessible when using the C api.

PiperOrigin-RevId: 184742074
PiperOrigin-RevId: 184747924
Initial benchmarks:
entry {
  name: "MicroBenchmarks.benchmark_read_variable_op_2_by_2_CPU"
  iters: 30000
  wall_time: 22.9616721471
  extras {
    key: "examples_per_sec"
    value {
      double_value: 43550.8352176
    }
  }
}

entry {
  name: "MicroBenchmarks.benchmark_read_variable_op_with_tape_2_by_2_CPU"
  iters: 30000
  wall_time: 27.3616631826
  extras {
    key: "examples_per_sec"
    value {
      double_value: 36547.4859232
    }
  }
}

PiperOrigin-RevId: 184748548
Previously MakeTupleOwned was cumbersome to use, because you had to
explicitly materialize a vector<unique_ptr<Literal>>.  With this new
overload, you can pass unique_ptrs directly.

PiperOrigin-RevId: 184751119
CudnnRNN layers have variables of unknown shapes, which Adagrad/RMSProp didn't handle before.

This fixes 6620(tensorflow#6620).

PiperOrigin-RevId: 184759579
…emory.

Track all persistent memory allocation in allocate_persistent call except for variables and queues where persistent memory is tracked in variables ops and queue ops. Deallocation of persistent memory is ignored.

PiperOrigin-RevId: 184768231
…mes in a session.

Previously, we would instantiate a new function handle for each
function in a dataset each time an iterator on that dataset was
initialized. These would only be deleted at session closure, which
could lead to an apparent leak of memory over the lifetime of session.

PiperOrigin-RevId: 184768730
@ankurtaly ankurtaly self-assigned this Feb 7, 2018
@gunan gunan added the kokoro:force-run Tests on submitted change label Feb 7, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Feb 7, 2018
@ankurtaly
ankurtaly merged commit 16fabd1 into tensorflow:master Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.