| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
This reverts commit 4e108ef30d7cd7ae5e1c550ec5ae27e79b8c6e39.
PiperOrigin-RevId: 191391075
|
|
|
|
| |
PiperOrigin-RevId: 190878279
|
|
|
|
| |
PiperOrigin-RevId: 189613870
|
|
|
|
| |
PiperOrigin-RevId: 189258641
|
|
|
|
| |
PiperOrigin-RevId: 189231636
|
|
|
|
| |
PiperOrigin-RevId: 188880419
|
| |
|
|
|
|
| |
PiperOrigin-RevId: 188828898
|
| |
|
|
|
|
| |
PiperOrigin-RevId: 188828898
|
| |
|
|
|
|
| |
PiperOrigin-RevId: 173889798
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Splits out a shared object (//tensorflow/libtensorflow_framework.so) with core TensorFlow functionality but neither ops nor kernels. This object does include registries for ops, kernels, filesystems, etc. The expectation is that shared objects containing custom ops will have a runtime dependency on this framework shared object: TensorFlow will load the custom op shared object, and the custom op shared object will use the symbols from the framework shared object to register its ops/kernels/etc. rather than (as before this change) relying on those symbols being in the global symbol table.
In this mode, TensorFlow artifacts (_pywrap_tensorflow.so for Python, libtensorflow.so for the C API; currently excluding Android artifacts) will depend on the framework shared object, which will be packaged with the Python pip package and other language distributions. This means that custom ops targeting the framework shared object will work in any language (C++, Java, Go; previously custom ops in these languages required custom Bazel builds).
Adds a config option which reproduces the old behavior (--config=monolithic), which for Python means building a monolithic pywrap_tensorflow shared object and loading its symbols into the global symbol table (with RTLD_GLOBAL). As before, there will be no extra-Bazel custom op support for other languages when compiling in this mode.
Does not change behavior on Windows; the cmake build is still monolithic.
Requires using tf_cc_binary, tf_cc_test, and (rarely) tf_cc_shared_object rules to link in the framework shared object when adding new TensorFlow build rules.
PiperOrigin-RevId: 169572746
|
|
|
|
| |
PiperOrigin-RevId: 168650887
|
|
|
|
| |
PiperOrigin-RevId: 167672587
|
|
|
|
| |
PiperOrigin-RevId: 166461274
|
|
|
|
| |
PiperOrigin-RevId: 164584985
|
|
|
|
| |
PiperOrigin-RevId: 161616162
|
|
|
|
| |
PiperOrigin-RevId: 161609382
|
|
|
|
| |
PiperOrigin-RevId: 158565259
|
|
|
|
| |
PiperOrigin-RevId: 157473460
|
|
|
|
|
|
|
| |
Benefits of this CL:
1) Removes ~70 python unit test files from the pip wheel.
2) Makes it easier to track which files are included in the pip wheel through bazel queries.
Change: 149810103
|
|
|
|
|
| |
SavedModel.
Change: 149158386
|
|
|
|
| |
Change: 147423640
|
|
|
|
| |
Change: 145017462
|
|
|
|
| |
Change: 143230429
|
|
|
|
| |
Change: 142080137
|
|
|
|
| |
Change: 141896093
|
|
|
|
| |
Change: 141847925
|
|
|
|
| |
Change: 141461172
|
|
|
|
|
|
|
| |
bundle and SavedModel bundle.
This is intended to be used during migration to SavedModel format.
Change: 141257689
|
|
|
|
|
|
| |
Saved Model of half plus two and its dependency.
Change: 140441828
|
|
|
|
|
| |
Delete bundle_shim_constants.h and use the new constant in signature_constants.h instead.
Change: 139399882
|
|
|
|
| |
Change: 136521066
|
|
|
|
|
|
| |
This avoids ODR violations that were possible before as we included a cc file
in 2 different libraries.
Change: 135934905
|
|
|
|
| |
Change: 135925430
|
|
|
|
| |
Change: 135708424
|
|
|
|
| |
Change: 135484749
|
|
|
|
| |
Change: 135414551
|
|
|
|
|
|
|
| |
TESTED:
- passed opensource_build
- passed unit tests
Change: 135391050
|
|
|
|
|
|
| |
SavedModelBundle.
Change: 134805671
|
|
|
|
| |
Change: 132966570
|
|
|
|
| |
Change: 132490206
|
|
|
|
|
|
| |
tensorflow/contrib/session_bundle.
Change: 127862721
|
|
|
|
| |
Change: 127608996
|
|
|
|
|
|
| |
tensorflow/contrib/session_bundle.
Change: 127590512
|
|
|
|
|
|
|
| |
tensorflow/contrib/session_bundle) and introduce forwarding headers instead.
This doesn't change any behavior since the copies are identical, but moves forward with the migration, avoids code duplication, and eliminates the possibility of this code diverging.
Change: 127556144
|
|
|
|
| |
Change: 127324936
|
|
|
|
| |
Change: 126438387
|
|
|
|
|
| |
Clean up session_bundle/exporter to be importable.
Change: 126029457
|