Skip to content

Commit 47d1960

Browse files
nitins17Google-ML-Automation
authored andcommitted
Update the render documentation job to use the new self-hosted runners
PiperOrigin-RevId: 700550934
1 parent 0d2dfea commit 47d1960

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/ci-build.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,19 @@ jobs:
144144
145145
documentation_render:
146146
name: Documentation - render documentation
147-
runs-on: ubuntu-latest
147+
runs-on: linux-x86-n2-16
148+
container:
149+
image: index.docker.io/library/ubuntu@sha256:6d8d9799fe6ab3221965efac00b4c34a2bcc102c086a58dff9e19a08b913c7ef # ratchet:ubuntu:20.04
148150
timeout-minutes: 10
149151
strategy:
150152
matrix:
151153
python-version: ['3.10']
152154
steps:
153155
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
156+
- name: Image Setup
157+
run: |
158+
apt update
159+
apt install -y libssl-dev libsqlite3-dev
154160
- name: Set up Python ${{ matrix.python-version }}
155161
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
156162
with:
@@ -170,8 +176,7 @@ jobs:
170176
pip install -r docs/requirements.txt
171177
- name: Render documentation
172178
run: |
173-
sphinx-build --color -W --keep-going -b html -D nb_execution_mode=off docs docs/build/html
174-
179+
sphinx-build -j auto --color -W --keep-going -b html -D nb_execution_mode=off docs docs/build/html
175180
176181
jax2tf_test:
177182
name: "jax2tf_test (py ${{ matrix.python-version }} on ${{ matrix.os }}, x64=${{ matrix.enable-x64}})"

jax/_src/scipy/linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ def polar(a: ArrayLike, side: str = 'right', *, method: str = 'qdwh', eps: float
16791679
16801680
U is a Unitary Matrix:
16811681
1682-
>>> jnp.round(U.T @ U)
1682+
>>> jnp.round(U.T @ U) # doctest: +SKIP
16831683
Array([[ 1., -0., -0.],
16841684
[-0., 1., 0.],
16851685
[-0., 0., 1.]], dtype=float32)

0 commit comments

Comments
 (0)