mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Suppress hypothesis health check in adagrad_test.py
Summary: PR #1536 suppressed test_sparse_adagrad but test_row_wise_sparse_adagrad also filters too many examples. Suppress health checks for this test as well. Closes https://github.com/caffe2/caffe2/pull/1599 Differential Revision: D6530850 Pulled By: pietern fbshipit-source-id: c73f30d2e104565421e3e381b1cf66185edc833e
This commit is contained in:
parent
93009b15e8
commit
fca617c62f
|
|
@ -204,6 +204,10 @@ class TestAdagrad(hu.HypothesisTestCase):
|
|||
gc, op, [param_i, momentum_i, indices, grad, lr], ref_sparse
|
||||
)
|
||||
|
||||
# Suppress filter_too_much health check.
|
||||
# Reproduce by commenting @settings and uncommenting @seed.
|
||||
# @seed(302934307671667531413257853548643485645)
|
||||
@settings(suppress_health_check=[HealthCheck.filter_too_much])
|
||||
@given(inputs=hu.tensors(n=2),
|
||||
lr=st.floats(min_value=0.01, max_value=0.99,
|
||||
allow_nan=False, allow_infinity=False),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user