@@ -324,55 +324,55 @@ jobs:
324324 "context": "github-actions/build"
325325 }'
326326
327- multiprocess-unit-tests :
328- name : " multiprocess-unit-tests (Python ${{ matrix.python-version }}, jax=${{ matrix.jax-version }})"
329- runs-on : linux-x86-ct5lp-4tpu-x2
330- container : us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build:infrastructure-public-image-2d2a7b1e6e2e
331- defaults :
332- run :
333- working-directory : checkpoint
334- strategy :
335- matrix :
336- python-version : ["3.11"]
337- jax-version : ["newest"]
338- steps :
339- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
340- - name : Set up Python ${{ matrix.python-version }}
341- uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
342- with :
343- python-version : ${{ matrix.python-version }}
344- - name : Install dependencies
345- run : |
346- pip install -e .
347- pip install -e .[testing,gcs] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
348- pip uninstall -y orbax
349- pip install gcsfs
350- pip install portpicker pytest chex pyyaml
351- if [ "${{ matrix.jax-version }}" = "newest" ]; then
352- pip install -U "jax[tpu]" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
353- elif [ "${{ matrix.jax-version }}" = "nightly" ]; then
354- pip install -U --pre "jax[tpu]" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html --extra-index-url https://us-python.pkg.dev/ml-oss-artifacts-published/jax-public-nightly-artifacts-registry/simple/
355- else
356- pip install "jax[tpu]==${{ matrix.jax-version }}" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
357- fi
358- - name : Run multiprocess tests
359- env :
360- TEST_TMPDIR : gs://orbax-benchmarks/unit-tests/${{ github.run_id }}
361- run : |
362- python orbax/checkpoint/_src/testing/multiprocess_unittests/run_tests.py --filename=orbax/checkpoint/_src/testing/multiprocess_unittests/tagged_tests.yaml --processes=4
363- - name : Report success or failure as github status
364- if : always()
365- shell : bash
366- run : |
367- status="${{ job.status }}"
368- lowercase_status=$(echo $status | tr '[:upper:]' '[:lower:]')
369- curl -sS --request POST \
370- --url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \
371- --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
372- --header 'content-type: application/json' \
373- --data '{
374- "state": "'$lowercase_status'",
375- "target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
376- "description": "'$status'",
377- "context": "github-actions/build"
378- }'
327+ # multiprocess-unit-tests:
328+ # name: "multiprocess-unit-tests (Python ${{ matrix.python-version }}, jax=${{ matrix.jax-version }})"
329+ # runs-on: linux-x86-ct5lp-4tpu-x2
330+ # container: us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build:infrastructure-public-image-2d2a7b1e6e2e
331+ # defaults:
332+ # run:
333+ # working-directory: checkpoint
334+ # strategy:
335+ # matrix:
336+ # python-version: ["3.11"]
337+ # jax-version: ["newest"]
338+ # steps:
339+ # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
340+ # - name: Set up Python ${{ matrix.python-version }}
341+ # uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
342+ # with:
343+ # python-version: ${{ matrix.python-version }}
344+ # - name: Install dependencies
345+ # run: |
346+ # pip install -e .
347+ # pip install -e .[testing,gcs] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
348+ # pip uninstall -y orbax
349+ # pip install gcsfs
350+ # pip install portpicker pytest chex pyyaml
351+ # if [ "${{ matrix.jax-version }}" = "newest" ]; then
352+ # pip install -U "jax[tpu]" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
353+ # elif [ "${{ matrix.jax-version }}" = "nightly" ]; then
354+ # pip install -U --pre "jax[tpu]" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html --extra-index-url https://us-python.pkg.dev/ml-oss-artifacts-published/jax-public-nightly-artifacts-registry/simple/
355+ # else
356+ # pip install "jax[tpu]==${{ matrix.jax-version }}" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
357+ # fi
358+ # - name: Run multiprocess tests
359+ # env:
360+ # TEST_TMPDIR: gs://orbax-benchmarks/unit-tests/${{ github.run_id }}
361+ # run: |
362+ # python orbax/checkpoint/_src/testing/multiprocess_unittests/run_tests.py --filename=orbax/checkpoint/_src/testing/multiprocess_unittests/tagged_tests.yaml --processes=4
363+ # - name: Report success or failure as github status
364+ # if: always()
365+ # shell: bash
366+ # run: |
367+ # status="${{ job.status }}"
368+ # lowercase_status=$(echo $status | tr '[:upper:]' '[:lower:]')
369+ # curl -sS --request POST \
370+ # --url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \
371+ # --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
372+ # --header 'content-type: application/json' \
373+ # --data '{
374+ # "state": "'$lowercase_status'",
375+ # "target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
376+ # "description": "'$status'",
377+ # "context": "github-actions/build"
378+ # }'
0 commit comments