Skip to content

Commit 4f6aae3

Browse files
Revert "[MPS] SparseMps mv op (pytorch#166708)"
This reverts commit 406719c. Reverted pytorch#166708 on behalf of https://github.com/jeanschmidt due to breaks internal signals, see D86606212 ([comment](pytorch#166708 (comment)))
1 parent 4cff8b5 commit 4f6aae3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

aten/src/ATen/native/native_functions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4389,7 +4389,7 @@
43894389
variants: function, method
43904390
dispatch:
43914391
CompositeExplicitAutograd: mv
4392-
SparseCPU, SparseCUDA, SparseMPS: mv_sparse
4392+
SparseCPU, SparseCUDA: mv_sparse
43934393

43944394
- func: mv.out(Tensor self, Tensor vec, *, Tensor(a!) out) -> Tensor(a!)
43954395
dispatch:

test/test_sparse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2674,6 +2674,7 @@ def test_asin_arcsin(self, device, dtype, coalesced):
26742674
self._test_asin_arcsin(input_uncoalesced, coalesced)
26752675

26762676
@coalescedonoff
2677+
@expectedFailureMPS
26772678
@dtypes(torch.double)
26782679
@dtypesIfMPS(torch.float32)
26792680
def test_mv(self, device, dtype, coalesced):

0 commit comments

Comments
 (0)