Skip to content

Commit 5f31ed3

Browse files
authored
Merge branch 'main' into remove_vs2019
2 parents 28ec502 + c9936da commit 5f31ed3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
140140
unittests-extended:
141141
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
142+
if: contains(github.event.pull_request.labels.*.name, 'run-extended')
142143
with:
143144
repository: pytorch/vision
144145
test-infra-ref: main

test/test_ops.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,11 +507,13 @@ def test_autocast(self, aligned, deterministic, x_dtype, rois_dtype):
507507
rois_dtype=rois_dtype,
508508
)
509509

510+
@pytest.mark.skip(reason="1/5000 flaky failure")
510511
@pytest.mark.parametrize("aligned", (True, False))
511512
@pytest.mark.parametrize("deterministic", (True, False))
512513
@pytest.mark.parametrize("x_dtype", (torch.float, torch.bfloat16))
513514
@pytest.mark.parametrize("rois_dtype", (torch.float, torch.bfloat16))
514515
def test_autocast_cpu(self, aligned, deterministic, x_dtype, rois_dtype):
516+
515517
with torch.cpu.amp.autocast():
516518
self.test_forward(
517519
torch.device("cpu"),

0 commit comments

Comments
 (0)