Skip to content

Commit 7001203

Browse files
authored
Update jax-array-api.yml
1 parent ed8feb7 commit 7001203

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

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

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,24 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
build:
17-
runs-on: linux-x86-ct5lp-x4
18-
container: us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build:infrastructure-public-image-2d2a7b1e6e2e
19-
steps:
20-
- name: Set up Python 3.11
21-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
22-
with:
23-
python-version: 3.11
24-
- name: Use the value
25-
id: step_two
26-
run: |
27-
pip install "jax[tpu]" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
28-
python -c 'import jax; print("Global device count:", jax.device_count()); print("local devices =", jax.local_devices())'
16+
# Label of the container job
17+
container-job:
18+
# Containers must run in Linux based operating systems
19+
runs-on: linux-x86-n2-32
20+
# Docker Hub image that `container-job` executes in
21+
container: node:20-bookworm-slim
22+
23+
# Service containers to run with `container-job`
24+
services:
25+
# Label used to access the service container
26+
redis:
27+
# Docker Hub image
28+
image: redis
29+
# Set health checks to wait until redis has started
30+
options: >-
31+
--health-cmd "redis-cli ping"
32+
--health-interval 10s
33+
--health-timeout 5s
34+
--health-retries 5
35+
36+

0 commit comments

Comments
 (0)