Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit f236d02

Browse files
committed
update discover_coverage
1 parent eaa88eb commit f236d02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/discover_coverage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ class Support(enum.Enum):
628628
'nn.functional.rrelu', # not actually problem, randomness testing artifact
629629
'normal', # not actually problem, randomness testing artifact
630630
'bernoulli', # not actually problem, randomness testing artifact
631-
'torch.nn.functional.embedding', # max_norm causes testing to be weird
631+
'nn.functional.embedding', # max_norm causes testing to be weird
632632
# 'multinomial',
633633
}
634634

@@ -741,13 +741,13 @@ def supports_jvpvjp(self):
741741
def _supports_vmapjvp_base(self, test):
742742
if self.name in FACTORY_FNS:
743743
return Support.YES
744-
if self.name in JVP_EXEMPTIONS:
745-
return Support.YES
746744
VMAPJVP_EXEMPTIONS = {
747745
'prod', # dynamic (backward)
748746
'nn.functional.batch_norm', # testing problem
749747
'normal', # not actually problem, randomness testing artifact
750748
'bernoulli', # not actually problem, randomness testing artifact
749+
'dropout2d', # not actually problem, randomness testing artifact
750+
'dropout', # not actually problem, randomness testing artifact
751751
}
752752
if self.name in VMAPJVP_EXEMPTIONS:
753753
return Support.YES

0 commit comments

Comments
 (0)