Home
last modified time | relevance | path

Searched refs:enable_python_dispatcher (Results 1 – 25 of 25) sorted by relevance

/aosp_15_r20/external/pytorch/test/export/
H A Dopinfo_schema.py4 from torch._dispatch.python import enable_python_dispatcher
99 with enable_python_dispatcher():
/aosp_15_r20/external/pytorch/torch/fx/passes/
H A Dshape_prop.py7 from torch._dispatch.python import enable_python_dispatcher
151 with self.fake_mode, enable_python_dispatcher():
/aosp_15_r20/external/pytorch/torch/_dispatch/
H A Dpython.py17 enable_python_dispatcher = torch._C._EnablePythonDispatcher variable
174 with enable_python_dispatcher(), unittest.mock.patch(
/aosp_15_r20/external/pytorch/test/inductor/
H A Dtest_efficient_conv_bn_eval.py101 from torch._dispatch.python import enable_python_dispatcher
136 with enable_python_dispatcher():
H A Dtest_torchinductor_opinfo.py14 from torch._dispatch.python import enable_python_dispatcher
685 with enable_python_dispatcher():
H A Dtest_torchinductor.py32 from torch._dispatch.python import enable_python_dispatcher
11418 with enable_python_dispatcher():
/aosp_15_r20/external/pytorch/torch/_functorch/_aot_autograd/
H A Ddispatch_and_compile_graph.py14 from torch._dispatch.python import enable_python_dispatcher
48 with enable_python_dispatcher(), FunctionalTensorMode(
/aosp_15_r20/external/pytorch/test/
H A Dtest_decomp.py14 from torch._dispatch.python import enable_python_dispatcher
569 ) as mode, enable_python_dispatcher():
700 ), enable_python_dispatcher():
978 ) as mode, enable_python_dispatcher():
997 ) as mode, enable_python_dispatcher():
1016 ) as mode, enable_python_dispatcher():
H A Dtest_prims.py341 with torch._dispatch.python.enable_python_dispatcher():
409 with torch._dispatch.python.enable_python_dispatcher():
H A Dtest_proxy_tensor.py165 from torch._dispatch.python import enable_python_dispatcher
166 with enable_python_dispatcher():
462 from torch._dispatch.python import enable_python_dispatcher
464 with enable_python_dispatcher():
488 from torch._dispatch.python import enable_python_dispatcher
490 with enable_python_dispatcher():
H A Dtest_functionalization.py9 enable_python_dispatcher,
1914 with enable_python_dispatcher():
2038 with enable_python_dispatcher():
H A Dtest_meta.py13 from torch._dispatch.python import enable_python_dispatcher
609 with enable_python_dispatcher():
1723 with enable_python_dispatcher():
/aosp_15_r20/external/executorch/exir/verification/
H A Dverifier.py22 from torch._dispatch.python import enable_python_dispatcher
168 with enable_python_dispatcher(), fake_mode:
/aosp_15_r20/external/executorch/exir/capture/
H A D_capture.py28 from torch._dispatch.python import enable_python_dispatcher
303 with enable_python_dispatcher(), fake_tensor_mode:
/aosp_15_r20/external/pytorch/torch/_functorch/
H A Daot_autograd.py16 from torch._dispatch.python import enable_python_dispatcher
579 enable_python_dispatcher() if shape_env is not None else nullcontext()
613 with enable_python_dispatcher():
/aosp_15_r20/external/pytorch/torch/onnx/_internal/fx/passes/
H A Ddecomp.py69 … with fake_tensor.unset_fake_temporarily(), python_dispatch.enable_python_dispatcher(), fake_mode:
/aosp_15_r20/external/pytorch/torch/_export/
H A Dpass_base.py11 from torch._dispatch.python import enable_python_dispatcher
435 dispatcher_mode = enable_python_dispatcher() # type: ignore[assignment]
H A D__init__.py26 from torch._dispatch.python import enable_python_dispatcher
/aosp_15_r20/external/pytorch/torch/_dynamo/
H A Deval_frame.py55 from torch._dispatch.python import enable_python_dispatcher
1381 ), enable_python_dispatcher(), ignore_fresh_unbacked:
1538 with unset_fake_temporarily(), enable_python_dispatcher(), fake_mode:
H A Dutils.py95 from torch._dispatch.python import enable_python_dispatcher
1784 with tx.fake_mode, enable_python_dispatcher():
/aosp_15_r20/external/executorch/exir/
H A Dpass_base.py35 from torch._dispatch.python import enable_python_dispatcher
572 dispatcher_mode = enable_python_dispatcher() # type: ignore[assignment]
/aosp_15_r20/external/pytorch/torch/export/
H A D_trace.py17 from torch._dispatch.python import enable_python_dispatcher
1433 with enable_python_dispatcher():
/aosp_15_r20/external/pytorch/torch/fx/experimental/
H A Dproxy_tensor.py48 from torch._dispatch.python import enable_python_dispatcher
1921 self.python_dispatcher_mode = enable_python_dispatcher()
/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dpattern_matcher.py79 from torch._dispatch.python import enable_python_dispatcher
1830 with enable_python_dispatcher():
/aosp_15_r20/external/pytorch/test/functorch/
H A Dtest_vmap.py1141 with torch._dispatch.python.enable_python_dispatcher():