mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Revert D33780905: Opinfo test for mvlgamma: add epsilon
Test Plan: revert-hammer Differential Revision: D33780905 (72cedba655) Original commit changeset: c9afd443bc90 Original Phabricator Diff: D33780905 (72cedba655) fbshipit-source-id: 180b862ed03e18f96cc1c7f956476eb16dd56225 (cherry picked from commit623643b362)
This commit is contained in:
parent
4d4b94b3cb
commit
58f25678bd
|
|
@ -6292,8 +6292,6 @@ def sample_inputs_mvlgamma(op_info, device, dtype, requires_grad, **kwargs):
|
|||
if not dtype.is_floating_point:
|
||||
# Round-up minimum value for integral dtypes
|
||||
min_val += 1
|
||||
else:
|
||||
min_val += 2 * torch.finfo(dtype).eps
|
||||
yield SampleInput(make_arg(shape, low=min_val), args=(n,))
|
||||
|
||||
|
||||
|
|
@ -6304,6 +6302,8 @@ def skips_mvlgamma(skip_redundant=False):
|
|||
skips = (
|
||||
# outside domain values are hard error for mvlgamma op.
|
||||
DecorateInfo(unittest.skip("Skipped!"), 'TestUnaryUfuncs', 'test_float_domains'),
|
||||
# TODO: float16 fails due to tensor not satisfying > (p-1)/2
|
||||
DecorateInfo(unittest.skip("Skipped!"), 'TestNNCOpInfo'),
|
||||
)
|
||||
if skip_redundant:
|
||||
# Redundant tests
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user