Commit Graph

38331 Commits

Author SHA1 Message Date
Mihai Maruseac
5b900cfe4b Update install_python3.6_pip_packages.sh to use apt.
Now python3.6 can be installed from apt and it will be installed with
all submodules.

If we're compiling Python from source, during compilation we get:

```
The necessary bits to build these optional modules were not found:
_bz2                  _dbm                  _gdbm
_lzma                 _sqlite3              _tkinter
readline
```

which then results in

```
==================== Test output for //bazel_pip/tensorflow/contrib/summary:summary_ops_test:
Running test /tmpfs/src/github/tensorflow/bazel-ci_build-cache/.cache/bazel/_bazel_kbuilder/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/k8-opt/bin/bazel_pip/tensorflow/contrib/summary/summary_ops_test.runfiles/org_tensorflow/bazel_pip/tensorflow/contrib/summary/summary_ops_test  on GPU 0
Traceback (most recent call last):
  File "/tmpfs/src/github/tensorflow/bazel-ci_build-cache/.cache/bazel/_bazel_kbuilder/eab0d61a99b6696edb3d2aff87b585e8/execroot/org_tensorflow/bazel-out/k8-opt/bin/bazel_pip/tensorflow/contrib/summary/summary_ops_test.runfiles/org_tensorflow/bazel_pip/tensorflow/contrib/summary/summary_ops_test.py", line 23, in <module>
    import sqlite3
  File "/usr/local/lib/python3.6/sqlite3/__init__.py", line 23, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/local/lib/python3.6/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
================================================================================
```

and similar failures which then block releasing patch version.
2019-06-21 10:20:35 -07:00
TensorFlow Release Automation
41e0a4f56c Update version numbers to 1.12.3 2019-06-20 14:48:57 -07:00
Mihai Maruseac
39b26c1486 Update png_archive version to 1.6.37
PiperOrigin-RevId: 249272809
2019-06-14 10:16:31 -07:00
Mihai Maruseac
b6c301ab38 Update sqlite-amalgamation version to 3.28.0
PiperOrigin-RevId: 248366536
2019-06-14 10:16:31 -07:00
Mihai Maruseac
78b90b29ee Update png_archive version to 1.6.35
PiperOrigin-RevId: 248373911
2019-06-14 10:16:31 -07:00
Mihai Maruseac
7fba173bcd Update version to 1.12.2 2019-04-18 08:29:22 -07:00
Mihai Maruseac
c9fcc49f5a Fix windows build for CPU too 2019-04-15 17:12:07 -07:00
Mihai Maruseac
3ebe165f0b Add --incompatible_disable_cc_toolchain_label_from_crosstool_proto=false flag 2019-04-15 13:17:52 -07:00
Mihai Maruseac
5ab94660a4 Reformat bazel invocation lines 2019-04-15 13:17:26 -07:00
Mihai Maruseac
234280c1dd Add --incompatible_remove_native_http_archive flag 2019-04-15 11:31:08 -07:00
Mihai Maruseac
db8d8adc0d Remove --verbose_explanations 2019-04-15 11:30:04 -07:00
Mihai Maruseac
585adacb8a Remove leftover cat (file got removed in #27801) 2019-04-15 11:29:13 -07:00
Mihai Maruseac
eafab6ea33 Remove the debug changes 2019-04-12 12:36:15 -07:00
Mihai Maruseac
1e4a69ddc2 Display bazel log file on trapped cleanup. 2019-04-12 11:16:52 -07:00
Mihai Maruseac
40965e2869 Temporarily add debug options on bazel build 2019-04-12 10:00:50 -07:00
Mihai Maruseac
cf28f2f8ac Disable one more flaky test 2019-04-11 08:32:21 -07:00
Mihai Maruseac
202c5df1a3 Disable one more macos test for python35 2019-04-10 22:10:08 -07:00
Mihai Maruseac
7fa114ee87 Disable 3 tests which fail on tf 1.12.1. 2019-04-10 14:48:16 -07:00
Gunhan Gulsoy
0c0b4b4779
Merge pull request #26891 from tensorflow/no-ares
--define=grpc_no_ares=true to make MacOS builds work
2019-03-19 10:29:12 -07:00
Mihai Maruseac
dadb58d132 Disable keras:applications_test (128912960) 2019-03-19 10:15:59 -07:00
Mihai Maruseac
59682f88c6 --define=grpc_no_ares=true to make MacOS builds work 2019-03-19 10:10:56 -07:00
Mihai Maruseac
b83b9fc687 Prevent null pointer dereference in decode_gif.
PiperOrigin-RevId: 231841542
2019-03-15 10:33:58 -07:00
Mihai Maruseac
866adc8305 Update version to 1.12.1 for patch release following e41cb12 2019-03-15 10:22:45 -07:00
Todd Wang
a6d8ffae09
Fix a bug in tpu.py and xla.py that while creating an identity node for control input edges under rewrite context, the parent control flow context is lost. (#23446)
PiperOrigin-RevId: 219724472
2018-11-01 18:35:10 -07:00
Todd Wang
8ce231a8eb
Update version to 1.12.0 final (#23444) 2018-11-01 18:12:13 -07:00
Todd Wang
4cdcadc623
AsyncCheckpoints: Add missing 'self' arg to write_graph_fn. (#23439)
PiperOrigin-RevId: 219365527
2018-11-01 16:56:56 -07:00
Todd Wang
748435b8ef
Fixed the issue that each invocation of model.fit/evaluate/predict modifies the (#23280)
graph.

PiperOrigin-RevId: 218793646
2018-10-25 20:26:00 -07:00
Todd Wang
f90c2141ce
Upgrade setuptools before clean pip install pulls in absl-py. (#23276)
absl-py recently added a version dependency to the package, causing
install to fail on the old setuptools

PiperOrigin-RevId: 218783878
2018-10-25 18:36:15 -07:00
Todd Wang
b58290fc60
Allow empty GCS tokens to be cached. (#23275)
PiperOrigin-RevId: 217159671
2018-10-25 18:11:56 -07:00
Todd Wang
40dd7b0096
Upgrade setuptools before installing absl-py. (#23266)
PiperOrigin-RevId: 218471042
2018-10-25 14:06:44 -07:00
Todd Wang
405b346080
Fp16 LSTMBlocKCell and LSTMBlockFusedCell (#23267)
PiperOrigin-RevId: 216632480
2018-10-25 13:56:08 -07:00
Todd Wang
37a2e36733
Upgrade setuptools before installing absl-py in remaining scripts. (#23264)
PiperOrigin-RevId: 218730741
2018-10-25 12:49:30 -07:00
Todd Wang
a315296d57
Don't set TF_PER_DEVICE_MEMORY_LIMIT_MB as a --test_env if it isn't specified. (#23258)
PiperOrigin-RevId: 218634344
2018-10-25 10:44:18 -07:00
Todd Wang
43ec5a3d6e
Fix string comparison (#23237)
PiperOrigin-RevId: 218607372
2018-10-24 18:29:31 -07:00
Nick Felt
e3f4d32490 Update tensorboard dependency to 1.12.x (#23230)
Also updated tb-nightly to +1 minor version, 1.13.x.

PiperOrigin-RevId: 218582588
2018-10-24 18:01:36 -07:00
Todd Wang
e72c9ebe78
1.12.0-rc2 cherry-pick request: Various XLA scatter improvements. (#23235)
* [XLA] Update Tf2Xla bridge to use Scatter HLO.

PiperOrigin-RevId: 215687800

* [XLA:GPU] Add an implementation of scatter for GPU

This simple has a kernel that runs on every element of the updates tensor,
figure out the right indices to perform the update, and applies it with an
atomic operation.

Currently we emit a CAS for plain (i.e. non-add) updates, which is inefficient.
Also TuplePointsToAnalysis doesn't know that it should alias the operand and
output buffers of a scatter, which would avoid a copy.

PiperOrigin-RevId: 216412467

* [XLA] Allow scatter to share the operand buffer with the output

This avoids a copy.

PiperOrigin-RevId: 216437329

* [XLA:GPU] Elide the SequentialThunk when emitting scatter with no copy

We have a 1-element thunk sequence if we're not copying. That's still two
thunks and hlo profiling gets confused if it sees two thunks for the same
instruction and one of them claims to be the whole instruction.

PiperOrigin-RevId: 216448063

* [XLA:GPU] Allow input fusion into scatter

We fuse everything into the scatter now, and emit two kernels. The first kernel
fills the output buffer with the computation fused into the scatter operand.
The second kernel is a regular scatter, which also contains the fused
operations from the updates and scatter_indices inputs.

PiperOrigin-RevId: 216624225

* [XLA:GPU] Adding a test case for Scatter where GPU implementation fails.

PiperOrigin-RevId: 216798034

* [XLA:GPU] Fix scatter oob check computation

This was comparing the index after adding it to the window, and then comparing
against the window dimension. This means that the bounds check was only correct
for the first element of a window. Instead compare the scatter index, which is
the same for all elements of a window.

PiperOrigin-RevId: 216921512

* [XLA:GPU] Elide tuple roots of the entry computation

The tuple buffer is never read, so stop emitting code to fill it. A typical
root tuple consists of a H2D memcpy and a host callback, both of which are
somewhat slow.

This helps tiny models and inference benchmarks, where the host/device syncs
can be a significant part of the runtime of the entire computation.

PiperOrigin-RevId: 216968475
2018-10-24 17:46:03 -07:00
Todd Wang
da1b48ddd0
Declare that stateless random ops are not differentiable in C++ code. (#23227)
PiperOrigin-RevId: 215935319
2018-10-24 16:39:49 -07:00
Goldie Gadde
070e0081fa
Merge branch 'r1.12' into update-version 2018-10-24 13:34:24 -07:00
Goldie Gadde
827994f104
Merge branch 'r1.12' into update-version 2018-10-23 09:48:58 -07:00
Anna Revinskaya
185ae29da7 Update V2 golden as well 2018-10-22 19:06:15 -07:00
Anna Revinskaya
9fa2e774d3 Removed unused import 2018-10-22 18:47:25 -07:00
Anna R
3f9564a8b9 Merging confusion_matrix naming 2018-10-22 15:40:53 -07:00
Todd Wang
e40642fb03
Support fp16 types in ScatterNd GPU version (#23141)
PiperOrigin-RevId: 217749577
2018-10-20 18:43:02 -07:00
Todd Wang
238bf3f5a5
Async checkpointing: Save the graph in a background thread. (#23139)
PiperOrigin-RevId: 217747382
2018-10-20 18:22:35 -07:00
Todd Wang
20b53f7fe5
Fix triggering of asynchronous checkpoints. (#23138)
PiperOrigin-RevId: 217570792
2018-10-20 18:02:12 -07:00
Todd Wang
4b4052c90e
Check for the presence of a Worker machine when reassigning hooks in distributed (#23116)
training jobs.

PiperOrigin-RevId: 217407558
2018-10-20 16:17:55 -07:00
Goldie Gadde
878e98c1ab Update TF 1.12 version to 1.12-rc2 2018-10-19 13:52:44 -07:00
annarev
b379cecbdc Include .inc files for absl headers (#23081) 2018-10-18 14:04:48 -07:00
Goldie Gadde
7b08198113 Update version information in preparation for 1.12.0-rc1 (#23028) 2018-10-16 10:14:23 -07:00
Todd Wang
aa9bb45cc8
Explicitly set jdk8 in ci_parameterized_build.sh (#22956)
PiperOrigin-RevId: 216946217
2018-10-12 17:55:19 -07:00