From e2b6e73fa2447c25e1dafb496e9937f2602d07d2 Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Thu, 3 Feb 2022 17:12:14 +0100 Subject: [PATCH] [Flax tests] Disable scheduled GPU tests (#15503) --- .github/workflows/self-scheduled.yml | 88 ++++++++++++++-------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/self-scheduled.yml b/.github/workflows/self-scheduled.yml index 1f11e7a522..7d270611c2 100644 --- a/.github/workflows/self-scheduled.yml +++ b/.github/workflows/self-scheduled.yml @@ -98,50 +98,50 @@ jobs: name: run_all_tests_torch_gpu_test_reports path: reports - run_all_tests_flax_gpu: - runs-on: [self-hosted, docker-gpu-test, single-gpu] - container: - image: tensorflow/tensorflow:2.4.1-gpu - options: --gpus 0 --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ - steps: - - name: Launcher docker - uses: actions/checkout@v2 - - - name: NVIDIA-SMI - continue-on-error: true - run: | - nvidia-smi - - - name: Install dependencies - run: | - pip install --upgrade pip - pip install --upgrade "jax[cuda111]" -f https://storage.googleapis.com/jax-releases/jax_releases.html - pip install .[flax,integrations,sklearn,testing,sentencepiece,flax-speech,vision] - pip install https://github.com/kpu/kenlm/archive/master.zip - - - name: Are GPUs recognized by our DL frameworks - run: | - python -c "from jax.lib import xla_bridge; print('GPU available:', xla_bridge.get_backend().platform)" - python -c "import jax; print('Number of GPUs available:', len(jax.local_devices()))" - - - name: Run all tests on GPU - run: | - python -m pytest -n 1 -v --dist=loadfile --make-reports=tests_flax_gpu tests - - - name: Failure short reports - if: ${{ always() }} - run: cat reports/tests_flax_gpu_failures_short.txt - - - name: Test durations - if: ${{ always() }} - run: cat reports/tests_flax_gpu_durations.txt - - - name: Test suite reports artifacts - if: ${{ always() }} - uses: actions/upload-artifact@v2 - with: - name: run_all_tests_flax_gpu_test_reports - path: reports +# run_all_tests_flax_gpu: +# runs-on: [self-hosted, docker-gpu-test, single-gpu] +# container: +# image: tensorflow/tensorflow:2.4.1-gpu +# options: --gpus 0 --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ +# steps: +# - name: Launcher docker +# uses: actions/checkout@v2 +# +# - name: NVIDIA-SMI +# continue-on-error: true +# run: | +# nvidia-smi +# +# - name: Install dependencies +# run: | +# pip install --upgrade pip +# pip install --upgrade "jax[cuda111]" -f https://storage.googleapis.com/jax-releases/jax_releases.html +# pip install .[flax,integrations,sklearn,testing,sentencepiece,flax-speech,vision] +# pip install https://github.com/kpu/kenlm/archive/master.zip +# +# - name: Are GPUs recognized by our DL frameworks +# run: | +# python -c "from jax.lib import xla_bridge; print('GPU available:', xla_bridge.get_backend().platform)" +# python -c "import jax; print('Number of GPUs available:', len(jax.local_devices()))" +# +# - name: Run all tests on GPU +# run: | +# python -m pytest -n 1 -v --dist=loadfile --make-reports=tests_flax_gpu tests +# +# - name: Failure short reports +# if: ${{ always() }} +# run: cat reports/tests_flax_gpu_failures_short.txt +# +# - name: Test durations +# if: ${{ always() }} +# run: cat reports/tests_flax_gpu_durations.txt +# +# - name: Test suite reports artifacts +# if: ${{ always() }} +# uses: actions/upload-artifact@v2 +# with: +# name: run_all_tests_flax_gpu_test_reports +# path: reports run_all_tests_tf_gpu: runs-on: [self-hosted, docker-gpu, single-gpu]