Skip to content

Commit 144bef0

Browse files
committed
Fix FFI example test in CI
1 parent a5ee6dc commit 144bef0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci-build.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,7 @@ jobs:
216216
217217
ffi:
218218
name: FFI example
219-
runs-on: linux-x86-g2-16-l4-1gpu
220-
container:
221-
image: index.docker.io/tensorflow/build:latest-python3.12@sha256:48e99608fe9434ada5b14e19fdfd8e64f4cfc83aacd328b9c2101b210e984295 # ratchet:index.docker.io/tensorflow/build:latest-python3.12
219+
runs-on: ROCM-Ubuntu
222220
timeout-minutes: 30
223221
steps:
224222
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -237,7 +235,7 @@ jobs:
237235
path: ${{ steps.pip-cache.outputs.dir }}
238236
key: ${{ runner.os }}-pip-ffi-examples-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt', 'examples/**/pyproject.toml') }}
239237
- name: Install JAX
240-
run: pip install .[cuda12]
238+
run: pip install .
241239
- name: Build and install example project
242240
run: python -m pip install -v ./examples/ffi[test]
243241
env:
@@ -246,7 +244,7 @@ jobs:
246244
# a different toolchain. GCC is the default compiler on the
247245
# 'ubuntu-latest' runner, but we still set this explicitly just to be
248246
# clear.
249-
CMAKE_ARGS: -DCMAKE_CXX_COMPILER=g++ -DJAX_FFI_EXAMPLE_ENABLE_CUDA=ON
247+
CMAKE_ARGS: -DCMAKE_CXX_COMPILER=g++ #-DJAX_FFI_EXAMPLE_ENABLE_CUDA=ON
250248
- name: Run CPU tests
251249
run: python -m pytest examples/ffi/tests
252250
env:

0 commit comments

Comments
 (0)