pytorch/torch/csrc/jit
PyTorch MergeBot 5413580f9e Revert "[JIT] Propagate profiled information to DifferentiableGraph outputs"
This reverts commit 1d2a6c2e94.

Reverted https://github.com/pytorch/pytorch/pull/78875 on behalf of https://github.com/davidberard98 due to Internal failures were bisected to this change
2022-06-12 00:14:08 +00:00
..
api Reland "[pytorch][PR] Support dataclasses in TorchScript" take 2 (#74353) (#74353) (#76771) 2022-06-07 21:44:55 +00:00
backends [coreml] Use special throw macro when encountering CoreML API errors (#77429) 2022-05-16 18:02:48 +00:00
codegen turn on -Werror=unused-function in our Bazel CPU build 2022-06-10 22:11:54 +00:00
cuda
docs
frontend Fix jit schema_matching ignoring self resulting in wrong operator schema 2022-06-09 19:36:06 +00:00
ir Retry "[JIT] parse prim::Constant[value=annotate()] and prim::Constant[value={0}]" 2022-05-13 15:12:07 +00:00
mobile turn on -Werror=unused-function in our Bazel CPU build 2022-06-10 22:11:54 +00:00
operator_upgraders Move other div variants to upgraders map 2022-05-16 22:32:15 +00:00
passes Revert "[JIT] Propagate profiled information to DifferentiableGraph outputs" 2022-06-12 00:14:08 +00:00
python turn on -Werror=unused-variable in our Bazel CPU build 2022-06-11 02:46:34 +00:00
runtime Simplify and optimize linalg.solve 2022-06-11 04:06:40 +00:00
serialization turn on -Werror=unused-function in our Bazel CPU build 2022-06-10 22:11:54 +00:00
tensorexpr Simplify and optimize linalg.solve 2022-06-11 04:06:40 +00:00
testing Reland "Make debug_pkl smaller by only emitting unique traces." (#73368) 2022-04-18 22:34:21 +00:00
jit_log.cpp Remove copies in jit_log.cpp (#67841) 2022-01-25 20:32:12 +00:00
jit_log.h [JIT] script & logging for extracting IR from logs (#72889) 2022-03-02 18:34:35 +00:00
jit_opt_limit.cpp
jit_opt_limit.h Remove WindowsTorchApiMacro.h in favor of Export.h (#69585) 2021-12-09 17:30:09 -08:00
JIT-AUTOCAST.md Add fp16/fp32 autocasting to JIT/TorchScript (#63939) 2021-10-27 12:11:36 -07:00
OVERVIEW.md aliasing fixes (#66977) 2021-11-09 18:33:37 -08:00
README.md
resource_guard.h

PyTorch JIT

This folder contains (most of) the C++ code for the PyTorch JIT, a language and compiler stack for executing PyTorch models portably and efficiently. To learn more about the JIT from a user perspective, please consult our reference documentation and tutorials.

A brief summary of the source tree:

  • OVERVIEW.md: High-level technical overview of the JIT.
  • frontend/: Taking PyTorch modules in Python and translating them into the JIT IR.
  • ir/: Core IR abstractions.
  • runtime/: Interpreter, graph execution, and JIT operators.
  • codegen/: Generating efficient, hardware-specific code for JIT subgraphs.
  • serialization/: Saving and loading modules.
  • api/: Any user-facing C++ or Python interfaces.
  • python/: Binding stuff into Python or accessing information from the Python environment.
  • testing/: Utilities and helpers for testing.
  • mobile/: Mobile-specific implementations of runtime components.
  • passes/: IR-to-IR passes, generally for optimization and lowering.
  • generated/: This folder is generated by the PyTorch build, and contains bindings for native PyTorch operators into the JIT.

Refer to each folder for more in-depth documentation.

Other relevant parts of the codebase not contained here:

  • aten/src/ATen/core: contains JIT code re-used by other elements of the runtime system (eager, mobile, etc.)