Skip to content

Commit 89b0980

Browse files
authored
Revert "Skip model test for vit_h_14 (#7218)"
This reverts commit 9b233d4.
1 parent 9b233d4 commit 89b0980

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/test_models.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -682,10 +682,6 @@ def test_classification_model(model_fn, dev):
682682
model_name = model_fn.__name__
683683
if SKIP_BIG_MODEL and is_skippable(model_name, dev):
684684
pytest.skip("Skipped to reduce memory usage. Set env var SKIP_BIG_MODEL=0 to enable test for this model")
685-
if model_name == "vit_h_14" and dev == "cuda":
686-
# TODO: investigate why this fail on CI. It doesn't fail on AWS cluster with CUDA 11.6
687-
# (can't test with later versions ATM)
688-
pytest.xfail("https://github.com/pytorch/vision/issues/7143")
689685
kwargs = {**defaults, **_model_params.get(model_name, {})}
690686
num_classes = kwargs.get("num_classes")
691687
input_shape = kwargs.pop("input_shape")

0 commit comments

Comments
 (0)