245 Commits

Author SHA1 Message Date
Peter Hawkins
f4ddd3ef88 Update XLA. 2022-06-27 09:14:28 -04:00
Sharad Vikram
217d898124 Update TF version for jaxlib build 2022-06-21 14:34:22 -07:00
Sharad Vikram
9bd1bd67e0 Update versions for jax/jaxlib release 2022-06-21 12:57:28 -07:00
Peter Hawkins
5b7c485ade Update XLA pin. 2022-06-15 09:24:57 -04:00
Peter Hawkins
1e504b36e2 Improve the comment in WORKSPACE describing how to override the TF repository. 2022-06-14 22:25:39 -04:00
Ludger Paehler
e8903d4b47 Bump version of Tensorflow repository to fix build errors in the building of the MLIR compiler where cpp files have been renamed to cc files. 2022-06-12 00:51:10 +00:00
Parker Schuh
c9ba08be71 Bump XLA version to include fix to libtpu.
PiperOrigin-RevId: 451475416
2022-05-27 14:07:57 -07:00
Peter Hawkins
ec41cbe3e9 Bump XLA version.
PiperOrigin-RevId: 450688054
2022-05-24 08:32:28 -07:00
Yash Katariya
dd261bde59 Switch to using C++17
PiperOrigin-RevId: 450559689
2022-05-23 17:15:00 -07:00
Peter Hawkins
ea868b4ffe Update .bazelrc to reflect GPU/TPU build changes.
PiperOrigin-RevId: 449306362
2022-05-17 13:48:55 -07:00
Yash Katariya
6b091b2c47
update workspace TF commit 2022-05-17 09:12:18 -07:00
Yash Katariya
40c61cfe62
Update workspace for jaxlib release for testing 2022-05-06 10:54:38 -07:00
Yash Katariya
38ce6d027b Update TF commit for release
PiperOrigin-RevId: 446555288
2022-05-04 14:42:50 -07:00
Yash Katariya
ff1a3c40ba jax and jaxlib release
PiperOrigin-RevId: 446295827
2022-05-03 14:52:40 -07:00
Peter Hawkins
6b33c55450 2nd attempt at jax/jaxlib 0.3.7 release. 2022-04-15 15:20:02 -04:00
Peter Hawkins
52a97f2e06 Jax 0.3.7 and jaxlib 0.3.7 release. 2022-04-15 12:02:05 -04:00
Yash Katariya
e9f95fa5fa Make jaxlib builds manylinux2014 compliant.
PiperOrigin-RevId: 440497401
2022-04-08 18:51:46 -07:00
Yash Katariya
506a85b7ff Make jaxlib builds manylinux2014 compliant.
PiperOrigin-RevId: 440476417
2022-04-08 16:21:56 -07:00
Peter Hawkins
8b6b736ef3 Revert: Pin a newer @platforms in the Bazel workspace to fix Mac ARM builds.
The @platforms repository has been updated in the @tf_runtime repository, which was pulling in the old version of @platforms. We no longer need to override @platforms in the JAX WORKSPACE.

PiperOrigin-RevId: 440375016
2022-04-08 08:49:00 -07:00
Peter Hawkins
96ba290faf Jax 0.3.5 and jaxlib 0.3.5 release. 2022-04-06 23:56:41 +00:00
Peter Hawkins
d073a0f264 Pin a newer @platforms in the Bazel workspace to fix Mac ARM builds. 2022-04-06 14:43:56 +00:00
Robert Suderman
c8fbe7563e Update tensorflow version to 0dfdb8 2022-03-30 18:44:58 +00:00
Skye Wanderman-Milne
057905bddb Update WORKSPACE for jaxlib 0.3.2 release, take 3
PiperOrigin-RevId: 434789818
2022-03-15 10:30:36 -07:00
Skye Wanderman-Milne
1ba51786c0 Update WORKSPACE for jaxlib 0.3.2, take 2 2022-03-14 15:00:07 -07:00
Skye Wanderman-Milne
ddd7477d1f Update WORKSPACE for jaxlib 0.3.1 2022-03-11 00:51:30 +00:00
Peter Hawkins
81bb526829 Update XLA. 2022-03-08 14:45:35 +00:00
Yash Katariya
ef11d53ff9
Update TF commit for release 2022-02-10 11:33:20 -08:00
Yash Katariya
cabc98c047
update TF commit for release 2022-02-09 16:34:44 -08:00
Yash Katariya
303eec4e02
Cut a new jaxlib release 2022-02-03 10:06:27 -08:00
Peter Hawkins
be2f6a91ec Update XLA for jaxlib 0.1.76 release. 2022-01-27 14:26:16 +00:00
Stella Laurenzo
a3a6afcd5b Internal change
PiperOrigin-RevId: 418960726
2021-12-30 08:11:15 -08:00
Peter Hawkins
66823d1392 Include compute capability 8.0 SASS in jaxlib wheels.
Drop compute capability 6.1 to avoid growing the wheel size.

Also fix an unrelated build error due to a gcc warning in boringssl.
2021-12-14 14:27:19 -05:00
Yash Katariya
b0b853c503
Update WORKSPACE 2021-12-07 07:04:44 -08:00
Yash Katariya
87e49471c0
Update TF commit for jaxlib release 2021-12-03 04:38:22 -08:00
Yash Katariya
20b70aa5e0
Update workspace file for py 3.10 release test 2021-12-02 13:46:46 -08:00
Cloud Han
90c8f03afc update tf to avoid xutility(1607): error C2440: 'return': cannot convert from 'void' to 'llvm::detail::SafeIntIterator<unsigned int,false> 2021-11-25 09:18:35 +08:00
Peter Hawkins
a864c95f09 Update XLA. 2021-11-16 14:53:50 -05:00
Peter Hawkins
ce7ae6bd76 Make MLIR bindings build work under Bazel.
Tested on Linux and Mac, but not Windows.
2021-11-12 12:16:32 -05:00
Peter Hawkins
11f6c535ae Add MLIR:Python bindings to jaxlib build.
PiperOrigin-RevId: 407657331
2021-11-04 13:29:58 -07:00
Yash Katariya
fbdeff0a80 Update the workspace file
PiperOrigin-RevId: 404076864
2021-10-18 15:26:32 -07:00
Skye Wanderman-Milne
49a3b37a44 Update WORKSPACE for jaxlib 0.1.72 release 2021-10-12 12:46:20 -07:00
Adam Paszke
22dce0f483 Add reverse-mode AD support for pjit
This is a somewhat big patch, because the transposition process turns out to be
quite difficult. The biggest issue appears when we do partial evaluation and we have
to add a whole bunch of intermediate values as outputs of the primal computation,
but we don't have any partition specs for them!

A simple workaround would be to mark all of them as replicated, but that would
likely tank performance which is why we didn't go with that option. Instead, we use
a newly added XLA option called `allow_spmd_sharding_propagation_to_output` to compile
a throwaway executable that lets us query output sharding that XLA considers convenient
for the computation.

However, there's one more difficulty: XLA's `OpSharding` is much less constrained
than our `PartitionSpec`s. In particular, while `PartitionSpec`s can only represent
"block permutations" of devices (with blocks deliniated by mesh axes), `OpSharding`
allows arbitrary assignment (permutation) of tensor chunks to devices. This means that
not every `OpSharding` has a corresponding `PartitionSpec`, but I did implement a
(somewhat involved) procedure that should recover one whenever it exists.

Unfortunately this makes our support for reverse-mode AD partial, because we might
be unable to handle `OpSharding` returned by XLA. But this will only happen if XLA
actually comes up with sharding specifications on its own. If it merely propagates
the sharding obtained from `PartitionSpec`s into the middle of the computation, then
we should be good. In any case, if we end up seeing failures in this path, we should
consider relaxing `PartitionSpec`s, but that would be a pretty large change, so I decided
to avoid it unless there's no other way.

PiperOrigin-RevId: 399680306
2021-09-29 07:19:55 -07:00
yashkatariya
67bea579ab Update org_tensorflow commit for jaxlib release 2021-09-01 07:14:48 -07:00
yashkatariya
2ab264dc85 Update workspace org_tensorflow commit 2021-08-13 11:11:50 -07:00
Skye Wanderman-Milne
40ccad8c69 Update WORKSPACE
PiperOrigin-RevId: 389037137
2021-08-05 15:22:28 -07:00
yashkatariya
e54efe73ed Update commit for release 2021-08-04 08:56:55 -07:00
Yash Katariya
42bc8459ed Update the workspace file
PiperOrigin-RevId: 388578250
2021-08-03 17:03:28 -07:00
Sergei Lebedev
a204f545f9 Bumped TensorFlow revision to include xla_extension type stub fixes 2021-08-02 14:57:12 +01:00
yashkatariya
790b8e8187 Use separate variable names so that we don't get buildifier warnings 2021-08-01 08:53:12 -07:00
Qiao Zhang
991aba6bff Update XLA. 2021-07-09 12:57:35 -07:00