mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156449 Approved by: https://github.com/zou3519, https://github.com/jansel
34 lines
711 B
Markdown
34 lines
711 B
Markdown
```{eval-rst}
|
|
.. currentmodule:: torch.compiler
|
|
.. automodule:: torch.compiler
|
|
```
|
|
|
|
(torch.compiler_api)=
|
|
# torch.compiler API reference
|
|
|
|
For a quick overview of `torch.compiler`, see {ref}`torch.compiler_overview`.
|
|
|
|
```{eval-rst}
|
|
.. autosummary::
|
|
:toctree: generated
|
|
:nosignatures:
|
|
|
|
compile
|
|
reset
|
|
allow_in_graph
|
|
substitute_in_graph
|
|
assume_constant_result
|
|
list_backends
|
|
disable
|
|
set_stance
|
|
cudagraph_mark_step_begin
|
|
is_compiling
|
|
is_dynamo_compiling
|
|
is_exporting
|
|
skip_guard_on_inbuilt_nn_modules_unsafe
|
|
skip_guard_on_all_nn_modules_unsafe
|
|
keep_tensor_guards_unsafe
|
|
skip_guard_on_globals_unsafe
|
|
nested_compile_region
|
|
```
|