pytorch/torch/csrc/jit
Elias Ellison fe81faee5f Add more CPU tests (#47369)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47369

Test Plan: Imported from OSS

Reviewed By: ansley

Differential Revision: D24805251

Pulled By: eellison

fbshipit-source-id: f1a8210ffdc3cc88354cb4896652151d83a0345a
2020-11-12 11:13:47 -08:00
..
api [DI] Allow explicit taskLauncher for torchscript interpreter (#46865) 2020-11-04 17:07:55 -08:00
backends [JIT] Add selective backend lowering API (#43613) 2020-10-30 00:37:33 -07:00
codegen Force LLVM Compilation for CPU Tests (#46949) 2020-11-12 11:12:08 -08:00
docs [jit] update to serialization doc (#39025) 2020-06-05 17:49:08 -07:00
frontend Support extra files in _load_for_mobile (#47425) 2020-11-06 20:26:54 -08:00
ir [Pytorch][Annotation] Update inlined callstack with module instance info (#46729) 2020-11-03 15:19:02 -08:00
mobile Support extra files in _load_for_mobile (#47425) 2020-11-06 20:26:54 -08:00
passes [vulkan] Enable prepacked addmm/mm for linear layers (#47815) 2020-11-12 08:04:01 -08:00
python Add more CPU tests (#47369) 2020-11-12 11:13:47 -08:00
runtime [JIT] Optimize hot path in ProfilingGraphExecutorImpl::getPlanFor. (#47465) 2020-11-05 22:27:24 -08:00
serialization Properly serialize types that only appear at function input (#47775) 2020-11-11 15:27:00 -08:00
tensorexpr [TensorExpr][CPU] Fix bool -> int casting (#46951) 2020-11-12 11:13:44 -08:00
testing Fix check highlight in filecheck. (#42417) 2020-08-03 18:49:22 -07:00
jit_log.cpp [jit] Speed up saving in case of many classes (#44589) 2020-09-15 15:10:45 -07:00
jit_log.h [JIT] Update comment in jit_log.h. (#46301) 2020-10-13 23:42:28 -07:00
OVERVIEW.md Fix grammar and spelling errors (#46713) 2020-10-23 01:31:17 -07:00
README.md [jit] add top-level readme to csrc/jit (#33916) 2020-02-27 19:21:05 -08:00
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.)