|
21 | 21 | matrix: |
22 | 22 | python: ["3.10"] |
23 | 23 |
|
24 | | - runs-on: "linux-x86-n2-16" |
25 | | - container: "us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest" |
| 24 | + runs-on: "linux-x86-g2-48-l4-4gpu" |
| 25 | + container: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest" |
26 | 26 |
|
27 | 27 | name: "Pytest GPU (Build wheels on CUDA 12.3)" |
28 | 28 | env: |
|
42 | 42 | run: ./ci/build_artifacts.sh "jax-cuda-plugin" |
43 | 43 | - name: Build jax-cuda-pjrt |
44 | 44 | run: ./ci/build_artifacts.sh "jax-cuda-pjrt" |
45 | | - |
46 | | - run_tests: |
47 | | - needs: build_artifacts |
48 | | - strategy: |
49 | | - matrix: |
50 | | - test_env: [ |
51 | | - {cuda_version: "12.3", runner: "linux-x86-g2-48-l4-4gpu", |
52 | | - image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"}, |
53 | | - {cuda_version: "12.1", runner: "linux-x86-g2-48-l4-4gpu", |
54 | | - image: "gcr.io/tensorflow-testing/nosla-cuda12.1-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"}, |
55 | | - ] |
56 | | - python: ["3.10"] |
57 | | - |
58 | | - runs-on: ${{ matrix.test_env.runner }} |
59 | | - container: |
60 | | - image: ${{ matrix.test_env.image }} |
61 | | - |
62 | | - name: "Pytest GPU (Test on CUDA ${{ matrix.test_env.cuda_version }})" |
63 | | - env: |
64 | | - JAXCI_HERMETIC_PYTHON_VERSION: ${{ matrix.python }} |
65 | | - |
66 | | - steps: |
67 | | - - uses: actions/checkout@v3 |
68 | | - # Halt for testing |
69 | | - - name: Wait For Connection |
70 | | - uses: google-ml-infra/actions/ci_connection@main |
71 | | - with: |
72 | | - halt-dispatch-input: ${{ inputs.halt-for-connection }} |
73 | 45 | - name: Install pytest |
74 | 46 | env: |
75 | 47 | JAXCI_PYTHON: python${{ matrix.python }} |
|
80 | 52 | run: $JAXCI_PYTHON -m pip install -r build/requirements.in |
81 | 53 | - name: Run Pytest GPU tests |
82 | 54 | run: ./ci/run_pytest_gpu.sh |
| 55 | + |
| 56 | + # run_tests: |
| 57 | + # needs: build_artifacts |
| 58 | + # strategy: |
| 59 | + # matrix: |
| 60 | + # test_env: [ |
| 61 | + # {cuda_version: "12.3", runner: "linux-x86-g2-48-l4-4gpu", |
| 62 | + # image: "gcr.io/tensorflow-testing/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"}, |
| 63 | + # {cuda_version: "12.1", runner: "linux-x86-g2-48-l4-4gpu", |
| 64 | + # image: "gcr.io/tensorflow-testing/nosla-cuda12.1-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"}, |
| 65 | + # ] |
| 66 | + # python: ["3.10"] |
| 67 | + |
| 68 | + # runs-on: ${{ matrix.test_env.runner }} |
| 69 | + # container: |
| 70 | + # image: ${{ matrix.test_env.image }} |
| 71 | + |
| 72 | + # name: "Pytest GPU (Test on CUDA ${{ matrix.test_env.cuda_version }})" |
| 73 | + # env: |
| 74 | + # JAXCI_HERMETIC_PYTHON_VERSION: ${{ matrix.python }} |
| 75 | + |
| 76 | + # steps: |
| 77 | + # - uses: actions/checkout@v3 |
| 78 | + # # Halt for testing |
| 79 | + # - name: Wait For Connection |
| 80 | + # uses: google-ml-infra/actions/ci_connection@main |
| 81 | + # with: |
| 82 | + # halt-dispatch-input: ${{ inputs.halt-for-connection }} |
| 83 | + # - name: Install pytest |
| 84 | + # env: |
| 85 | + # JAXCI_PYTHON: python${{ matrix.python }} |
| 86 | + # run: $JAXCI_PYTHON -m pip install pytest |
| 87 | + # - name: Install dependencies |
| 88 | + # env: |
| 89 | + # JAXCI_PYTHON: python${{ matrix.python }} |
| 90 | + # run: $JAXCI_PYTHON -m pip install -r build/requirements.in |
| 91 | + # - name: Run Pytest GPU tests |
| 92 | + # run: ./ci/run_pytest_gpu.sh |
0 commit comments