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

Commit c73dd32

Browse files
committed
resolve_neg, resolve_conj
1 parent 14283d3 commit c73dd32

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

functorch/csrc/BatchRulesStopDecomposition.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,6 @@ TORCH_LIBRARY_IMPL(aten, FT_BATCHED_KEY, m) {
509509
STOP_DECOMPOSE(repeat_interleave.self_Tensor);
510510
STOP_DECOMPOSE(repeat_interleave.self_int);
511511
STOP_DECOMPOSE(requires_grad_);
512-
STOP_DECOMPOSE(resolve_conj);
513-
STOP_DECOMPOSE(resolve_neg);
514512
STOP_DECOMPOSE(retain_grad);
515513
STOP_DECOMPOSE(retains_grad);
516514
STOP_DECOMPOSE(rnn_relu.data);

test/test_vmap.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2990,8 +2990,6 @@ class TestVmapOperatorsOpInfo(TestCase):
29902990
xfail('hsplit'),
29912991
xfail('nn.functional.pad', 'circular'),
29922992
xfail('resize_as_'),
2993-
xfail('resolve_conj'),
2994-
xfail('resolve_neg'),
29952993
xfail('tensor_split'),
29962994
xfail('to_sparse'),
29972995
xfail('vsplit'),
@@ -3032,7 +3030,6 @@ def test_vmap_exhaustive(self, device, dtype, op):
30323030

30333031
@ops(functorch_lagging_op_db + additional_op_db, allowed_dtypes=(torch.float,))
30343032
@skipOps('TestVmapOperatorsOpInfo', 'test_op_has_batch_rule', {
3035-
# xfail('__getitem__'),
30363033
xfail('cdist'),
30373034
xfail('complex'),
30383035
xfail('copysign'),
@@ -3087,8 +3084,7 @@ def test_vmap_exhaustive(self, device, dtype, op):
30873084
xfail('renorm'),
30883085
xfail('repeat_interleave'),
30893086
xfail('resize_as_'),
3090-
xfail('resolve_conj'),
3091-
xfail('resolve_neg'),
3087+
xfail('scatter'),
30923088
xfail('take'),
30933089
xfail('take_along_dim'),
30943090
xfail('tensor_split'),

0 commit comments

Comments
 (0)