[dnnlowp] reduce num of test cases to avoid time out (#64935)
authorJongsoo Park <jongsoo@fb.com>
Wed, 15 Sep 2021 04:30:45 +0000 (21:30 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 15 Sep 2021 04:32:12 +0000 (21:32 -0700)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64935

As title

Test Plan: CI

Reviewed By: dskhudia

Differential Revision: D30889157

fbshipit-source-id: 316c808806b084bd2e44c56e1cdb61adf2369a9d

caffe2/quantization/server/conv_dnnlowp_op_test.py

index 11cd12a..9d5e301 100644 (file)
@@ -227,6 +227,7 @@ class DNNLowPOpConvTest(hu.HypothesisTestCase):
         dc,
     ):
         assume(group == 1 or dilation == 1)
+        assume(order == "NHWC" or input_channels_per_group <= 8 and output_channels_per_group <= 8)
 
         X, W, b = generate_conv_inputs(
             stride,