Skip to content

Commit 1a70185

Browse files
egienvaluepytorchmergebot
authored andcommitted
Add Autograd Fallback for MTIA (pytorch#139211)
Summary: As title. Test Plan: OSS and internal CIs. Differential Revision: D65022481 Pull Request resolved: pytorch#139211 Approved by: https://github.com/jvandebon
1 parent 59b6694 commit 1a70185

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

aten/src/ATen/core/VariableFallbackKernel.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ TORCH_LIBRARY_IMPL(_, AutogradCUDA, m) {
7676
m.fallback(AUTOGRAD_FALLBACK);
7777
}
7878

79+
TORCH_LIBRARY_IMPL(_, AutogradMTIA, m) {
80+
m.fallback(AUTOGRAD_FALLBACK);
81+
}
82+
7983
TORCH_LIBRARY_IMPL(_, AutogradXLA, m) {
8084
m.fallback(AUTOGRAD_FALLBACK);
8185
}

0 commit comments

Comments
 (0)