Skip to content

Commit

Permalink
[Hotfix] Skip Flaky Tests (Tracked in #13443) (#13444)
Browse files Browse the repository at this point in the history
This PR skips a flaky test to unblock CI on main.
  • Loading branch information
junrushao authored Nov 19, 2022
1 parent 76a6e71 commit 26d9b5a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/python/relay/opencl_texture/test_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
# under the License.

import re
import tvm

import numpy as np
import pytest
import tvm
from tvm import relay
from tvm.relay import testing
from tvm.contrib import utils
from utils.adreno_utils import gpu_preprocess, build_run_compare, get_model
import pytest
from tvm.relay import testing
from tvm.relay.op import register_mixed_precision_conversion
from utils.adreno_utils import build_run_compare, get_model, gpu_preprocess


def convert_to_fp16(mod, dtype):
Expand All @@ -49,13 +50,15 @@ def _test_mobilenet_v1(remote, target, dtype):
build_run_compare(remote, mod, params, inputs, dtypes, target, [])


@pytest.mark.skip(reason="See https://github.com/apache/tvm/issues/13443")
@tvm.testing.requires_opencl
@tvm.testing.parametrize_targets("opencl -device=adreno")
@pytest.mark.skipif(tvm.testing.utils.IS_IN_CI, reason="CI doesn't support fp16(half datatypes)")
def test_mobilenet_v1_fp16(remote, target):
_test_mobilenet_v1(remote, target, "float16")


@pytest.mark.skip(reason="See https://github.com/apache/tvm/issues/13443")
@tvm.testing.requires_opencl
@tvm.testing.parametrize_targets("opencl -device=adreno")
def test_mobilenet_v1_fp32(remote, target):
Expand Down

0 comments on commit 26d9b5a

Please sign in to comment.