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

Commit ce4b612

Browse files
committed
temporary xfail for nll_loss
1 parent 677740a commit ce4b612

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/test_ops.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ def vjp_of_vjp(*args_and_cotangents):
351351
xfail('block_diag'),
352352
xfail('nn.functional.dropout'),
353353
xfail('nn.functional.max_pool2d'),
354+
xfail('nn.functional.nll_loss'),
354355
}))
355356
def test_vmapvjp(self, device, dtype, op):
356357
# These are too annoying to put into the list above
@@ -525,6 +526,7 @@ def test():
525526
xfail('block_diag'),
526527
xfail('nn.functional.max_pool2d'),
527528
xfail('nn.functional.batch_norm'),
529+
xfail('nn.functional.nll_loss'),
528530
}))
529531
def test_vjpvmap(self, device, dtype, op):
530532
# NB: there is no vjpvmap_has_batch_rule test because that is almost

test/test_vmap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3001,6 +3001,7 @@ class TestVmapOperatorsOpInfo(TestCase):
30013001
xfail('index_put'),
30023002
xfail('nn.functional.max_pool2d'),
30033003
xfail('nn.functional.batch_norm'),
3004+
xfail('nn.functional.nll_loss'),
30043005
})
30053006
def test_vmap_exhaustive(self, device, dtype, op):
30063007
sample_inputs_itr = op.sample_inputs(device, dtype, requires_grad=False)

0 commit comments

Comments
 (0)