Skip to content

Commit 09d6d8f

Browse files
committed
Merge branch 'main' of https://github.com/google-ml-infra/jax-fork into srnitin/task-jax-ci-rework
2 parents b527a68 + b8372b7 commit 09d6d8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+2239
-5319
lines changed

.github/workflows/asan.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
run:
2626
shell: bash -l {0}
2727
steps:
28-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
28+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2929
with:
3030
path: jax
31-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
31+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3232
with:
3333
repository: python/cpython
3434
path: cpython
35-
ref: v3.12.6
35+
ref: v3.13.0
3636
- name: Install clang 18
3737
env:
3838
DEBIAN_FRONTEND: noninteractive

.github/workflows/ci-build.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
timeout-minutes: 5
3131
steps:
32-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
32+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3333
- name: Set up Python 3.11
3434
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
3535
with:
@@ -57,7 +57,7 @@ jobs:
5757
prng-upgrade: 0
5858
num_generated_cases: 1
5959
steps:
60-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
60+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
6161
- name: Set up Python ${{ matrix.python-version }}
6262
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
6363
with:
@@ -68,7 +68,7 @@ jobs:
6868
python -m pip install --upgrade pip wheel
6969
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
7070
- name: pip cache
71-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
71+
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
7272
with:
7373
path: ${{ steps.pip-cache.outputs.dir }}
7474
key: ${{ runner.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}
@@ -104,7 +104,7 @@ jobs:
104104
matrix:
105105
python-version: ['3.10']
106106
steps:
107-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
107+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
108108
- name: Set up Python ${{ matrix.python-version }}
109109
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
110110
with:
@@ -115,7 +115,7 @@ jobs:
115115
python -m pip install --upgrade pip wheel
116116
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
117117
- name: pip cache
118-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
118+
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
119119
with:
120120
path: ${{ steps.pip-cache.outputs.dir }}
121121
key: ${{ runner.os }}-pip-docs-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}
@@ -141,7 +141,7 @@ jobs:
141141
matrix:
142142
python-version: ['3.10']
143143
steps:
144-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
144+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
145145
- name: Set up Python ${{ matrix.python-version }}
146146
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
147147
with:
@@ -152,7 +152,7 @@ jobs:
152152
python -m pip install --upgrade pip wheel
153153
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
154154
- name: pip cache
155-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
155+
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
156156
with:
157157
path: ${{ steps.pip-cache.outputs.dir }}
158158
key: ${{ runner.os }}-pip-docs-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}
@@ -177,7 +177,7 @@ jobs:
177177
enable-x64: 0
178178
num_generated_cases: 10
179179
steps:
180-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
180+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
181181
- name: Set up Python ${{ matrix.python-version }}
182182
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
183183
with:
@@ -188,7 +188,7 @@ jobs:
188188
python -m pip install --upgrade pip wheel
189189
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
190190
- name: pip cache
191-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
191+
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
192192
with:
193193
path: ${{ steps.pip-cache.outputs.dir }}
194194
key: ${{ runner.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}
@@ -216,7 +216,7 @@ jobs:
216216
runs-on: ubuntu-latest
217217
timeout-minutes: 5
218218
steps:
219-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
219+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
220220
- name: Set up Python 3.11
221221
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
222222
with:
@@ -227,7 +227,7 @@ jobs:
227227
python -m pip install --upgrade pip wheel
228228
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
229229
- name: pip cache
230-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
230+
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
231231
with:
232232
path: ${{ steps.pip-cache.outputs.dir }}
233233
key: ${{ runner.os }}-pip-ffi-examples-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt', 'examples/**/pyproject.toml') }}

.github/workflows/cloud-tpu-ci-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
]
3333
name: "TPU test (jaxlib=${{ matrix.jaxlib-version }}, ${{ matrix.tpu.type }})"
3434
env:
35-
LIBTPU_OLDEST_VERSION_DATE: 20240228
35+
LIBTPU_OLDEST_VERSION_DATE: 20240722
3636
ENABLE_PJRT_COMPATIBILITY: ${{ matrix.jaxlib-version == 'nightly+oldest_supported_libtpu' }}
3737
runs-on: ["self-hosted", "tpu", "${{ matrix.tpu.type }}"]
3838
timeout-minutes: 120
@@ -43,7 +43,7 @@ jobs:
4343
# https://opensource.google/documentation/reference/github/services#actions
4444
# mandates using a specific commit for non-Google actions. We use
4545
# https://github.com/sethvargo/ratchet to pin specific versions.
46-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
46+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
4747
- name: Install JAX test requirements
4848
run: |
4949
pip install -U -r build/test-requirements.txt

.github/workflows/jax-array-api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222

2323
steps:
2424
- name: Checkout jax
25-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
25+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2626
- name: Checkout array-api-tests
27-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
27+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2828
with:
2929
repository: data-apis/array-api-tests
3030
# TODO(jakevdp) update this to a stable release/tag when available.

.github/workflows/metal_plugin_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Get repo
30-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
30+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3131
with:
3232
path: jax
3333
- name: Setup build and test enviroment

.github/workflows/upstream-nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
outputs:
3737
artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}
3838
steps:
39-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
39+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
4040
- name: Set up Python ${{ matrix.python-version }}
4141
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
4242
with:
@@ -85,7 +85,7 @@ jobs:
8585
&& steps.status.outcome == 'failure'
8686
&& github.event_name == 'schedule'
8787
&& github.repository == 'jax-ml/jax'
88-
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
88+
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
8989
with:
9090
name: output-${{ matrix.python-version }}-log.jsonl
9191
path: output-${{ matrix.python-version }}-log.jsonl
@@ -106,7 +106,7 @@ jobs:
106106
run:
107107
shell: bash
108108
steps:
109-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
109+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
110110
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
111111
with:
112112
python-version: "3.x"

.github/workflows/wheel_win_x64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install LLVM/Clang
2626
run: choco install llvm --version=18.1.4 --yes --no-progress --allow-downgrade
2727

28-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
28+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2929

3030
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
3131
with:
@@ -45,7 +45,7 @@ jobs:
4545
--bazel_options=--config=win_clang `
4646
--verbose
4747
48-
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
48+
- uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
4949
with:
5050
name: wheels-${{ matrix.os }}-${{ matrix.pyver }}
5151
path: ${{ github.workspace }}\dist\*.whl

.github/workflows/windows_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install LLVM/Clang
3232
run: choco install llvm --version=18.1.4 --yes --no-progress --allow-downgrade
3333

34-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
34+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3535
with:
3636
path: jax
3737

@@ -53,7 +53,7 @@ jobs:
5353
--bazel_options=--color=yes `
5454
--bazel_options=--config=win_clang
5555
56-
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
56+
- uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
5757
with:
5858
name: wheels
5959
path: ${{ github.workspace }}\jax\dist\*.whl

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,15 @@ When releasing, please add the new-release-boilerplate to docs/pallas/CHANGELOG.
1212

1313
## jax 0.4.35
1414

15-
## jax 0.4.34 (October 4, 2023)
15+
* Breaking Changes
16+
* {func}`jax.numpy.isscalar` now returns True for any array-like object with
17+
zero dimensions. Previously it only returned True for zero-dimensional
18+
array-like objects with a weak dtype.
19+
* `jax.experimental.host_callback` has been deprecated since March 2024, with
20+
JAX version 0.4.26. Now we removed it.
21+
See {jax-issue}`#20385` for a discussion of alternatives.
22+
23+
## jax 0.4.34 (October 4, 2024)
1624

1725
* New Functionality
1826
* This release includes wheels for Python 3.13. Free-threading mode is not yet

docs/jax.experimental.host_callback.rst

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)