Commit Graph

35 Commits

Author SHA1 Message Date
David Dunleavy
068cfff65d Move tsl/BUILD, tsl.bzl, and tsl.default.bzl to XLA
PiperOrigin-RevId: 623215553
2024-04-09 11:15:11 -07:00
David Dunleavy
6a9ceaedc5 Minimize number of Copybara transforms that operate on tensorflow/third_party
PiperOrigin-RevId: 621679504
2024-04-03 17:42:26 -07:00
A. Unique TensorFlower
aa6da142f3 Merged commit includes the following changes:
619575611  by A. Unique TensorFlower<gardener@tensorflow.org>:

    Run buildifier on all files where it sorts loads differently

--
619498661  by A. Unique TensorFlower<gardener@tensorflow.org>:

    [XLA:GPU][IndexAnalysis] Rename GetDefaultThreadIdToOutputIndexingMap to GetDefaultThreadIdIndexingMap.

    The "output" part was a bit confusing. We use this function for threadId->input
    mapping as well.

--
619490165  by A. Unique TensorFlower<gardener@tensorflow.org>:

    Convert S8 to BF16 in one step without going though F32.

--

PiperOrigin-RevId: 619575611
2024-03-27 18:00:18 +00:00
Jake Harmon
132c98b29c Vendor XLA/TSL into TensorFlow as Bazel dependencies
This marks an important step towards delivering OpenXLA, Google’s OSS-based unified ML software infrastructure.

PiperOrigin-RevId: 563177047
2023-09-06 12:12:29 -07:00
Mihai Maruseac
26d4d3c00e Internal tooling change resulting in BUILD reorder.
All dep lists must now be sorted.

PiperOrigin-RevId: 520759633
2023-03-30 15:37:00 -07:00
TensorFlower Gardener
24c8136730 Merge pull request #58879 from Vertexwahn:remove-template-rule2
PiperOrigin-RevId: 498449215
2022-12-29 14:34:34 -08:00
Jake Harmon
bab22fd25c Replace TF configs in third_party with TSL configs
PiperOrigin-RevId: 495200838
2022-12-13 20:53:49 -08:00
Vertexwahn
5295345df1 Switch to skylib expand_template
template_rule and expand_template serve the same purpose.
Both rules are used at different places.
This commit is part of an ongoing effort to remove all apperances of
template_rule, since expand_temple from Skylib is unit tested
and can also be used in other projects.
2022-12-13 21:25:09 +01:00
wcn
d8a85e6638 Internal-only change to BUILD files
PiperOrigin-RevId: 489204515
2022-11-17 07:20:54 -08:00
A. Unique TensorFlower
c1460057f9 Fixed header guards to match style guide conventions.
PiperOrigin-RevId: 471093537
2022-08-30 14:44:45 -07:00
Mickaël Salamin
6b4976b3bf Fix build of hwloc for --config=numa 2022-05-18 16:18:02 +02:00
Laura Pak
eb6880909a Update hwloc from hwloc-2.0.3 to hwloc-2.7.1.
PiperOrigin-RevId: 444912107
2022-04-27 11:04:10 -07:00
Itai Zukerman
8fa1dfaa38 BUILD.bazel files in //third_party/name were by convention copied to the
root of the 3P repository.  But BUILD.bazel was also being interpreted by
bazel as the BUILD file for the //third_party/name folder, which is wrong.

This change renames those files to name.BUILD, a convention already being
used by some packages.

PiperOrigin-RevId: 409278565
Change-Id: Ib99c3474ec0b20d04cdb9d828f68c8303caec5fe
2021-11-11 17:08:47 -08:00
Itai Zukerman
865f0fff01 Replaced pairs of URLs with the tf_mirror_urls helper in TF OSS workspace files.
PiperOrigin-RevId: 409175589
Change-Id: Ib634a7a99477cfce4271b4a58f6cda5f5be69017
2021-11-11 10:04:37 -08:00
Andrew Goodbody
243d122ef8 Fix build failure due to undefined reference to hwloc_linuxio_component on aarch64 2021-03-12 14:59:00 +00:00
Christian Sigg
5353e37cfc Remove third_party_http_archive.
Replace calls to `third_party_http_archive` with calls to `tf_http_archive` alias.

Disable 'mirror.tensorflow.org' check. A number of users don't seem to follow the requirements, which were not checked correctly before.

This wasn't discovered by presubmits because the check is in the repo rule, which only triggers if the repo is actually used.

PiperOrigin-RevId: 359355039
Change-Id: Ieddab6fd91b96e6e22afccdad21c8fa30b795ff4
2021-02-24 13:30:37 -08:00
William D. Irons
c639437db1 Fix hwloc build for ppc64le
This commit: https://github.com/tensorflow/tensorflow/commit/41df105#diff-6fb2e55075204b47da0460ea2abbc32f
broke the CPU unit test build for ppc64le. The compiler error was:

.../libexternal_Shwloc_Slibhwloc.so: error: undefined reference to 'hwloc_linux_component'
.../libexternal_Shwloc_Slibhwloc.so: error: undefined reference to 'hwloc_linuxio_component'

These methods are defined in topology-linux.c, adding the necessary bazel select statement
so they are built during a ppc64le build.
2020-01-06 20:15:42 +00:00
George Grzegorz Pawelczak
41df105ff5 Fix compilation of hwloc 2019-12-11 16:50:14 +00:00
Frank Chen
2b5ece29d3 Mechanical replacement of mirror.tensorflow.org with https equivalent.
PiperOrigin-RevId: 259676414
2019-07-23 22:26:09 -07:00
Jacques Pienaar
58d847b673 Avoid using kwarg arguments in BUILD file.
Avoids the following error:
hwloc/BUILD.bazel:48:53: **kwargs arguments are not allowed in BUILD files. Pass the arguments in explicitly.

PiperOrigin-RevId: 254756341
2019-06-24 08:11:00 -07:00
TensorFlower Gardener
3d0913740b Merge pull request #30006 from arrowd:master
PiperOrigin-RevId: 254434635
2019-06-21 11:54:36 -07:00
Gleb Popov
40207666f1 Add cases for FreeBSD in third_party/hwloc/BUILD.bazel 2019-06-20 16:07:56 +04:00
Gleb Popov
7ab834a58b hwloc: Include Linux or FreeBSD symbols depending on OS we are compiling on. 2019-06-19 22:11:17 +04:00
A. Unique TensorFlower
e44f32560d Apply 'buildozer fix moveLicensesAndDistribs movePackageToTop' to all BUILD files.
PiperOrigin-RevId: 249812574
2019-05-24 04:53:01 -07:00
Jason Zaman
00201d244b systemlibs: unbundle hwloc
Signed-off-by: Jason Zaman <jason@perfinion.com>
2019-04-16 01:10:24 +08:00
Gunhan Gulsoy
b5d67b7c69 Move all TF bazel dependencies to use mirror.tensorflow.org.
PiperOrigin-RevId: 240852310
2019-03-28 14:31:12 -07:00
A. Unique TensorFlower
21425b4121 Fix incompatibility with future Bazel
The + operator on dictionaries will be removed
See https://github.com/bazelbuild/bazel/issues/6461

PiperOrigin-RevId: 236656561
2019-03-04 08:30:08 -08:00
TensorFlower Gardener
fc5a98c8e4 Merge pull request #26220 from wdirons:fix_hwloc_build_for_non_x86_platforms
PiperOrigin-RevId: 236378802
2019-03-01 14:55:42 -08:00
William D. Irons
7c18a18a5f Include all x86 defines macros for hwloc
Copied from tensorflow/core/platform/platform.h#L59
Look for both gcc/clang and Visual Studio macros indicating we're compiling
for an x86 device.
2019-02-28 17:48:27 +00:00
William D. Irons
2290c64967 Fix hwloc build for non x86 platforms
Commit a6bf9c8476 yesterday triggered the building of hwloc in TensorFlow.
While many platforms (windows, mac, android) were excluded from building
hwloc, others like ppc64le and raspberry pi still tried to build hwloc.

This fails because hwloc references x86 specific files. Instead of excluding
those platforms from building with hwloc, lets add conditions to only include
the x86 files during a build on the x86 platform. This might enable the
other platforms to still take advantage of hwloc function.
2019-02-27 22:18:12 +00:00
Koan-Sin Tan
d624b1d75a remove HAVE_XLOCALE_H in hwloc BUILD.bazel
xlocale.h is not a standard header and is not shipped with newer
glibc
2019-02-27 13:38:47 +08:00
Gunhan Gulsoy
a57b2f36e9 Fix the license file name in hwloc archive.
PiperOrigin-RevId: 235804290
2019-02-26 15:35:05 -08:00
Gunhan Gulsoy
c7fd42e2d5 Fixes for hwloc build files.
PiperOrigin-RevId: 232033559
2019-02-01 14:06:42 -08:00
Gunhan Gulsoy
b682bdd374 Add config file generation for linux to hwloc library build file
PiperOrigin-RevId: 230810209
2019-01-24 16:44:28 -08:00
Gunhan Gulsoy
040ee45aa8 Add hwloc dependency package to TF build
PiperOrigin-RevId: 225493211
2018-12-13 23:21:00 -08:00