|
1 | 1 | name: Benchmarks |
2 | 2 |
|
3 | | -on: |
4 | | - pull_request: |
5 | | - branches: |
6 | | - - main |
7 | | - |
8 | | -jobs: |
9 | | - # jax-build: |
10 | | - # strategy: |
11 | | - # matrix: |
12 | | - # runner: ["linux-x86-g2-48-l4-4gpu"] |
13 | | - |
14 | | - # runs-on: ${{ matrix.runner }} |
15 | | - # container: |
16 | | - # image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest" |
17 | | - |
18 | | - # env: |
19 | | - # JAXCI_HERMETIC_PYTHON_VERSION: 3.11 |
20 | | - |
21 | | - # steps: |
22 | | - # - name: Checkout JAX Fork |
23 | | - # uses: actions/checkout@v3 |
24 | | - # with: |
25 | | - # repository: 'google-ml-infra/jax-fork' |
26 | | - # path: jax-fork |
27 | | - |
28 | | - # - name: Install JAX Dependencies |
29 | | - # working-directory: jax-fork |
30 | | - # run: | |
31 | | - # python -m pip install --upgrade pip |
32 | | - # pip install pytest |
33 | | - # pip install absl-py |
34 | | - # pip install "jax[cuda12_pip]" # Adjust CUDA version if needed |
35 | | - # pip install google-benchmark |
36 | | - |
37 | | - # - name: Run JAX Multiprocess GPU Test |
38 | | - # working-directory: jax-fork |
39 | | - # continue-on-error: true |
40 | | - # run: python -m pytest tests/multiprocess_gpu_test.py |
41 | | - |
42 | | - # - name: Build XLA GPU Atomic Test |
43 | | - # working-directory: xla |
44 | | - # continue-on-error: true |
45 | | - # run: bazel build -c opt --config=cuda //xla/service/gpu/tests:gpu_atomic_test |
46 | | - |
47 | | - # - name: Run XLA GPU Atomic Test |
48 | | - # working-directory: xla |
49 | | - # continue-on-error: true |
50 | | - # run: bazel test -c opt --config=cuda //xla/service/gpu/tests:gpu_atomic_test |
51 | | - |
52 | | - build-xla-gpu: |
53 | | - runs-on: linux-x86-g2-48-l4-4gpu # Use a GPU-enabled runner |
54 | | - container: |
55 | | - image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest" |
56 | | - |
57 | | - name: Benchmarks |
58 | | - |
59 | 3 | on: |
60 | 4 | pull_request: |
61 | 5 | branches: |
|
0 commit comments