Commit Graph

22 Commits

Author SHA1 Message Date
Vijay Vasudevan
761e6de435 Cherry-pick into r0.10 cuda configure fix and gif.BUILD missing headers (#4041)
* Add missing headers to gif BUILD definition.

% :.../gif/giflib-5.1.4/lib$ ls
dgif_lib.c  gif_err.c	gif_hash.h	   Makefile.am	 openbsd-reallocarray.c
egif_lib.c  gif_font.c	gif_lib.h	   Makefile.in	 quantize.c
gifalloc.c  gif_hash.c	gif_lib_private.h  Makefile.unx
Change: 131121931

* cuda_configure: Use env variables that match those used in configure script. (#4034)

Issue #4002
2016-08-25 11:35:11 -07:00
gunan
58b37cf745 Add cuda_configure repository rule to autodetect cuda. (#3966)
This change reimplements the CUDA autoconfiguration mechanism in Skylark,
providing a `cuda_configure` workspace rule. We keep the same user interface,
the ./configure script, but rather than modifying source files within the
source tree, `cuda_configure` generates a `@local_config_cuda` workspace
containing:

* Symlinks to the CUDA headers and libraries
* BUILD files generated with the correct CUDA and cuDNN versions
* CROSSTOOL config with CUDA include dirs populated
* crosstool_wrapper_driver_is_not_gcc wrapper script with compiler paths and
  CUDA compute capabilities set.
* cuda_config.h header file with CUDA versions and compute capabilities set,
  which can be `#include`d by source files.

This change also makes the following fixes to `Dockerfile.gpu`:
* Change the `CUDNN_INSTALL_PATH` to point to `/usr/lib/x86_64-linux-gnu`
  rather than `/usr/local/cuda` since NVIDIA's image installs `libcudnn.so`
  under `/usr/lib/x86_64-linux-gnu`.
* Add env variable to set the minimum compute capability to 3.0.

Fixes #2873
2016-08-22 23:15:02 -07:00
Shanqing Cai
a81c4f9cd0 Add Mac GPU whl artifacts and build history to OSS README.md
Also
* A minor wording fix in the configure script
Change: 128194769
2016-07-22 11:46:09 -07:00
A. Unique TensorFlower
533d891cf6 Merge changes from github.
Change: 126335170
2016-06-30 13:19:20 -07:00
Vijay Vasudevan
22c111c34c Merge changes from github.
Change: 123427036
2016-05-27 09:49:08 -07:00
A. Unique TensorFlower
ed65e69560 File system implementation for Google Cloud Storage.
This code implements a file system for file paths starting with gs:// using the HTTP API to Google Cloud Storage. No authentication is implemented yet, so only GCS objects with public access can be used.
Change: 122126085
2016-05-11 22:11:51 -07:00
A. Unique TensorFlower
8bf6ef1337 Merge changes from github.
Change: 121586635
2016-05-05 09:41:47 -07:00
Shanqing Cai
de6d48ce92 Check for protobuf submodule in configure
so that the builds can fail fast in cases where the --recurse-submodules flag is missed during git clone.
Change: 121039992
2016-04-28 11:41:12 -07:00
Vijay Vasudevan
80a5a3e653 Merge changes from github.
Change: 118532471
2016-03-29 19:33:33 -07:00
Geoffrey Irving
4c85a08666 Rollforward of "Merge changes from github."
Change: 117375570
2016-03-16 16:21:58 -07:00
Vijay Vasudevan
9a4878cc17 Rollback of: "Merge changes from github."
Change: 117304114
2016-03-16 16:20:04 -07:00
Martin Wicke
3ae663ccc5 Merge changes from github.
Change: 117301677
2016-03-16 16:19:29 -07:00
Eugene Brevdo
56f1d64998 Fix dependencies bugs
Change: 116925769
2016-03-11 11:41:23 -08:00
Vijay Vasudevan
97f6b6fb66 TensorFlow: perl command in configure script was not properly replacing
the cuda/cudnn version strings in build_config.bzl

Addresses issue mentioned in #1052
Change: 115599314
2016-02-25 13:46:10 -08:00
Vijay Vasudevan
fe056f0b5e Merge changes from github.
Change: 114882676
2016-02-17 12:56:41 -08:00
A. Unique TensorFlower
8a59748c08 Use cc_binary rather than cc_library to reduce size of native library in APK from 5.5mb to 3.2mb (compressed).
Change: 113369407
2016-01-29 20:15:13 -08:00
Vijay Vasudevan
9b70316263 Running our linter on a lot of files.
Change: 112920860
2016-01-24 23:06:20 -08:00
Martin Wicke
916776a174 Refer to cuDNN v2 by its proper name, not CUDNN 6.5 V2, as requested by NVIDIA.
Change: 112120651
2016-01-14 07:30:00 -08:00
Vijay Vasudevan
bf6b536bde TensorFlow: Upstream changes to git.
Change 109240606
	Fix typo
Change 109240358
	Fix bug in Concat's shape inference due to legacy scalar handling.

	The shape function was inadvertently converting outputs of unknown
	shape (rank=None) to vectors of unknown length (rank=1), due to
	inability to distinguish between legacy scalars and vectors, because
	`max(1, None)` is 1.
Change 109237152
	Remove numarray requirement in python_config.
Change 109234003
	Fix typo in elu documentation.
Change 109232946
	Python must now be configured via ./configure script
Change 109232134
	Backported fixes to the tensor comparison operators from the public Eigen repository
Change 109231761
	Test invalid inputs to softmax_cross_entropy_with_logits.
Change 109230218
	Backported fixes to the tensor comparison operators from the public Eigen repository
Change 109229915
	Correct comments in seq2seq to show the right input types for embedding models.
	(Thanks to hugman@github for bringing this up.)
Change 109229118
	Fix resize_images example in documentation and allow resize_images to run on a single image with partially-known shape.
Change 109228940
	Fix demo and node add/remove button spacing
Change 109227909
	Include Elu in the NN docs.
Change 109227059
	Adds variable_op_scope and makes variable_scope always add a name_scope.

	This creates an op scope for variables that makes it easy to create independent
	operations with a default name by making that name unique for the current scope
	and it allows explicit names that are not made unique.

Change 109224492
	Streamline yuv -> rgb conversion to be done in one pass in native code.

	The entire process now takes ~2ms (including the ByteBuffer.get() calls), down from 10+ ms when the arrays were being interleaved in Java prior to conversion.

	Also abstracting common yuv->rgb color conversion into helper method.
Change 109224389
	Add ability to move nodes in and out of auxiliary nodes in graph.
Change 109217177
	Update generated Op docs.
Change 109215030
	Implementation of the ELU activation function: http://arxiv.org/abs/1511.07289
Change 109209848
	When GPUBFCAllocator runs out of memory, also log a summary
	of chunks in use by size.
Change 109206569
	Switched to the public version of the Eigen::sign method since it supports complex numbers.
Change 109199813
	Modify tensorflow.SequenceExample to support multiple-length sequences.

Base CL: 109241553
2015-12-02 15:04:40 -08:00
Vijay Vasudevan
4dffee7f62 TensorFlow: Minor updates to docs, BUILD, GPU config / perf, etc.
Changes:
- Updates to op documentation and index by Josh

- More changes to BUILD files for python 3 support by @girving

- Fix to Eigen to use DenseIndex everywhere by @jiayq

- Enable configuration for cuda compute capability by @zheng-xq,
  including updates to docs.

- Route aggregation method through optimizer by schuster

- Updates to install instructions for bazel 0.1.1.

Base CL: 107702099
2015-11-12 11:27:00 -08:00
Manjunath Kudlur
3b8b69f71a TensorFlow: Upstream changes to git.
Changes:
- Doc type fixes.

Base CL: 107356208
2015-11-08 21:41:37 -08:00
Manjunath Kudlur
f41959ccb2 TensorFlow: Initial commit of TensorFlow library.
TensorFlow is an open source software library for numerical computation
using data flow graphs.

Base CL: 107276108
2015-11-06 16:27:58 -08:00