1
0
mirror of https://github.com/ROCm/jax.git synced 2025-04-18 12:56:07 +00:00

300 Commits

Author SHA1 Message Date
Peter Hawkins
d0415f04fb Update XLA. 2019-05-31 09:38:36 -04:00
Matthew Johnson
1a908b0f08 update jaxlib 2019-05-23 12:52:00 -07:00
Matthew Johnson
96ea32d49a update xla 2019-05-16 07:08:01 -07:00
Matthew Johnson
3b7a617e39 update xla 2019-05-15 21:58:05 -07:00
Peter Hawkins
bdb54e28ae Update XLA build. 2019-05-15 09:37:42 -04:00
Peter Hawkins
7f9e1809bb Fix build with Bazel 0.25.
Update minimum Bazel version to 0.25.0.
2019-05-10 11:53:15 -04:00
Skye Wanderman-Milne
5033fe86d3 Update XLA to pick up nccl performance improvement. 2019-05-06 10:49:35 -07:00
Skye Wanderman-Milne
3e302077ae Update XLA to expose FFT in Python client. 2019-05-02 18:05:58 -07:00
Peter Hawkins
b9e6fb3c10 Update XLA release to fix Mac build problem. 2019-05-02 09:43:45 -04:00
Peter Hawkins
b4d5488286 Update XLA release.
Includes cc96aa6e37 which fixes .
2019-04-30 09:19:56 -04:00
Peter Hawkins
845e46c8d0 Update XLA version to 30d0432d31 to fix build problem. 2019-04-25 20:28:24 -07:00
Peter Hawkins
f60d927df8 Update XLA version to include CUDA version check fix and newer XLA.
Make specification of CUDA environment variables optional.

Fixes .
Fixes , although the fix requires a new Jaxlib release.
2019-04-25 16:19:53 -07:00
Peter Hawkins
60d7198381 Update XLA release.
Includes a66de7da15 which fixes  but requires a Jaxlib rebuild.
2019-04-16 19:29:44 -04:00
Peter Hawkins
304006d149 Update XLA version. 2019-04-15 10:40:09 -04:00
Matthew Johnson
dfdfac55c0 update tensorflow version for new xla 2019-04-01 21:19:55 -07:00
Peter Hawkins
e8638f73cc Update XLA.
Switches XLA Python bindings to use pybind11.
Update XRT support to point to newer XRT client.
Update minimum bazel version to 0.24.0.

Fix missing backend argument to XLA Compile() calls.
2019-03-31 10:56:47 -07:00
Peter Hawkins
0672b3681f Update XLA (TF) to unbreak build.
Updates to:
9cf0314aee
2019-03-26 19:19:04 -04:00
Peter Hawkins
caf544a38f Update XLA (TensorFlow) version to head. 2019-03-26 15:40:41 -04:00
Peter Hawkins
17fbdcaa84 Update default bazel release in build script to 0.22.0.
Update imported rules to a version that supports newer Bazel versions.
2019-03-02 15:10:42 -05:00
Matthew Johnson
0927b66774 update XLA and jaxlib 2019-02-28 20:25:09 -08:00
Peter Hawkins
f939ac078d Update XLA.
Updates XLA to 00afc7bb81.

The new XLA release removes the use of protocol buffers from the XLA client. Fixes .
Add backward compatibility shims to jaxlib to allow older jax releases to still work on an up to date jaxlib.

The new XLA release also incorporates a fix that avoids a host-device copy for every iteration of a `lax.fori_loop()` on GPU. Fixes .

Add a new jaxlib.__version__ field, change jax/jaxlib compatibility logic to check for it.
2019-02-26 06:07:44 -08:00
Peter Hawkins
4ae6abacbc Update XLA.
Includes 9f9efff916
which fixes .
2019-02-24 20:21:08 -05:00
Peter Hawkins
1ffa5d50a8 Update XLA release.
Updates XLA to e889ea1dd9, which fixes .
2019-02-20 08:15:52 -05:00
Peter Hawkins
8cd0d0d49c Update XLA release to dafd60bab8
Includes cf1e86da2b, which fixes , although note a jaxlib rebuild is required (or wait until we make another jaxlib wheel release).
2019-02-19 14:23:11 -05:00
Peter Hawkins
eb9071c1b1 Update XLA version to current TF github master.
355cc566ef
2019-02-17 13:11:22 -05:00
Peter Hawkins
edd98161f9 Update XLA.
Includes:
294858ccb2
which fixes https://github.com/google/jax/issues/342 . Note, this requires a new Jaxlib release or building from source.
2019-02-08 10:43:18 -05:00
Peter Hawkins
241e9b1d46 Update XLA.
XLA synced to revision:
9bb620cbf9
2019-02-07 22:18:17 -05:00
Peter Hawkins
86f5d189cf Update XLA version to include fix for XLA reduce-window on CPU (33bf4d37ff) 2019-01-28 18:48:42 -05:00
Peter Hawkins
4ea3f2cd8c Add complex128 support to LAPACK bindings.
Update XLA to incorporate 7a283b835b .
2019-01-18 16:54:07 -05:00
Peter Hawkins
3489b45f8e Update XLA release.
Includes 7fce32e9be, which fixes  once jaxlib is rebuilt.
2019-01-18 14:42:10 -05:00
Peter Hawkins
5219bd60cf Update XLA to bf5cd5e750 .
Fixes .
2019-01-16 10:28:42 -05:00
Peter Hawkins
385ab96206 Update XLA revision to 937ff1b4cf 2019-01-11 16:14:49 -05:00
Peter Hawkins
31a72d5d9e Update XLA release to fix build problem.
Fixes .
2019-01-10 11:37:53 -05:00
Peter Hawkins
44d952f74c Update XLA release to include XLA Gather and Scatter Python bindings..
0ce305b6ce
2019-01-08 18:42:19 -05:00
Peter Hawkins
0f40c744cd Update XLA release to include fix for wrong output bug.
Tensorflow commit 38c9132142 includes a bugfix to XLA/GPU code generation for transposes.

Fixes 
2019-01-07 10:13:55 -05:00
Peter Hawkins
d065f8630c Update XLA release to incorporate TriangularSolve fix.
Fixes  (requires a jaxlib rebuild)
2018-12-18 15:51:41 -05:00
Peter Hawkins
27ef207a5d Bump XLA version to incorporate CPU custom call extensions. 2018-12-17 17:19:23 -05:00
Peter Hawkins
3d4cb9f955 Enable MKL-DNN contraction kernels.
Add a new build option --enable_mkl_dnn that enables MKLDNN contraction kernels in XLA. This leads to significant performance improvements for XLA's dot operator. Enable MKL-DNN by default.

Update XLA version to include MKL-DNN build fix.

Also add a new --enable_march_native build option that turns on -march=native. This is unlikely to have a significant performance impact since XLA JIT-compiles most of its code. Leaving this off by default because it also generates code unlikely to run across a wide selection of architectures and so is unsuitable for building pip wheels.
2018-12-14 12:21:25 -05:00
Peter Hawkins
1eccd744f1 Update XLA version in JAX to pick up fix for Mac OS __bzero intrinsic crash. 2018-12-13 15:18:26 -05:00
Peter Hawkins
11720fd0aa Consolidate build/WORKSPACE and WORKSPACE. We don't need to have two WORKSPACEs in the same project; if we later choose to split C++ and Python parts of the project into separate repositories, we can split the WORKSPACE at that time. 2018-12-12 09:16:03 -05:00
Dougal Maclaurin
1350db2b79 Added higher-order differentiation checks in lax_test and fixed some bugs. Conv tests currently failing. 2018-12-11 13:22:07 -05:00
Matthew Johnson
bbc92ce6eb
Split out jax and jaxlib packages ()
factor out 'jaxlib' as separate package
2018-12-06 21:35:03 -05:00
Matthew Johnson
b4344a07bc fix typo in WORKSPACE 2018-12-06 07:13:27 -08:00
Matthew Johnson
90afb3a155 update tensorflow release 2018-12-06 07:03:28 -08:00
Peter Hawkins
77db9bd556 [JAX] Update XLA in JAX workspace to include optimized computation launch implementation.
PiperOrigin-RevId: 223863753
2018-12-05 09:36:08 -08:00
Peter Hawkins
93ac03ea08 [JAX] Update TensorFlow release to 0b6ed4887a to pick up fixes to the XLA Mac OS X build.
PiperOrigin-RevId: 223048563
2018-11-27 16:51:24 -08:00
Peter Hawkins
f3513a7bfb [JAX] Rewrite OSS build script.
Significant changes:
* Mac OS X support.
* build script is in Python, not shell.
* build configuration is passed via flags, not environment variables.
* build script configures TF itself, and does not require explicitly checking out the TF git repository and running its configure script. Changes the TF dependency in the Bazel workspace to be an http_archive(), rather than a local checkout of TF.
* rather than trying to guess the path for Bazel-generated XLA artifacts, use a sh_binary() to perform installation of the built artifacts in to the JAX source tree. Bazel's runfiles mechanism is the supported route to find build artifacts.
* downloads Bazel in Python and checks its SHA256 before running it, rather than running an untrusted binary from the internet.
* intentionally does not delete the Bazel cache or Bazel after building.

Example of new build interaction:

Building without CUDA on Mac or Linux:
$ cd jax
$ python3 build.py   (or python2 build.py if you want a Python 2 build)

     _   _    __  __
    | | / \   \ \/ /
 _  | |/ _ \   \  /
| |_| / ___ \  /  \
 \___/_/   \_\/_/\_\

Starting local Bazel server and connecting to it...
Bazel binary path: /Users/xyz/bin/bazel
Python binary path: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3
CUDA enabled: no

Building XLA and installing it in the JAX source tree...
...

Example of building with CUDA enabled on Linux:
$ python3 build.py --enable_cuda --cudnn_path=/usr/lib/x86_64-linux-gnu/
... as before, except ...
CUDA enabled: yes
CUDA toolkit path: /usr/local/cuda
CUDNN library path: /usr/lib/x86_64-linux-gnu/
...

PiperOrigin-RevId: 222868835
2018-11-27 16:51:17 -08:00
Matthew Johnson
d347d65c5c add dummy binary build target, move WORKSPACE up 2018-11-18 15:54:13 -08:00
Matthew Johnson
fd8d83dca2 tweak build file 2018-11-18 14:58:01 -08:00
Matthew Johnson
a30e858e59 populating source tree 2018-11-17 18:03:33 -08:00