Skip to content

Commit 591691b

Browse files
committed
Update on "[inductor] add lowering for repeat_interleave.Tensor with output size specified (#147160)"
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov coconutruben [ghstack-poisoned]
2 parents dae7e73 + ef0f34d commit 591691b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_inductor/decomposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ def repeat_interleave_Tensor(
11631163
return NotImplemented
11641164
if output_size is None or type(output_size) is not int:
11651165
return NotImplemented
1166-
if repeat.device == "mps":
1166+
if repeat.device.type == "mps":
11671167
return NotImplemented
11681168
assert repeat.dtype in [torch.int32, torch.int64]
11691169
assert repeat.ndim == 1

0 commit comments

Comments
 (0)