| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
| |
Add LLVM build rules for the LLVM AMDGPU backend, commented out by default. Fixes issue #10437.
PiperOrigin-RevId: 158351480
|
|
|
|
| |
PiperOrigin-RevId: 158340296
|
|
|
|
|
|
|
|
|
| |
While all datasets carefully set the end_of_sequence to true at the
appropriate time, some datasets might forget to set it to false in the normal
case. In order to avoid potential undefined behavior, we set the
end_of_sequence variable to be false by default.
PiperOrigin-RevId: 158337799
|
|
|
|
| |
PiperOrigin-RevId: 158336344
|
|
|
|
|
|
|
|
| |
We now make sure scripts and HTML imports are declared in the correct
places. In the future, pedantically listing script tags should not be
necessary.
PiperOrigin-RevId: 158334306
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[XLA] Enable HloEvaluator for constant folding, also merged a few operations
from hlo_constant_folding to hlo_evaluator.
Additionally:
- In ShapeUtil::ForEachIndex:
* fix a bug where visitor is called when the shape has zero elements (e.g., F32{1,0})
* added test case for ForEachIndex.
- In HloEvaluator:
* Instead of copying and caching a Constant instruction, return the literal directly if the instruction is constant.
* Fix an issue where TUPLE and OPAQUE primitives are not keyed in the templated typed_visitor.
* Use (fixed) LiteralUtil::Populate to populate resulting literal, fixes the preexisting bug in the evaluator where R0 and shape with zero size dimensions are not handled.
* Refactor ElementWiseUnaryOp and HandleCompare to be templatized on the operand's type.
* Refactor IsFinite to be top level since it is only applicable to floats and the return type is always boolean.
* Change from std::remainder to std::fmod for kRemainder to be compliant with existing XLA behavior.
* Change from std::max and std::min to std::fmax and std::fmin to handle NaNs.
* Minor comments fix.
PiperOrigin-RevId: 158330052
|
|
|
|
| |
PiperOrigin-RevId: 158326493
|
|
|
|
| |
PiperOrigin-RevId: 158325855
|
|
|
|
| |
PiperOrigin-RevId: 158325293
|
|
|
|
|
|
| |
which can be used to fix the node's device field before passing them to the maxcut algorithm.
PiperOrigin-RevId: 158322753
|
|
|
|
|
|
|
|
|
|
|
| |
The XLA implementation of TensorArrays is more restrictive than regular TensorArrays:
* XLA TensorArrays must have dynamic_size=False.
* all elements in an XLA TensorArray must have the same shape.
* writes always add their values to any existing values; neither reads nor writes ever issue errors. Out-of-bounds writes currently wrap.
Refactor Variable handling in the TF/XLA bridge. Use a XlaVariable* to refer to variables inside compilation rather than a numerical ID. Allow for variables that don't correspond to variables known to the user. Also use XlaVariable to handle TensorArrays.
PiperOrigin-RevId: 158322041
|
|
|
|
|
|
| |
running out of memory.
PiperOrigin-RevId: 158321431
|
|
|
|
|
|
| |
would not be elided by constant_folding pass.
PiperOrigin-RevId: 158317641
|
|
|
|
| |
PiperOrigin-RevId: 158310742
|
|
|
|
|
|
| |
to ensure that when the training encounteres NaN's in the loss function, user-supplied hooks such as tf_debug.LocalCLIDebugHook can still be used to debug the root cause of the numeric issues.
PiperOrigin-RevId: 158310249
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specific HLO tests have to replace the generic test_main target with a manual
main() that invokes RUN_ALL_TESTS.
To get access to a module with debug options set up, a new convenience method
is created on HloTestBase.
Initially algebraic_simplifier_test is modified as a canary; in a followup
we'll convert all HLO tests to this approach.
PiperOrigin-RevId: 158309488
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We make the trace viewer a separate app; otherwise, there would be dependency
conflicts (e.g. Polymer) between the trace viewer app and the tensorboard app.
The trace viewer app would be served by a plugin, and Tensorboard dashboard will integrate trace viewer app using iframe in the
future.
This CL also added "mominify" support for link import HTML tags in the
tensorboard home-grown java vulnizer; otherwise, the vulcanized trace viewer code
would crash the java vulcanizer.
For open-source build, we add a denpendency on the Catapult github repository
(https://github.com/catapult-project/catapult/tree/master/tracing). We use a bazel genrule to vulcanize a trace viewer binary which is then used in the
tf-trace-viewer component.
PiperOrigin-RevId: 158309408
|
|
|
|
| |
PiperOrigin-RevId: 158308002
|
|
|
|
|
|
|
| |
Add assertion that binary classifier label is in range [0., 1.]
Fixed Classifier Integration tests.
PiperOrigin-RevId: 158307521
|
|
|
|
|
|
| |
for images 2 or 4 times smaller than 16x16. Also initialize in_cols from blockDim, to fix the regression caused in CL 157906773.
PiperOrigin-RevId: 158296136
|
|
|
|
| |
PiperOrigin-RevId: 158295169
|
|
|
|
| |
PiperOrigin-RevId: 158294569
|
|
|
|
| |
PiperOrigin-RevId: 158294289
|
|
|
|
|
|
| |
The function is called recursively, and the std::function object had only existed to allow recursion from within a lambda expression. A regular function should be cheaper than a polymorphic function wrapper.
PiperOrigin-RevId: 158292415
|
|
|
|
|
|
| |
appropriate tool here. NFC
PiperOrigin-RevId: 158292035
|
|
|
|
|
|
| |
resource tensor as handler.
PiperOrigin-RevId: 158291836
|
|
|
|
|
|
|
|
| |
performance regression from network overhead.
Add check when using initializing values to avoid seg fault
PiperOrigin-RevId: 158291218
|
|
|
|
|
|
|
|
| |
the desired FFT length.
Fixes incorrect RFFT/IRFFT results when fft_length does not match the input dimension.
PiperOrigin-RevId: 158289991
|
|
|
|
| |
PiperOrigin-RevId: 158289285
|
|
|
|
| |
PiperOrigin-RevId: 158282834
|
|
|
|
|
|
|
|
| |
controls the "tab name" of the summary that is displayed.
This solution keeps using name_scope to keep names unique, but then prefixes the tag with the family name if provided.
PiperOrigin-RevId: 158278922
|
|
|
|
| |
PiperOrigin-RevId: 158278512
|
|
|
|
| |
PiperOrigin-RevId: 158278026
|
|
|
|
|
|
|
|
| |
Add an HloLocation abstraction to dataflow analysis which indicates where (in the output of what instruction and at which index) an HloValue may appear. Previously only uses were stored with an HLO value where a use is an edge in the HLO graph (instruction, operand number and ShapeIndex).
Also, change the handling of tuple-shaped kSelect instructions when ssa_form is true. Previously a phi value would be created. With this change the the value set instead contains the union of it's inputs identical to the ssa_form=false case.
PiperOrigin-RevId: 158276598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ClientLibraryTestBase will now parse command-line flags for debug options
automatically, permitting subclasses to override certain options by using
mutable_debug_options.
main() still has to call AppendDebugOptionsFlags() explicitly before running
the TF flag parser. In the mean-time, this CL leaves flag handling to the
current "legacy" approach. However, this is part of a larger plan to move *all*
debugging flags for XLA into the DebugOptions message and expose them as flags
from a single place. The other flags (which are not controlling debugging
options) will have to be propagated more explicitly.
PiperOrigin-RevId: 158276294
|
|
|
|
| |
PiperOrigin-RevId: 158274845
|
|
|
|
| |
PiperOrigin-RevId: 158268933
|
|
|
|
| |
PiperOrigin-RevId: 158267803
|
|
|
|
| |
PiperOrigin-RevId: 158265934
|
|
|
|
|
|
| |
Also fix indentation in configure.
PiperOrigin-RevId: 158232959
|
|
|
|
| |
PiperOrigin-RevId: 158212897
|
|
|
|
|
|
|
|
|
| |
To do so, NodeState now handles different output ports of a node (in case
a node has multiple outputs).
Also, VirtualScheduler code is cleaned up with more comments.
PiperOrigin-RevId: 158209068
|
|
|
|
|
|
| |
This helps the user identify problematic ops. Also moved the debugger data logic within tf-graph-info into a new tf-graph-debugger-data-card component.
PiperOrigin-RevId: 158208679
|
|
|
|
| |
PiperOrigin-RevId: 158205361
|
|
|
|
|
|
| |
Simplify shape traversal visitors in ShapeUtil and ShapeTree. Add a non-Status form because most uses of the traversal methods do not use it, and remove is_leaf parameter from ShapeTree.ForEach* as it is not frequently used.
PiperOrigin-RevId: 158201574
|
|
|
|
|
|
| |
Added tests for linear part of dnn-linear-combined estimator.
PiperOrigin-RevId: 158200827
|
|
|
|
|
|
|
|
|
|
|
| |
Make reference edges orange.
Remove animations from tooltips in the graph documentation.
Previously, arrowheads were only added to reference edges (because we assumed users knew about the convention that arrowless edges flow upwards). That decision nicely reduces clutter. However, recently, some internal and external folks have expressed confusion, and so I want to try adding arrowheads to all data flow edges. And make the reference edges starkly different.
See #10428
PiperOrigin-RevId: 158195388
|
|
|
|
| |
PiperOrigin-RevId: 158192152
|
|
|
|
| |
PiperOrigin-RevId: 158191361
|
|
|
|
| |
PiperOrigin-RevId: 158190192
|