573 Commits

Author SHA1 Message Date
jax authors
18b193cbbd Update XLA dependency to use revision
1a6361a734.

PiperOrigin-RevId: 712558157
2025-01-06 09:41:02 -08:00
jax authors
d0a92c5c7d Update XLA dependency to use revision
ac6e71fe0c.

PiperOrigin-RevId: 712263421
2025-01-05 08:45:44 -08:00
jax authors
9af2970042 Update XLA dependency to use revision
c12c114858.

PiperOrigin-RevId: 712052097
2025-01-04 08:55:59 -08:00
jax authors
e4278f7866 Update XLA dependency to use revision
a84e3b7f8f.

PiperOrigin-RevId: 711770147
2025-01-03 09:07:45 -08:00
jax authors
726950b885 Update XLA dependency to use revision
06078480db.

PiperOrigin-RevId: 711436464
2025-01-02 08:48:53 -08:00
jax authors
4a6cfebcea Update XLA dependency to use revision
045356d8c8.

PiperOrigin-RevId: 711195871
2025-01-01 08:23:24 -08:00
jax authors
e37ea587c9 Update XLA dependency to use revision
cb0c24822f.

PiperOrigin-RevId: 710984157
2024-12-31 08:49:31 -08:00
jax authors
25fff524f0 Update XLA dependency to use revision
53e42f4ecd.

PiperOrigin-RevId: 710729439
2024-12-30 09:02:36 -08:00
jax authors
879fa12d90 Update XLA dependency to use revision
54ce5aecdc.

PiperOrigin-RevId: 710506273
2024-12-29 09:53:34 -08:00
jax authors
8eeedd1802 Update XLA dependency to use revision
50420127c5.

PiperOrigin-RevId: 710313210
2024-12-28 10:26:46 -08:00
jax authors
7ab61b7f26 Update XLA dependency to use revision
15efc84a0c.

PiperOrigin-RevId: 710096417
2024-12-27 10:57:06 -08:00
jax authors
6dbda900d1 Update XLA dependency to use revision
e52f275aba.

PiperOrigin-RevId: 709840823
2024-12-26 11:03:35 -08:00
jax authors
42a0d55503 Update XLA dependency to use revision
e268cb7c7f.

PiperOrigin-RevId: 709595685
2024-12-25 10:21:10 -08:00
jax authors
64511a19fd Update XLA dependency to use revision
16e5b0cf64.

PiperOrigin-RevId: 709366317
2024-12-24 10:05:12 -08:00
jax authors
23965b74f6 Update XLA dependency to use revision
7e03b71f8a.

PiperOrigin-RevId: 709080323
2024-12-23 09:25:04 -08:00
jax authors
d28b0daccd Update XLA dependency to use revision
dc7aaf834a.

PiperOrigin-RevId: 708629379
2024-12-21 10:42:31 -08:00
jax authors
aa386f855a Update XLA dependency to use revision
750765b1c9.

PiperOrigin-RevId: 708360218
2024-12-20 10:23:21 -08:00
jax authors
1b385f3813 Update XLA dependency to use revision
b44f55da3d.

PiperOrigin-RevId: 707970174
2024-12-19 11:14:06 -08:00
jax authors
53bff8615f Update XLA dependency to use revision
9e68b1e03d.

PiperOrigin-RevId: 707594007
2024-12-18 10:26:02 -08:00
Peter Hawkins
3f24dfd234 Migrate mhlo dialect extension to nanobind.
PiperOrigin-RevId: 707562235
2024-12-18 08:36:12 -08:00
Peter Hawkins
3d54d03529 Migrate StableHLO Python extension to nanobind.
PiperOrigin-RevId: 707543869
2024-12-18 07:28:52 -08:00
jax authors
7fe25791e4 Update XLA dependency to use revision
20a482597b.

PiperOrigin-RevId: 707170346
2024-12-17 11:04:11 -08:00
jax authors
302d8031eb Update XLA dependency to use revision
0954ab3527.

PiperOrigin-RevId: 706786469
2024-12-16 11:59:22 -08:00
jax authors
c7d1c3d2d8 Update XLA dependency to use revision
37fb0612d3.

PiperOrigin-RevId: 706474188
2024-12-15 11:55:25 -08:00
jax authors
ab031577f0 Update XLA dependency to use revision
b353bfbba5.

PiperOrigin-RevId: 706264718
2024-12-14 12:14:00 -08:00
jax authors
078c7e4444 Update XLA dependency to use revision
cd4b4e1ba3.

PiperOrigin-RevId: 705976057
2024-12-13 13:00:37 -08:00
jax authors
97459ba9aa Update XLA dependency to use revision
fb8e7d579f.

PiperOrigin-RevId: 705602301
2024-12-12 12:55:31 -08:00
jax authors
b8d2e9383a Update XLA dependency to use revision
209cbfa31a.

PiperOrigin-RevId: 705215149
2024-12-11 13:16:26 -08:00
jax authors
2ff90382d2 Update XLA dependency to use revision
ce56ae1529.

PiperOrigin-RevId: 704835739
2024-12-10 13:55:02 -08:00
jax authors
71c48cba1c Update XLA dependency to use revision
a041e1b155.

PiperOrigin-RevId: 704406817
2024-12-09 13:56:14 -08:00
jax authors
7062325521 Update XLA dependency to use revision
fb46636c1f.

PiperOrigin-RevId: 704067165
2024-12-08 14:09:21 -08:00
jax authors
ad00ee1e06 Update XLA dependency to use revision
ace1e90f1b.

PiperOrigin-RevId: 703866489
2024-12-07 15:01:00 -08:00
jax authors
baedb62b71 Update XLA dependency to use revision
1ff335df59.

PiperOrigin-RevId: 703640058
2024-12-06 15:51:10 -08:00
jax authors
1ca8903a3c Update XLA dependency to use revision
fa33691034.

PiperOrigin-RevId: 703276684
2024-12-05 15:46:33 -08:00
jax authors
28528d44d3 Update XLA dependency to use revision
30f22f4d6c.

PiperOrigin-RevId: 702898833
2024-12-04 16:25:28 -08:00
jax authors
ceeed909dc Update XLA dependency to use revision
05f004e836.

PiperOrigin-RevId: 702493080
2024-12-03 15:39:35 -08:00
jax authors
9f20301739 Update XLA dependency to use revision
6070a19a7c.

PiperOrigin-RevId: 702090722
2024-12-02 14:42:44 -08:00
jax authors
e124c051f2 Update XLA dependency to use revision
41e12cc024.

PiperOrigin-RevId: 701766499
2024-12-01 15:11:22 -08:00
jax authors
db4b3f2922 Update XLA dependency to use revision
20d4636c74.

PiperOrigin-RevId: 701562320
2024-11-30 15:25:09 -08:00
jax authors
47858c4ac2 Update XLA dependency to use revision
479fb21237.

PiperOrigin-RevId: 701368225
2024-11-29 16:24:05 -08:00
jax authors
f73de23026 Update XLA dependency to use revision
fc80c5576b.

PiperOrigin-RevId: 701110365
2024-11-28 15:39:19 -08:00
jax authors
132ad251a1 Update XLA dependency to use revision
d0769456f0.

PiperOrigin-RevId: 700817614
2024-11-27 15:14:35 -08:00
jax authors
a212a29dc6 Update XLA dependency to use revision
e2fe67323e.

PiperOrigin-RevId: 700786259
2024-11-27 13:06:35 -08:00
Vladimir Belitskiy
df6758f021 Update XLA dependency to use revision
PiperOrigin-RevId: 700728296
2024-11-27 09:39:24 -08:00
jax authors
9c42379633 Update XLA dependency to use revision
9d5bac13a3.

PiperOrigin-RevId: 700465720
2024-11-26 14:44:04 -08:00
Vladimir Belitskiy
e453fa179e Update XLA dependency to use revision
PiperOrigin-RevId: 700373062
2024-11-26 09:48:02 -08:00
jax authors
ebea4353f8 Update XLA dependency to use revision
7059553f7e.

PiperOrigin-RevId: 700110142
2024-11-25 14:57:20 -08:00
Nitin Srinivasan
6761512658 Re-factor build CLI to a subcommand based approach
This commit reworks the JAX build CLI to a subcommand based approach where CLI use cases are now defined as subcommands. Two subcommands are defined: build and requirements_update. "build" is to be used when wanting to build a JAX wheel package. "requirements_update" is to be used when wanting to update the requirements_lock.txt files. The new structure offers a clear and organized CLI that enables users to execute specific build tasks without having to navigate through a monolithic script.

Each subcommand has specific arguments that apply to its respective build process. In addition, arguments are separated into groups to achieve a cleaner separation and improves the readability when the CLI subcommands are run with `--help`. It also makes it clear as to which parts of the build they affect. E.g: CUDA arguments only apply to CUDA builds, ROCM arguments only apply to ROCM builds, etc. This reduces the complexity and the potential for errors during the build process. Segregating functionalities into distinct subcommands also simplifies the code which should help with the maintenance and future extensions.

There is also a transition from using `subprocess.check_output` to `asyncio.create_subprocess_shell` for executing the build commands which allows for streaming logs and helps in showing the build progress in real time.

Usage:
* Building `jaxlib`:
```
python build/build.py build --wheels=jaxlib --python_version=3.10
```
* Building `jax-cuda-plugin`:
```
python build/build.py build --wheels=jax-cuda-plugin --cuda_version=12.3.2 --cudnn_version=9.1.1 --python_version=3.10
```
* Building multiple packages:
```
python build/build.py build --wheels=jaxlib,jax-cuda-plugin,jax-cuda-pjrt --cuda_version=12.3.2 --cudnn_version=9.1.1 --python_version=3.10
```
* Building `jax-rocm-pjrt`:
```
python build/build.py build --wheels=jax-rocm-pjrt --rocm_version=60 --rocm_path=/path/to/rocm
```
* Using a local XLA path:
```
python build/build.py build --wheels=jaxlib --local_xla_path=/path/to/xla
```
* Updating requirements_lock.txt files:
```
python build/build.py requirements_update --python_version=3.10
```

For more details on each argument and to see available options, run:
```
python build/build.py build --help
```
or
```
python build/build.py requirements_update --help
```

PiperOrigin-RevId: 700075411
2024-11-25 13:03:04 -08:00
jax authors
b372ce4b1a Update XLA dependency to use revision
40d457a268.

PiperOrigin-RevId: 699768724
2024-11-24 15:00:10 -08:00
jax authors
4d8751bff4 Update XLA dependency to use revision
90af2896ab.

PiperOrigin-RevId: 699545393
2024-11-23 15:31:36 -08:00