170 Commits

Author SHA1 Message Date
Peter Hawkins
b131038094 Update XLA. 2021-02-19 09:55:44 -05:00
Skye Wanderman-Milne
95444d9fae Change TF version for jaxlib-v0.1.61
This is to line up the new jaxlib with a libtpu nightly build.
2021-02-11 09:01:35 -08:00
Skye Wanderman-Milne
3a50788ec5 Update WORKSPACE to latest TF commit for jaxlib 0.1.61 release. 2021-02-10 10:05:56 -08:00
Peter Hawkins
83f4069d00 Update XLA.
Fixes #4687.
2021-02-08 09:28:14 -05:00
Peter Hawkins
3829bb9cbb Release jaxlib v0.1.60. 2021-02-03 12:00:33 -05:00
Peter Hawkins
fef73075b9 Update XLA.
Includes 53ab21aa86, which fixes a number of test failures under NumPy 1.20.0.
2021-02-01 16:42:29 -05:00
Peter Hawkins
f78cefb01b Update WORKSPACE file to comply with TensorFlow's downstream WORKSPACE requirements.
See:
https://groups.google.com/a/tensorflow.org/g/developers/c/F8-6HPanpnw
2021-01-15 16:22:48 -05:00
Skye Wanderman-Milne
62b864a654 Update WORKSPACE and jaxlib version to 0.1.59 2021-01-14 13:38:17 -08:00
Peter Hawkins
3416d2082c Update XLA. 2021-01-14 14:17:26 -05:00
Skye Wanderman-Milne
345267bef1 Update TF version for jaxlib 0.1.58 release 2021-01-11 09:39:36 -08:00
Peter Hawkins
7d78d1e06c Update XLA. 2021-01-11 10:13:34 -05:00
Peter Hawkins
1eaf533a28 Update XLA version. 2021-01-05 15:20:35 -05:00
Adam Paszke
f3bfdf8968 Expose is_leaf predicate for pytree.flatten
and add tests for it. The change has already been landed in the TF code,
where the C++ pytree components live. This is why I needed to bump the
commit.
2020-12-11 11:26:18 +00:00
Jean-Baptiste Lespiau
e7d6d97b92 Upgrade the TF version.
Fixes #5135.
2020-12-08 16:31:54 +01:00
Peter Hawkins
073f13296a Update XLA and fix CI breakage at TF head.
It seems we must now explicitly load tf_toolchains in our WORKSPACE file.
2020-12-01 21:44:08 -05:00
Peter Hawkins
409ee76208 Update XLA. 2020-11-30 10:42:07 -05:00
Peter Hawkins
ba84168c23 Update XLA. 2020-11-21 11:42:32 -05:00
Cloud Han
a6acce58e0 Build on Windows
1. Build on Windows

2. Fix OverflowError

    When calling `key = random.PRNGKey(0)` OverflowError: Python int too
    large to convert to C long for casting value 4294967295 (0xFFFFFFFF)
    from python int to int32.

3. fix file path in regex of errors_test

4. handle ValueError of os.path.commonpath
2020-11-19 23:33:06 +08:00
Peter Hawkins
1e7bf5547d Update XLA. 2020-11-16 12:15:34 -05:00
Peter Hawkins
2c6f932e0e Add Python 3.9 support to jaxlib build. 2020-11-09 16:25:58 -05:00
Peter Hawkins
a4669370b9 Update XLA. 2020-11-09 12:07:56 -05:00
Peter Hawkins
608cfde949 Update XLA.
Update changelog.
2020-11-04 14:15:33 -05:00
Jean-Baptiste Lespiau
dad8377b78 Enable C++ jit again.
PiperOrigin-RevId: 339419691
2020-10-28 02:21:43 -07:00
Peter Hawkins
f58f1ee456 [JAX] Use PocketFFT for FFTs on CPU instead of Eigen.
PocketFFT is the same FFT library used by NumPy (although we are using the C++ variant rather than the C variant.)

For the benchmark in #2952 on my workstation:

Before:
```
907.3490574884647
max:     4.362646594533903e-08
mean:    6.237288307614869e-09
min:     0.0
numpy fft execution time [ms]:   37.088446617126465
jax fft execution time [ms]:     74.93342399597168
```

After:
```
907.3490574884647
max:     1.9057386696477137e-12
mean:    3.9326737908882566e-13
min:     0.0
numpy fft execution time [ms]:   37.756404876708984
jax fft execution time [ms]:     28.128278255462646
```

Fixes https://github.com/google/jax/issues/2952

PiperOrigin-RevId: 338743753
2020-10-23 14:20:32 -07:00
Peter Hawkins
29a83ddd70 Update XLA.
Incorporates fix for #4651.

Fixes #4651.
2020-10-20 14:11:47 -04:00
Skye Wanderman-Milne
b8cac03ca0 Update XLA in WORKSPACE 2020-10-12 11:57:59 -07:00
Peter Hawkins
72be97c861 Update XLA. 2020-10-08 14:59:06 -04:00
Peter Hawkins
49d851d2e1 Update XLA. 2020-10-05 16:14:32 -04:00
Qiao Zhang
82af356b4c
Bump TF hash to get an upstream LLVM GCC fix. (#4251) 2020-09-10 10:10:33 -07:00
Qiao Zhang
a14133aa33
Update TF dep to a passing commit hash. (#4239) 2020-09-09 16:36:30 -07:00
Qiao Zhang
4600dd7957
Update jaxlib version for dlpack fix. (#4231) 2020-09-08 17:20:48 -07:00
Jean-Baptiste Lespiau
bdd65453b4
Add more features to the C++ jax.jit. (#4169)
This mainly follows https://github.com/google/jax/pull/4089 by adding:

- support for disable_jit from C++
- support for jax._cpp_jit on methods.
- supporting applying @jax.jit on top-level functions, by delaying the retrieval of the device and backend.
- concurrency support.

I am not aware of any feature missing (but I suspect there are still some differences due to the differences between xla_computation and _xla_callable.)

See:

- https://i.ibb.co/ZMvZ4nK/benchmark.png for the benchmarking comparison (see
 cr/328899906 + benchmarks for how numbers were generated)
- The results of the Jax tests when enabling this:
http://sponge2/4a67d132-209f-45c5-ab7b-83716d329ec2 (110 fails, 92 passes, but many common cause of failure).
2020-09-01 10:34:47 +03:00
Jean-Baptiste Lespiau
2ab6b42a45
Use pytree defined in tensorflow. (#4087)
It also adds some tests on the scalar C++ conversion.
2020-08-18 08:58:43 +03:00
George Necula
c7aff1da06
Revert "Use pytree from xla_client. (#4063)" (#4081)
This reverts commit d8de6b61411179dcd2f63d7639bbcd69b30ac15f.

Tryting to revert because it seems that this produces test
failures in Google.
2020-08-17 12:53:18 +03:00
Jean-Baptiste Lespiau
d8de6b6141
Use pytree from xla_client. (#4063) 2020-08-14 11:44:03 -04:00
Peter Hawkins
90b353260a
Update XLA. (#3834) 2020-07-23 12:10:39 -04:00
Jake Vanderplas
17c21a79c3
update jaxlib version and changelog for pypi (#3824) 2020-07-22 15:21:30 -07:00
Peter Hawkins
c638264479
Update XLA. (#3671) 2020-07-06 14:35:10 -04:00
George Necula
bfe8f8732b
Change the version of tensorflow, the one in jaxlib 0.1.51 does not build (#3637) 2020-07-02 12:47:22 +03:00
George Necula
a5ed161550
Release jaxlib 0.1.51 (#3636) 2020-07-02 10:33:00 +03:00
Peter Hawkins
47ac612214
Update XLA. (#3623) 2020-07-01 11:14:34 -04:00
Peter Hawkins
2a6fc316c3
Update XLA in preparation for a new jaxlib release (0.1.50). (#3560) 2020-06-25 15:12:47 -04:00
Skye Wanderman-Milne
a088c023ff
Bump jaxlib version to 0.1.49 and update WORKSPACE (#3495) 2020-06-19 13:27:12 -07:00
Peter Hawkins
dd040de18d
Bump XLA version. (#3424)
Update jaxlib release notes.
2020-06-12 14:46:45 -04:00
Peter Hawkins
a06b122e4a
Add support for 64-bit FFTs. (#3290) 2020-06-02 09:41:44 -04:00
George Necula
e1cb032456
Prepare version 0.1.47 for jaxlib (#3008) 2020-05-08 10:01:28 +03:00
Peter Hawkins
0534b6595c
Update XLA. (#2977) 2020-05-05 20:47:40 -04:00
Peter Hawkins
4d236b5c47
Update XLA to fix build failures. (#2950) 2020-05-04 09:17:07 -04:00
Peter Hawkins
a18257860a
Update XLA. (#2932)
Mention illegal instruction fix in changelog.
2020-05-02 12:47:07 -04:00
Peter Hawkins
ee38e1b3b6
Update XLA. (#2929)
Includes a fix that may help with issue #2906.
2020-05-02 11:09:21 -04:00