From 1903e119d73663dbe2dd980bc3386a26e290c0ef Mon Sep 17 00:00:00 2001 From: Nicki Skafte Detlefsen Date: Tue, 17 Oct 2023 17:24:11 +0200 Subject: [PATCH] ci: fall back with some old configs (#2164) Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> --- .azure/gpu-unittests.yml | 4 ++-- .github/workflows/ci-tests.yml | 2 +- .github/workflows/docker-build.yml | 2 +- docs/source/links.rst | 2 +- tests/unittests/utilities/test_plot.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.azure/gpu-unittests.yml b/.azure/gpu-unittests.yml index d1c589aeba6..1f0b5fcad61 100644 --- a/.azure/gpu-unittests.yml +++ b/.azure/gpu-unittests.yml @@ -19,7 +19,7 @@ jobs: matrix: "PyTorch | old": # Torch does not have build wheels with old Torch versions for newer CUDA - docker-image: "pytorchlightning/torchmetrics:ubuntu22.04-cuda11.8.0-py3.9-torch1.10" + docker-image: "pytorchlightning/torchmetrics:ubuntu20.04-cuda11.3.1-py3.9-torch1.10" agent-pool: "lit-rtx-3090" torch-ver: "1.10.2" "PyTorch | 1.X": @@ -110,7 +110,7 @@ jobs: - bash: python -m pytest torchmetrics --timeout=240 --durations=50 env: - DOCTEST_DOWNLOAD_TIMEOUT: "120" + DOCTEST_DOWNLOAD_TIMEOUT: "240" SKIP_SLOW_DOCTEST: "1" workingDirectory: src displayName: "DocTesting" diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index b73982287b9..5ec4c3dad76 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -46,7 +46,7 @@ jobs: - { os: "windows-2022", python-version: "3.8", pytorch-version: "1.13.1" } - { os: "windows-2022", python-version: "3.9", pytorch-version: "1.13.1" } - { os: "windows-2022", python-version: "3.10", pytorch-version: "2.0.1" } - - { os: "windows-2022", python-version: "3.11", pytorch-version: "2.1.0" } + # - { os: "windows-2022", python-version: "3.11", pytorch-version: "2.1.0" } # TODO env: PYTORCH_URL: "https://download.pytorch.org/whl/cpu/torch_stable.html" FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }} diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 3e6610521dc..ae28feccdd7 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -66,7 +66,7 @@ jobs: include: # These are the base images for PL release docker images, # so include at least all of the combinations in release-dockers.yml. - - { python: "3.9", pytorch: "1.10", cuda: "11.8.0", ubuntu: "22.04" } + - { python: "3.9", pytorch: "1.10", cuda: "11.3.1", ubuntu: "20.04" } - { python: "3.9", pytorch: "1.11", cuda: "11.8.0", ubuntu: "22.04" } - { python: "3.9", pytorch: "1.13", cuda: "11.8.0", ubuntu: "22.04" } - { python: "3.10", pytorch: "2.0", cuda: "11.8.0", ubuntu: "22.04" } diff --git a/docs/source/links.rst b/docs/source/links.rst index c967c454d43..4ee095dd659 100644 --- a/docs/source/links.rst +++ b/docs/source/links.rst @@ -125,7 +125,7 @@ .. _SRMRpy: https://github.com/jfsantos/SRMRpy .. _Permutation invariant training: https://arxiv.org/abs/1607.00325 .. _ranking ref1: https://link.springer.com/chapter/10.1007/978-0-387-09823-4_34 -.. _Spectral Distortion Index: https://www.ingentaconnect.com/content/asprs/pers/2008/00000074/00000002/art00003;jsessionid=nzjnb3v9xxr1.x-ic-live-03 +.. _Spectral Distortion Index: https://www.semanticscholar.org/paper/Multispectral-and-panchromatic-data-fusion-without-Alparone-Aiazzi/b6db12e3785326577cb95fd743fecbf5bc66c7c9 .. _Relative dimensionless global error synthesis: https://ieeexplore.ieee.org/abstract/document/4317530 .. _fid ref1: https://arxiv.org/abs/1512.00567 .. _fid ref2: https://arxiv.org/abs/1706.08500 diff --git a/tests/unittests/utilities/test_plot.py b/tests/unittests/utilities/test_plot.py index 42a21023dd7..5b8a906b522 100644 --- a/tests/unittests/utilities/test_plot.py +++ b/tests/unittests/utilities/test_plot.py @@ -607,7 +607,7 @@ pytest.param(BLEUScore, _text_input_3, _text_input_4, id="bleu score"), pytest.param(CHRFScore, _text_input_3, _text_input_4, id="bleu score"), pytest.param( - partial(InfoLM, model_name_or_path="google/bert_uncased_L-2_H-128_A-2", idf=False), + partial(InfoLM, model_name_or_path="google/bert_uncased_L-2_H-128_A-2", idf=False, verbose=False), _text_input_1, _text_input_2, id="info lm",