Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "disable fp16 test for poolWithSequenceAxis (#3810)" #3857

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions bindings/python/cntk/tests/onnx_op_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,8 @@ def test_AveragePool(tmpdir, dtype, device_id):
#AveragePool
@pytest.mark.parametrize("dtype", DType_Config)
def test_AveragePoolWithSequenceAxis(tmpdir, dtype, device_id):
if dtype == np.float16:
# CI reporting "FP16 convolution is only supported via cuDNN." on GPU with float16 data
pytest.skip('Test is skipped with float16 data')
if device_id == -1 and dtype == np.float16:
pytest.skip('Test is skipped on CPU with float16 data')
device = cntk_device(device_id)
with C.default_options(dtype=dtype):
img = np.reshape(np.arange(16, dtype = dtype), [1, 4, 4])
Expand Down Expand Up @@ -1343,9 +1342,8 @@ def test_MaxPool(tmpdir, dtype, device_id):
#MaxPool
@pytest.mark.parametrize("dtype", DType_Config)
def test_MaxPoolWithSequenceAxis(tmpdir, dtype, device_id):
if dtype == np.float16:
# CI reporting "FP16 convolution is only supported via cuDNN." on GPU with float16 data
pytest.skip('Test is skipped with float16 data')
if device_id == -1 and dtype == np.float16:
pytest.skip('Test is skipped on CPU with float16 data')
device = cntk_device(device_id)
with C.default_options(dtype=dtype):
img = np.reshape(np.arange(16, dtype = dtype), [1, 4, 4])
Expand Down