Commit Graph

68 Commits

Author SHA1 Message Date
TensorFlower Gardener
64a6966e9a Merge pull request from a6802739:environment_capture
PiperOrigin-RevId: 249262596
2019-05-21 09:24:48 -07:00
serv-inc
ad10339dad also update the tf_env_collect script to work with 2.0 2019-04-05 14:37:46 +02:00
Yuxin Wu
813412f4c5
DEBUG_LD -> LD_DEBUG 2019-03-21 20:09:50 -07:00
blairhan
acf46746ce type-o error fixed 2019-03-20 01:16:50 +09:00
a6802739
14f5227d37 add python and os information in environment capture script 2019-02-18 18:45:04 +08:00
Jason Zaman
b41761c499 Update to bazel-0.18.0 and use try-import
Bazel-0.18.0 adds a try-import option that will non-fatally try and
import a file. Use this for the configure options so that .bazelrc does
not need to change. ./configure rewriting .bazelrc makes using the git
repo annoying because the file is changed.

The allowed bazel range is now 0.18.0-0.20.0 inclusive. The env var
TF_IGNORE_MAX_BAZEL_VERSION can be set to skip the max bazel version
check.

Also optionally import a /.bazelrc.user file that is gitignored so
user-specific options can go in there.

Fixes: https://github.com/tensorflow/tensorflow/issues/22762
Fixes: https://github.com/tensorflow/tensorflow/pull/22906
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-12-05 08:34:07 +08:00
Gunhan Gulsoy
eea816869a Automated rollback of commit 72f193b5c9
PiperOrigin-RevId: 222910206
2018-11-26 16:58:44 -08:00
A. Unique TensorFlower
72f193b5c9 Automated rollback of commit 54dc404a7d. Revert .
PiperOrigin-RevId: 222548550
2018-11-22 09:03:34 -08:00
Sami Kama
6ee836b862 Review changes 2018-11-19 09:55:37 -08:00
Sami Kama
b51ad2408b Add option to disable nccl 2018-11-16 14:16:23 -08:00
Gunhan Gulsoy
ce126591bd Fix the macro definition flag for dynamic_kernels config option.
PiperOrigin-RevId: 217765509
2018-10-18 14:17:02 -07:00
Gunhan Gulsoy
6cd6115a7b Automated rollback of commit a98b34414f
PiperOrigin-RevId: 217572495
2018-10-17 13:08:49 -07:00
Jason Zaman
c11b5458f8 Revert "Move bazel.rc to workspace root to support bazel-0.18.0"
This reverts commit a74a3217f7.

Bazel-0.18.0 is changing where it searches for .bazelrc files.
Originally it was removing /tools/bazel.rc and only using /.bazelrc.
This causes issues for gitignoring /.bazelrc and 0.18.0 has temporarily
added tools/bazel.rc back to the list until 0.19. The long term solution
is to use try-import but that statement is new in 0.18 and we are not
going to bump TF's minimum right away. When 0.19 is out things will need
to be changed back and the minimum bumped to 0.18.

Fixes: https://github.com/tensorflow/tensorflow/issues/22762
Fixes: https://github.com/tensorflow/tensorflow/pull/22906
Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-10-14 13:59:17 +08:00
Jason Zaman
a74a3217f7 Move bazel.rc to workspace root to support bazel-0.18.0
Bazel 0.18.0 will contain a change for which rc files it accepts.
ec83598cb6
https://github.com/bazelbuild/bazel/issues/4502

Old bazel used to read %workspace%/tools/bazel.rc. New bazel will not
read that and instead will only read %workspace%/.bazelrc.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-09-28 23:40:29 +08:00
TensorFlower Gardener
62e60166de Merge pull request from ROCmSoftwarePlatform:upstream-staging
PiperOrigin-RevId: 214793113
2018-09-27 10:22:55 -07:00
Gunhan Gulsoy
3da0dff642 Remove verbs, gdr and ngraph questions in configure script.
PiperOrigin-RevId: 214643700
2018-09-26 12:00:41 -07:00
A. Unique TensorFlower
c63d21b0bf Adds a build flag to enable MKL (mkl_enabled=true).
PiperOrigin-RevId: 214557082
2018-09-25 23:02:36 -07:00
Jason Zaman
05b43db45d systemlibs: allow building with PREFIX other than /usr
Some use-cases want to build packages in a different path than /usr. For
example to have a set of packages independent from other system
binaries. This change allows building with bazel build
--define=PREFIX=/some/other/path to search that path instead. The
default of /usr is set in bazelrc so that building with no options will
work as before and setting PREFIX on the commandline or later in the
bazelrc will override that setting if desired. PREFIX is not used by the
bundled build so should not affect that at all.

This also adds a few other standard Make variables that can be
overridden independently if needed.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2018-09-22 10:31:26 +08:00
Wen-Heng (Jack) Chung
69d3b8faf4 [ROCm] bazel build system and continuous integration logic
The commit contains following components to support TensorFlow on ROCm platform

- bazel build system
- continuous integration logic

Authors:

- Jack Chung: jack.chung@amd.com
- Jeffrey Poznanovic: Jeffrey.Poznanovic@amd.com
- Peng Sun: Peng.Sun@amd.com
2018-09-05 23:50:51 +00:00
Ilya Biryukov
1c3d02eb35 Use LLD when building with downloaded GPU toolchain
This improves build times when using the downloaded clang toolchain.

Additionally, remove '-B/usr/bin' flags from the cuda CROSSTOOL when using
the downloaded toolchain.
It was forcing 'clang' to first search for the linker in '/usr/bin',
preventing downloaded LLD from being selected.

PiperOrigin-RevId: 211430374
2018-09-04 03:15:01 -07:00
TensorFlower Gardener
c26c9e6caa Merge pull request from hermanzdosilovic:patch-1
PiperOrigin-RevId: 207647916
2018-08-06 19:09:57 -07:00
Gunhan Gulsoy
5a5e42e575 Add a config option "dynamic_kernels" to build kernels in separate dsos.
PiperOrigin-RevId: 207327254
2018-08-03 15:01:06 -07:00
Herman Zvonimir Došilović
04a8b8ae9d
Update bazel.rc 2018-07-26 02:17:31 +02:00
Herman Zvonimir Došilović
348c4696d2
Merge branch 'master' into patch-1 2018-07-26 00:03:07 +02:00
TensorFlower Gardener
4a00a65805 Merge pull request from Intel-tensorflow:mabuzain/avx-performance-fix
PiperOrigin-RevId: 204530874
2018-07-13 14:42:57 -07:00
A. Unique TensorFlower
ab39198ace Add CROSSTOOL for Windows GPU build with nvcc compiler
After this change, to build TensorFlow with GPU support on Windows, you just need to follow the same procedure as Linux.

Also re-enable remote cache since the bug in b/111106393 has been fixed by the new wrapper script.

The clean-up of the wrapper scripts also made the build around 5 mins faster than using Bazel's msvc wrapper script.

PiperOrigin-RevId: 204105368
2018-07-11 04:59:54 -07:00
Mahmoud Abuzaina
64117da0c3 Fixing AVX performance issue 2018-07-05 13:56:22 -07:00
Herman Zvonimir Došilović
cc1c870f97
Removed duplicated line in bazel.rc 2018-06-29 17:53:03 +02:00
Amit Patankar
3c87b99d8c Remove --distinct_host_configuration=false from tools/bazel.rc
Don't use --distinct_host_configuration=false by default, because it would break cross compiling, like android build and Raspberry Pi build.

Instead, we add it for builds that we know they have the same host and target platforms.

PiperOrigin-RevId: 199194260
2018-06-04 14:28:52 -07:00
A. Unique TensorFlower
6f971fb184 Adding --distinct_host_configuration=false in tools/bazel.rc
When building TensorFlow, the host and target platforms are usually the same. So we don't have to distinct them by default. This helps avoid building the same targets twice.

If we need to do cross compilation, add --config=cross-compile to distinct them.

PiperOrigin-RevId: 196673728
2018-05-15 08:41:22 -07:00
Ilya Biryukov
9e651e4571 Allow to download clang and use clang for CPU builds.
Previously we only allowed to download clang when doing GPU builds.

The added skylark files use bazel's autoconf scripts, which were only added in
0.10.0. To provide nice error message for older versions of bazel
(i.e. 'version is less than 0.10' vs 'can't load @bazel_tools/cpp/...'), we
move the bazel version check into WORKSPACE file from workspace.bzl.

PiperOrigin-RevId: 190050798
2018-03-22 05:36:18 -07:00
Austin Anderson
0f68a22758 Add --fat_apk_cpu=arm64-v8a for arm64 Android builds
Bazel silently uses the wrong build settings for --config=android_arm64 (--cpu=arm64-v8a is not enough), and actually still uses armeabi-v7a in at least some cases. --fat_apk_cpu fixes this.

See  for more.

PiperOrigin-RevId: 181525260
2018-01-10 15:21:40 -08:00
Michael Case
d31531af15 Move some build configs to tools/bazel.rc from configure.py
Moving --config=android_arm --config=mkl and --config=monolithic
build configs into tools/bazel.rc. These options are just always
written the same way to .bazelrc when configure.py is run. This
should trim down the scope of configure.py and make it easier to
build TF without running configure.py prior.

PiperOrigin-RevId: 180973131
2018-01-05 14:13:39 -08:00
Yifei Feng
b1d8c59e9b Merge changes from github.
PiperOrigin-RevId: 176695926
2017-11-22 13:50:02 -08:00
Yifei Feng
e70c00950d Automated g4 rollback of changelist 176615107
PiperOrigin-RevId: 176622438
2017-11-22 00:42:30 -08:00
Yifei Feng
c6d603f02e Merge changes from github.
PiperOrigin-RevId: 176615107
2017-11-21 23:36:22 -08:00
A. Unique TensorFlower
061c3597b8 Upgrade gRPC version used in OSS. Fix-forward of . Remove namespace-compatibility hack.
PiperOrigin-RevId: 175586521
2017-11-13 14:25:14 -08:00
Michael Case
0017742dd0 Clean up some redundant and unused build settings.
--copts are passed to both c++ and c (so is redundent with --cxxopts).
Configs passed to "bazel build" are inherited by "bazel run" and "bazel test".
Also removed some unused configs.

PiperOrigin-RevId: 175326697
2017-11-10 16:47:55 -08:00
Jonathan Hseu
9cc871e81c Merge changes from github.
END_PUBLIC

---
Commit daa67ad17 authored by Jonathan Hseu<vomjom@vomjom.net>
Committed by Frank Chen<frankchn@gmail.com>:
Remove unittest import ()

---
Commit 491beb74c authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BEGIN_PUBLIC
Automated g4 rollback of changelist 162423171

PiperOrigin-RevId: 162541442
2017-07-19 15:12:25 -07:00
A. Unique TensorFlower
50b999a833 Merge changes from github.
PiperOrigin-RevId: 160344052
2017-06-27 16:37:09 -07:00
A. Unique TensorFlower
1fa73c53ab Automated g4 rollback of changelist 160182040
PiperOrigin-RevId: 160190881
2017-06-26 14:04:35 -07:00
A. Unique TensorFlower
f3c89936e9 Merge changes from github.
END_PUBLIC

Note: this CL will break builds.  cl/159887762 to follow to fix all the breakages.

---
Commit 2336cdf7f authored by Maxwell Paul Brickner<mbrickn@users.noreply.github.com>
Committed by gunan<gunan@google.com>:
Updated link to use HTTPS ()

Howdy!

I just updated a link to use https instead of http.

Thanks!
---
Commit ad0892df1 authored by Luke Iwanski<luke@codeplay.com>
Committed by Luke Iwanski<luke@codeplay.com>:
[OpenCL] Fixes run_metadata_test for SYCL

 This test is designed to test CUDA specific behavior

---
Commit 6b37a0725 authored by Todd Wang<toddwang@gmail.com>
Committed by GitHub<noreply@github.com>:
Update comments
---
Commit 1699d904a authored by John Lawson<john@codeplay.com>
Committed by Luke Iwanski<luke@codeplay.com>:
[OpenCL] Fixes CUDA specific test run on SYCL ()

The testBadParentValuesOnGPU should only be run on CUDA devices, as the
test checks for particular CUDA behaviour. We don't actually provide a
SYCL kernel for GatherTree and so it's not a problem that the tests
don't target SYCL.
---
Commit 3c1946230 authored by myPrecious<Moriadry@users.noreply.github.com>
Committed by Shanqing Cai<cais@google.com>:
Java API to get the size of specified input list of operations. ()

* Java API to get the size of specified input list of operations

* remove unnecessary explain to avoid bring a new term to users.

---
Commit e911c7480 authored by Luke Iwanski<luke@codeplay.com>
Committed by Luke Iwanski<luke@codeplay.com>:
[OpenCL] REGISTER -> REGISTER6

---
Commit fbf6c4cec authored by superryanguo<superryanguo@gmail.com>
Committed by superryanguo<superryanguo@gmail.com>:
Simplify the Quickstart section with the weblink is better

---
Commit 72e2918cc authored by Taehoon Lee<taehoonlee@snu.ac.kr>
Committed by Taehoon Lee<taehoonlee@snu.ac.kr>:
Fix typos

---
Commit 90c4406b7 authored by Rishabh Patel<patelrishabh@users.noreply.github.com>
Committed by GitHub<noreply@github.com>:
Correct the learning rate as per the code snippet
---
Commit 03da61134 authored by Todd Wang<toddwang@gmail.com>
Committed by GitHub<noreply@github.com>:
Update ir_array.cc
---
Commit 2df6cd3ac authored by Todd Wang<toddwang@gmail.com>
Committed by GitHub<noreply@github.com>:
Another try
---
Commit af0cbace1 authored by Luke Iwanski<luke@codeplay.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
[OpenCL] Transpose to go through Eigen ()

---
Commit fc7361081 authored by Luke Iwanski<luke@codeplay.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
[OpenCL] Registers RGBToHSV and HSVToRGB () ()

* [OpenCL] Added RGBToHSV and HSVToRGB

* Aligning '\'
---
Commit 832894ef8 authored by Luke Iwanski<luke@codeplay.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
[OpenCL] Registers AdjustContrastv2 ()

* [OpenCL] Registers AdjustContrastv2 ()

* [OpenCL] Extended adjust_contrast_op_benchmark_test for OpenCL ()

* [OpenCL] Extended adjust_contrast_op_benchmark_test for OpenCL

* simplified to #ifndef

* Changed to "#if GOOGLE_CUDA"

* Update adjust_contrast_op_benchmark_test.cc

* Added comments

---
Commit cb4c2f8d1 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Make TransferBufferToInFeed not virual so it compiles.

---
Commit e89f04d80 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Fix calling Literal member functions.

---
Commit 15a8df724 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Fix mac build
clone from meheff's change:
[XLA] Change return type of DeviceAssignment::Deserialize to fix build
breakage on mac.
The mac build had the following error:

error: incomplete type 'xla::DeviceAssignment' used in type trait
expression

This was due to a static method returning a StatusOr<DeviceAssignment>
inside of the definition of DeviceAssignment.

---
Commit a54d43fa4 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Replace LiteralUtil to Literal in compiler/plugin/executor

---
Commit 88a6bb80c authored by Guenther Schmuelling<guschmue@microsoft.com>
Committed by Guenther Schmuelling<guschmue@microsoft.com>:
expand inline for debug builds to limit number of symbols

---
Commit 62fb49d31 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Fix visibility error for contrib/remote_fused_graph/pylib/BUILD.

---
Commit 4c75252f2 authored by Mark Neumann<markn@allenai.org>
Committed by Mark Neumann<markn@allenai.org>:
fix initial test values to avoid numerical instability

---
Commit b58d98353 authored by sj6077<epik03sj@gmail.com>
Committed by Benoit Steiner<benoitsteiner@users.noreply.github.com>:
Fixes of AutoParallel bug ()

* Fix the bug that auto_parallel could replicate variable snapshot name

* Use NodeName in grappler:utils instead of substr, convert variables->variable_def of grappler item

* remove variable_def from grappler item, exclude snapshot nodes from dont_replicate_nodes in auto_parallel

---
Commit a286b7db8 authored by Yifei Feng<yifeif@google.com>
Committed by Yifei Feng<yifeif@google.com>:
Make debug_test slice integer.

---
Commit 97fcfdfa6 authored by Toby Boyd<tobyboyd@google.com>
Committed by GitHub<noreply@github.com>:
Fixed path to seq2seq.py and minor formatting
---
Commit 63c1befb8 authored by Anish Shah<shah.anish07@gmail.com>
Committed by Anish Shah<shah.anish07@gmail.com>:
Improve docs for tf.nn.depthwise_conv2d_native

---
Commit 8d42202b2 authored by Yong Tang<yong.tang.github@outlook.com>
Committed by Yong Tang<yong.tang.github@outlook.com>:
Fix mismatched delete in mkl_tfconv_op.cc

This fix fixes mismatched new[]-delete in mkl_tfconv_op.cc

(the file went through clang-format so there are some additional
changes)

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

---
Commit 26301bd55 authored by Danny Goodman<goodman.danny@gmail.com>
Committed by Danny Goodman<goodman.danny@gmail.com>:
fix error format

---
Commit b3f33ad46 authored by Yao Zhang<yaozhang@google.com>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Make changes to prepare for the fused option of batch norm to be set to None (None means using fused batch norm if possible).

PiperOrigin-RevId: 159649743

---
Commit a4a469832 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
[XLA] Add tests for select ops and while loops that produce tuples that contain predicates.

PiperOrigin-RevId: 159645900

---
Commit 980d3f2be authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Use C API to implement Operation.name property

This name property is used in many existing tests including those that
already run with C API enabled (math_ops_test, framework_ops_test,
session_test, session_partial_run_test, math_ops_test_gpu, etc).

PiperOrigin-RevId: 159645767

---
Commit 26239c706 authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
Previously we didn't have an implementation of BatchNormInference and BatchNormTraining, which gives a linker error if anyone ever tries to call that. A dummy implementation is friendlier than a linker error.

PiperOrigin-RevId: 159645612

---
Commit f671c5caa authored by A. Unique TensorFlower<gardener@tensorflow.org>
Committed by TensorFlower Gardener<gardener@tensorflow.org>:
BEGIN_PUBLIC
Automated g4 rollback of changelist 159570549

PiperOrigin-RevId: 160182040
2017-06-26 12:57:46 -07:00
Benoit Steiner
ee112cff56 Merge changes from github.
PiperOrigin-RevId: 155709893
2017-05-11 11:02:28 -07:00
Yifei Feng
0632564172 Remove deleted files. 2017-05-05 16:43:23 -07:00
A. Unique TensorFlower
87ffdd2d50 Internal change
Change: 154978617
2017-05-03 11:30:55 -07:00
A. Unique TensorFlower
aaa5600245 Fix issue related to empty bazel.rc file.
Change: 154840138
2017-05-02 09:49:37 -07:00
A. Unique TensorFlower
8d393ea2fa Add cuda_clang build configuration that allows to use clang as a CUDA compiler.
Change: 151705528
2017-03-30 08:54:57 -07:00
Andrew Harp
3e975ea978 Merge changes from github.
Change: 148954491
2017-03-01 18:08:24 -08:00
Benoit Steiner
639b4e71f5 Merge changes from github.
Change: 146918929
2017-02-08 09:50:05 -08:00
Gunhan Gulsoy
acdbd68986 Create --config opt for compiling fully optimized binaries.
Change: 144609556
2017-01-16 01:47:31 -08:00