Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fall back with some old configs #2164

Merged
merged 17 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .azure/gpu-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/torchmetrics/functional/multimodal/clip_iqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _download_clip() -> None:
_CLIPProcessor.from_pretrained("openai/clip-vit-base-patch16")

if _SKIP_SLOW_DOCTEST and not _try_proceed_with_timeout(_download_clip):
__doctest_skip__ = ["clip_score"]
__doctest_skip__ = ["clip_image_quality_assessment"]

else:
__doctest_skip__ = ["clip_image_quality_assessment"]
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/utilities/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,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",
Expand Down
Loading