Skip to content

Commit

Permalink
* CI: GPU fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
srkreddy1238 committed Mar 6, 2021
1 parent bead81f commit 44969c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/python/frontend/tensorflow/test_forward_v2_x.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ def _test_pooling(input_shape, **kwargs):
_test_pooling_iteration(input_shape, **kwargs)


@tvm.testing.uses_gpu
def test_forward_pooling():
""" Pooling """
# TensorFlow only supports NDHWC for max_pool3d on CPU
Expand Down Expand Up @@ -567,6 +568,7 @@ def _test_convolution(
compare_tf_with_tvm_v2([input_data], concrete_func)


@tvm.testing.uses_gpu
def test_forward_convolution():
if is_gpu_available():
_test_convolution("conv", [4, 176, 8, 8], [1, 1, 176, 32], [1, 1], [1, 1], "SAME", "NCHW")
Expand Down Expand Up @@ -705,6 +707,7 @@ def _test_convolution3d(
compare_tf_with_tvm_v2([input_data], concrete_func)


@tvm.testing.uses_gpu
def test_forward_convolution3d():
if is_gpu_available():
_test_convolution3d(
Expand Down Expand Up @@ -749,6 +752,7 @@ def _test_biasadd(tensor_in_sizes, data_format):
compare_tf_with_tvm_v2([input_data, bias_data], concrete_func)


@tvm.testing.uses_gpu
def test_forward_biasadd():
if is_gpu_available():
_test_biasadd([4, 176, 8, 8], "NCHW")
Expand Down

0 comments on commit 44969c7

Please sign in to comment.