Repository navigation
Branch 163121296 - #11767
Merged
Merged
Branch 163121296#11767
Conversation
PiperOrigin-RevId: 163014080
PiperOrigin-RevId: 163014834
…te its variables as well. Resetting session might unintentionally close other sessions in the same process. PiperOrigin-RevId: 163019166
…-reduce-precision-operations pass. This also required a few additions and fixups. We add pieces to ReducePrecisionInsertion to translate between the protocol-buffer representation of the pass options and the predicate-function actually used in the pass. To facilitate this translation, we also add a function to HloOpcode to return the number of opcodes so that we can iterate over the whole set easily. PiperOrigin-RevId: 163037250
This also makes a few minor cosmetic changes, like moving the fusion type out of the fusion node and into the out-of-line computation and adjusting the arrow labels that we use to indicate operand numbers. PiperOrigin-RevId: 163038795
There are platforms where bitcasts are not symmetric. I.e. there are shapes A and B so that A->B is a bitcast, but B->A not. So we have to consider the correct order when calling valid_bitcast_callback_. PiperOrigin-RevId: 163058665
1. Distinguish between passed and skipped tests. 2. Allow skipping the smoke test of tensorflow install in clean virtualenv with NO_TEST_ON_INSTALL=1 PiperOrigin-RevId: 163065599
Previously we would evaluate the is_copy_constructible trait before template parameters were fully defined; e.g. StatusOr<ThingIAmDefiningRightNow>, which could lead to surprising effects. Also, previously it was not possible to provide an error status to a StatusOr<T> where T was not default-constructible. PiperOrigin-RevId: 163073057
…IT marking pass from compiling ControlTrigger nodes. CL in preparation for compiling dynamic RNN gradients via XLA. PiperOrigin-RevId: 163073212
- Truncate long shapes. It's not uncommon to have giant tuples, and displaying the whole thing makes the graph unreadable. - Don't traverse into the users of a node with < 16 users. These are probably not interesting, and traversing into them can quickly blow up the graph, making it un-renderable. - Allow nodes which have multiple trivial subcomputations (e.g. select-and-scatter) to have those computations inlined. - Match additional patterns in MatchTrivialComputation PiperOrigin-RevId: 163079329
…t, clone the constant instead of repeatedly pushing it onto a stack on each iteration. This should never consume more memory than the stack approach (notwithstanding swapping), and frequently should be much better. This change is in preparation for enabling XLA compilation of RNN gradients. PiperOrigin-RevId: 163082165
Previously we used an f32[0] value, since the exact flow value does not matter, however this causes problems when a TensorArray computation is placed in a loop since the shape of the flow value is no longer loop invariant. PiperOrigin-RevId: 163082452
PiperOrigin-RevId: 163083436
PiperOrigin-RevId: 163086518
PiperOrigin-RevId: 163088509
PiperOrigin-RevId: 163089480
PiperOrigin-RevId: 163090428
…n" bits. PiperOrigin-RevId: 163090921
To make this work sanely I had to change NodeFilter so that it says to dump all nodes inside subcomputations. Previously, we passed an explicit NodeFilter down to DumpSubcomputation, and used that to control whether or not we dumped nodes in there. But this becomes unwieldy with inline fusion nodes, as sometimes you want to look at 'filter', and other times you want to look at 'filter_', and there's no good way to tell why. I also had to remove the heuristic whereby we'd pull in operands of nodes with just some operands shown. With the much bigger nodes that are generated by this change, the graph was becoming illegible. I think most of the confusion that heuristic was attempting to avoid is addressed by the fact that we "gray out" incomplete nodes. PiperOrigin-RevId: 163091423
…Status This change is made out of a desire to have additional information be reported when there are filesystem errors (for e.g. see tensorflow#11628) PiperOrigin-RevId: 163091773
…s are involved. The TensorBuffer owned by a TF_Tensor object has a different memory layout than the TensorBuffer owned by the corresponding tensorflow::Tensor object. This change consolidates conversions between the runtime's tensorflow::Tensor and the C API's TF_Tensor objects into a pair helper functions. The added test: CApiAttributesTest.StringTensor fails without corresponding changes to c_api.cc PiperOrigin-RevId: 163091789
…of the gradient test. PiperOrigin-RevId: 163092423
PiperOrigin-RevId: 163093146
PiperOrigin-RevId: 163094455
PiperOrigin-RevId: 163101160
RELNOTES: n/a PiperOrigin-RevId: 163101568
PiperOrigin-RevId: 163102070
PiperOrigin-RevId: 163102445
…n non-sandboxed builds. PiperOrigin-RevId: 163103908
PiperOrigin-RevId: 163105673
PiperOrigin-RevId: 163108237
PiperOrigin-RevId: 163109769
PiperOrigin-RevId: 163110994
PiperOrigin-RevId: 163113085
PiperOrigin-RevId: 163114551
…ng loop functionalization. PiperOrigin-RevId: 1631159
PiperOrigin-RevId: 163121296
Author
|
@tensorflow-jenkins test this please ? |
Author
|
Existing failures are flakes of some kind, merging. |
suiyuan2009
reviewed
Aug 1, 2017
| if environ_cp.get('USE_DEFAULT_PYTHON_LIB_PATH') == '1': | ||
| environ_cp['PYTHON_LIB_PATH'] = python_lib_paths[0] | ||
| else: | ||
| print('Found possible Python library paths:\n%s' % |
Contributor
There was a problem hiding this comment.
I set python location to /usr/bin/python3, but possible python library paths returned by configure are all python2's paths.
copybara-service Bot
pushed a commit
that referenced
this pull request
May 17, 2024
Imported from GitHub PR openxla/xla#11767 This is a sub PR of openxla/xla#9042, it adds a script to build xla with `--config=sycl`. Here is how to use: ```bash workspace=$1 xla_path=$workspace/xla cd $workspace git clone -b yang/ci https://github.com/Intel-tensorflow/xla xla bash $xla_path/build_tools/sycl/build.sh $workspace ``` Copybara import of the project: -- d811bba1548f0c983da473a0940b1ea3d8b2c436 by Sheng, Yang <[email protected]>: Add SYCL build script -- 0c2500b703b73bc340ccc9e3817c7ce54cc8d718 by Sheng, Yang <[email protected]>: change path Merging this change closes #11767 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#11767 from Intel-tensorflow:yang/ci 0c2500b703b73bc340ccc9e3817c7ce54cc8d718 PiperOrigin-RevId: 634661773
copybara-service Bot
pushed a commit
that referenced
this pull request
May 17, 2024
Imported from GitHub PR openxla/xla#11767 This is a sub PR of openxla/xla#9042, it adds a script to build xla with `--config=sycl`. Here is how to use: ```bash workspace=$1 xla_path=$workspace/xla cd $workspace git clone -b yang/ci https://github.com/Intel-tensorflow/xla xla bash $xla_path/build_tools/sycl/build.sh $workspace ``` Copybara import of the project: -- d811bba1548f0c983da473a0940b1ea3d8b2c436 by Sheng, Yang <[email protected]>: Add SYCL build script -- 0c2500b703b73bc340ccc9e3817c7ce54cc8d718 by Sheng, Yang <[email protected]>: change path Merging this change closes #11767 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#11767 from Intel-tensorflow:yang/ci 0c2500b703b73bc340ccc9e3817c7ce54cc8d718 PiperOrigin-RevId: 634661773
copybara-service Bot
pushed a commit
that referenced
this pull request
May 17, 2024
Imported from GitHub PR openxla/xla#11767 This is a sub PR of openxla/xla#9042, it adds a script to build xla with `--config=sycl`. Here is how to use: ```bash workspace=$1 xla_path=$workspace/xla cd $workspace git clone -b yang/ci https://github.com/Intel-tensorflow/xla xla bash $xla_path/build_tools/sycl/build.sh $workspace ``` Copybara import of the project: -- d811bba1548f0c983da473a0940b1ea3d8b2c436 by Sheng, Yang <[email protected]>: Add SYCL build script -- 0c2500b703b73bc340ccc9e3817c7ce54cc8d718 by Sheng, Yang <[email protected]>: change path Merging this change closes #11767 PiperOrigin-RevId: 634676627
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.