Unverified Commit 15b4562d authored by ptrblck's avatar ptrblck Committed by GitHub
Browse files

Remove CUDA 11.7 builds; add 11.8 (#7616)


Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
Co-authored-by: default avataratalman <atalman@fb.com>
parent 25c8922a
...@@ -18,7 +18,7 @@ jobs: ...@@ -18,7 +18,7 @@ jobs:
- python-version: "3.8" - python-version: "3.8"
runner: linux.g5.4xlarge.nvidia.gpu runner: linux.g5.4xlarge.nvidia.gpu
gpu-arch-type: cuda gpu-arch-type: cuda
gpu-arch-version: "11.7" gpu-arch-version: "11.8"
fail-fast: false fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with: with:
......
...@@ -24,7 +24,7 @@ jobs: ...@@ -24,7 +24,7 @@ jobs:
- python-version: 3.8 - python-version: 3.8
runner: linux.g5.4xlarge.nvidia.gpu runner: linux.g5.4xlarge.nvidia.gpu
gpu-arch-type: cuda gpu-arch-type: cuda
gpu-arch-version: "11.7" gpu-arch-version: "11.8"
fail-fast: false fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with: with:
...@@ -85,7 +85,7 @@ jobs: ...@@ -85,7 +85,7 @@ jobs:
- python-version: "3.8" - python-version: "3.8"
runner: windows.g5.4xlarge.nvidia.gpu runner: windows.g5.4xlarge.nvidia.gpu
gpu-arch-type: cuda gpu-arch-type: cuda
gpu-arch-version: "11.7" gpu-arch-version: "11.8"
fail-fast: false fail-fast: false
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
with: with:
......
...@@ -682,10 +682,11 @@ def test_classification_model(model_fn, dev): ...@@ -682,10 +682,11 @@ def test_classification_model(model_fn, dev):
model_name = model_fn.__name__ model_name = model_fn.__name__
if SKIP_BIG_MODEL and is_skippable(model_name, dev): if SKIP_BIG_MODEL and is_skippable(model_name, dev):
pytest.skip("Skipped to reduce memory usage. Set env var SKIP_BIG_MODEL=0 to enable test for this model") pytest.skip("Skipped to reduce memory usage. Set env var SKIP_BIG_MODEL=0 to enable test for this model")
if model_name == "vit_h_14" and dev == "cuda": if model_name == "resnet101" and dev == "cuda":
# TODO: investigate why this fail on CI. It doesn't fail on AWS cluster with CUDA 11.6 # TODO: Investigate the Failure with CUDA 11.8: https://github.com/pytorch/vision/issues/7618
# (can't test with later versions ATM) # TODO: Investigate/followup on previous failure: https://github.com/pytorch/vision/issues/7143
pytest.xfail("https://github.com/pytorch/vision/issues/7143") # its not happening on CI with CUDA 11.8 anymore. Follow up is needed if its still not resolved.
pytest.xfail("https://github.com/pytorch/vision/issues/7618")
kwargs = {**defaults, **_model_params.get(model_name, {})} kwargs = {**defaults, **_model_params.get(model_name, {})}
num_classes = kwargs.get("num_classes") num_classes = kwargs.get("num_classes")
input_shape = kwargs.pop("input_shape") input_shape = kwargs.pop("input_shape")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment