mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Remove top-level DisableFuncTorch; clearing interpreter stack should work. (#122610)
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/122610 Approved by: https://github.com/zou3519 ghstack dependencies: #122202
This commit is contained in:
committed by
PyTorch MergeBot
parent
f42818321b
commit
1af6fc5e03
@ -1350,7 +1350,6 @@ class MetaConverter:
|
||||
exit_stack.enter_context(
|
||||
torch._functorch.pyfunctorch.temporarily_clear_interpreter_stack()
|
||||
)
|
||||
exit_stack.enter_context(torch._C._DisableFuncTorch())
|
||||
|
||||
r = self.meta_tensor(
|
||||
t_desc,
|
||||
|
Reference in New Issue
Block a user