Skip to content

Branch 154885009 - #9604

Merged
vrv merged 30 commits into
tensorflow:masterfrom
vrv:branch_154885009
May 3, 2017
Merged

vrv merged 30 commits into
tensorflow:masterfrom
vrv:branch_154885009

Conversation

@vrv

@vrv vrv commented May 3, 2017

Copy link
Copy Markdown

No description provided.

benoitsteiner and others added 29 commits May 1, 2017 18:48
…sn't

successfully built by the AddNode() method.
Change: 154838211
An `_Arg` node can have more than three attrs, because the runtime may
(and does) add system-defined attrs (viz. "_output_shapes") that do
not change the meaning of the op.
Change: 154850526
Change: 154855106
…raphDefs.

This change assumes that a TF subgraph/op does not cross the boundary of a HLO
computation and always put top-level TF subgraphs/ops under HLO computations.
Change: 154855884
… but

unknown dimensions are merged
Change: 154856675
Refactor constant folding operations into a dedicated module, and added a new
ReplaceInstruction() API to collapse { computation->ReplaceInstruction();
changed=true}.
Change: 154857025
stream_executor to the ops that need them.
Change: 154863520
…ame every time it's called.

To properly handle queues that have populated by several enqueue ops, merge the shapes of the inputs to all the enqueue ops before calling InferenceContext::set_output_handle_shape(). This ensures that we detect incorrect queue setups (where the 2 enqueue ops might generate tensors with incompatible shapes), and that we take all the known shape information instead of that of just one of the enqueue ops.
Change: 154866747
… a non-tensor object is passed in.

Otherwise the 'name' property is missing.
Change: 154868022
Make the op Async so we don't block an executor thread while waiting for the result of the box bounds check to be copied back to the host.
Change: 154868460
Several parts are largely based on the post by @yaroslavvb at: tensorflow#7443#issuecomment-279182613

Fixes tensorflow#7443
Change: 154876045
Change: 154876563
Change: 154876646
Fix documentation of get_total_loss() to be correct.
And add a helpful comment about a common pitfall.
Change: 154876822
Extends HloEvaluator to allow evaluation of HLO Computation or single HLO instruction
with non-constant operands, by traversing the instruction in post order and keeps track of
each instruction along the way as evaluated literals.
Change: 154877580
Change: 154880260
@vrv

vrv commented May 3, 2017

Copy link
Copy Markdown
Author

Everything passing except for Android Demo app, going to try again and see if it's consistent. If android passes quickly, I'll merge.

@tensorflow-jenkins test this please

@vrv

vrv commented May 3, 2017

Copy link
Copy Markdown
Author

cc @caisq or @yifeif if they have any idea why the Android build is failing with

18:05:18 INFO: Loading package: tensorflow/c
18:05:18 ERROR: /workspace/tensorflow/core/BUILD:1363:1: in cmd attribute of genrule rule //tensorflow/core:version_info_gen: $(PYTHON_BIN_PATH) not defined. Since this rule was created by the macro 'tf_version_info_genrule', the error might have been caused by the macro implementation in /workspace/tensorflow/tensorflow.bzl:1188:7.
18:05:18 ERROR: Analysis of target '//tensorflow/examples/android:tensorflow_demo' failed; build aborted.
18:05:18 INFO: Elapsed time: 2.669s

The only likely culprit is the .bazel.rc commit, but I can't see why that would cause this to fail.

@caisq

caisq commented May 3, 2017

Copy link
Copy Markdown
Contributor

Is it related to this PR? #9547

@vrv

vrv commented May 3, 2017

Copy link
Copy Markdown
Author

Maybe, but that PR passed before. @andrewharp thinks it is related to stand alone strategy

@vrv

vrv commented May 3, 2017

Copy link
Copy Markdown
Author

Going to try to revert 50aff7a for now so we can make progress, and then let someone else figure out how to get around this sandboxing issue.

@vrv

vrv commented May 3, 2017

Copy link
Copy Markdown
Author

@tensorflow-jenkins test this please

@vrv
vrv merged commit 22586bd into tensorflow:master May 3, 2017
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.