219 Commits

Author SHA1 Message Date
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
Qiao Zhang
acb2247917 Update XLA and TFRT for jaxlib. 2021-07-07 15:06:06 -07:00
Qiao Zhang
bfc2ae2161 Update XLA. 2021-06-22 13:07:24 -07:00
Peter Hawkins
e87173e88b Update XLA. 2021-05-24 10:43:40 -04:00
Peter Hawkins
2c1564e962 Update XLA. 2021-05-19 15:35:23 -04:00
Skye Wanderman-Milne
c5e199a42d Update WORKSPACE for jaxlib 0.1.67 2021-05-17 12:15:54 -07:00
Skye Wanderman-Milne
45cbfd6154 Update WORKSPACE to include tpu_driver fix 2021-05-10 16:17:01 -07:00
Qiao Zhang
ce5840969a Update XLA. 2021-05-10 13:15:26 -07:00
Qiao Zhang
8e45a9842f Update XLA. 2021-05-07 10:29:11 -07:00
Qiao Zhang
a0f0586383 Update XLA. 2021-05-06 15:35:10 -07:00
Qiao Zhang
c9d40a45b0 Update XLA. 2021-05-05 19:22:14 -07:00
Qiao Zhang
c2e2953a9c Update XLA. 2021-05-05 15:02:49 -07:00
Qiao Zhang
984f2c634d Fix XLA commit sha256. 2021-05-03 17:55:15 -07:00
Qiao Zhang
24d126b6a9 Update XLA. 2021-05-03 17:20:15 -07:00
Peter Hawkins
efe4a1f920 Update XLA. 2021-05-03 13:38:12 -04:00
Peter Hawkins
cacc5afc4a Update XLA. 2021-05-01 17:05:14 -04:00
Peter Hawkins
a0c96b5ca5 Fix cusparse kernel build.
The build_wheel.py script was copying the wrong module.

In addition the CUDA stubs from the TF repo were missing a number of cusparse symbols. The updated TF includes the correct stubs.
2021-04-27 20:28:30 -04:00
Peter Hawkins
79a7f7bca8 Don't build CUDA 11.2 wheels.
Update XLA.

CUDA 11.1 wheels are compatible with CUDA versions 11.1+, since NVidia now promises enhanced version compatibility between CUDA minor releases starting with CUDA 11.1
2021-04-26 09:43:29 -04:00
Peter Hawkins
8654a9816f Update XLA. 2021-04-21 09:51:29 -04:00
Peter Hawkins
b37158f9ce Update XLA version. 2021-04-13 16:50:34 -04:00
Skye Wanderman-Milne
55f8c398c9 Update WORKSPACE for jaxlib 0.1.65 release 2021-04-05 14:39:18 -07:00
Skye Wanderman-Milne
6965ab29e9 Update WORKSPACE for profiler fix 2021-03-18 08:41:26 -07:00
Skye Wanderman-Milne
7ad51264fd Update WORKSPACE for jaxlib 0.1.63 release, take 2
PiperOrigin-RevId: 363315929
2021-03-16 18:26:52 -07:00
Skye Wanderman-Milne
b319d23431 Update WORKSPACE for jaxlib 0.1.63 release 2021-03-16 09:43:22 -07:00
Skye Wanderman-Milne
482c933db7 Update WORKSPACE for jaxlib 0.1.62 release 2021-03-08 10:47:57 -08:00
Skye Wanderman-Milne
860951b5db Update WORKSPACE to move past build breakage.
Something was wrong earlier that appears to be fixed now. Fixes #5901.
2021-03-02 17:49:44 -08:00
Peter Hawkins
b131038094 Update XLA. 2021-02-19 09:55:44 -05:00