Commit eab3419
authored
build(jax): split pinned cpu and gpu groups (#5436)
Problem
- CPU and CUDA CI need different pinned JAX dependency groups.
- The public `jax` extra should stay unchanged.
Change
- Keep the existing `jax` optional dependency as plain `jax`.
- Split the pinned groups into `pin_jax_cpu` and `pin_jax_gpu`.
- Use `pin_jax_cpu` in CPU jobs and `pin_jax_gpu` in the CUDA job.
Validation
- `git diff --check`
- `uv pip compile pyproject.toml --group pin_jax_cpu --python-version
3.10`
- `uv pip compile pyproject.toml --group pin_jax_gpu --python-version
3.10`
Authored by OpenClaw (model: gpt-5.5)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Split JAX dependency pins into separate CPU and GPU variants.
* Updated CI workflows to install the appropriate JAX package group for
CPU or GPU runs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 78bffde commit eab3419
4 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
181 | 184 | | |
182 | 185 | | |
183 | 186 | | |
| |||
0 commit comments